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

autonose failing with "Too many open files" #20

Open
cro opened this issue Aug 19, 2011 · 2 comments
Open

autonose failing with "Too many open files" #20

cro opened this issue Aug 19, 2011 · 2 comments

Comments

@cro
Copy link

cro commented Aug 19, 2011

I used autonose successfully for the better part of a day, and now when I start it up it runs the first set of tests and then fails with "Too many open files." I've tried resetting the allowed number of open files by adding

resource.setrlimit(resource.RLIMIT_NOFILE, (1000, -1))

to the autonose startup script, but it hasn't helped. Mac OS 10.7.1 (Lion), stock Python 2.7.1 in a virtualenv.

My kern.maxfiles is set to 12288. 'limit' in zsh says the number of descriptors is unlimited.

@ghost
Copy link

ghost commented Aug 26, 2011

Same for me, on 10.7.1 with Python 2.5.6 in virtualenv

@timbertson
Copy link
Owner

autonose uses watchdog for the file watching stuff: https://github.com/gorakhargosh/watchdog. I'm afraid I don't use a mac, so can't reproduce. I presume "ulimit -n 1024" (from the watchdog readme) affects the same settingas the rlimit command in the initial report?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants