Maximum number of threads
kangell at alertra.com
Mon Oct 4 07:52:45 CEST 2004
Just to finish off this thread...
You can set the constant in the header file I mentioned, but you can
also just do (on Linux):
ulimit -s <stacksize>
to set the stack size that will be used. I can control how many threads
my Python apps can create by setting this to different values. You'll
probably also want to set the number of files (ulimit -n) to something
different if you are creating a socket in each of those threads.
Get notified anytime your website goes down!
fingerprint: DD7E E88D 7F50 2A1E 229D 836A DB5B A751 9004 F4C0
More information about the Python-list