Supervisor: minfds docs: child processes?

Created on 23 Aug 2016  路  4Comments  路  Source: Supervisor/supervisor

Having read the docs for the minfds setting, I'm unsure if the FD limit is applied to child processes. Is it?

I'd be happy to attempt to update the docs on this :).

question

Most helpful comment

To clarify: I'm not sure if it's an issue or not because this is the first time this question has been asked. It certainly wouldn't hurt to add more clarification to the docs. You had offered above to help, and a PR would be welcome. Thanks.

All 4 comments

supervisord calls setrlimit once when it starts (from here using this). It does not call setrlimit again before fork/exec, so the limits will be inherited by the subprocess.

Thank you for the clarification. Do you agree with me that the docs are unclear on this point and, in this regard, could be improved?

Docs are in configuration.rst, feel free to submit PRs.

To clarify: I'm not sure if it's an issue or not because this is the first time this question has been asked. It certainly wouldn't hurt to add more clarification to the docs. You had offered above to help, and a PR would be welcome. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guettli picture guettli  路  96Comments

ghost picture ghost  路  25Comments

srwilson picture srwilson  路  25Comments

jvanasco picture jvanasco  路  46Comments

mkotsalainen picture mkotsalainen  路  28Comments