Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS file descriptor limits impede large dataset processing #24

Open
Nightsphere opened this issue Jun 17, 2021 · 0 comments
Open

OS file descriptor limits impede large dataset processing #24

Nightsphere opened this issue Jun 17, 2021 · 0 comments
Assignees
Labels
bug high Priority: next release if possible M Size: 2-3 days

Comments

@Nightsphere
Copy link
Collaborator

When trying to run the SNODASDaily_Interactive.py file over a year and a half range of dates, a critical error occurs. The error states "Could not create AF_NETLINK socket (Too many open files)", and might have something to do with the limit of file descriptors the computer is allowed to have open at one time. This can be found by running the ulimit -n command. This error occurs roughly 308 days, or 44 weeks after the starting date.

The default is usually 1024, though it can be increased to a much higher number if desired. For SNODAS Tools purposes, There will be a limit to the range of dates a user can query, which will be set to one year at a time to resolve this issue. I will create a bash script that will attempt to run each year separately for the entire dataset, starting at 2003 and ending at the present day.

Even though this code worked before (and is still currently working), it's not dealing with as large datasets, so I can't say for certain that there's an issue with the Python conversion code I'm changing right now, or if this was always there in the code, but I'll keep an eye on anything that looks off/wrong in the code as I keep working.

@Nightsphere Nightsphere added bug high Priority: next release if possible M Size: 2-3 days labels Jun 17, 2021
@Nightsphere Nightsphere self-assigned this Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug high Priority: next release if possible M Size: 2-3 days
Projects
None yet
Development

No branches or pull requests

1 participant