sufrank wrote:
> I am doing stress test with python using threading, I have encountered
> the can't start new thread problem when running the script.
> The system is Linux, python version 2.4
http://stackoverflow.com/questions/344203/maximum-number-of-threads-per-process-in-linux
I am doing stress test with python using threading, I have encountered
the can't start new thread problem when running the script.
The system is Linux, python version 2.4
Traceback (most recent call last):
File "./imap_test.py", line 38, in ?
current.start()
File &quo
"jdonnell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using Python 2.2.3 on a custom vps version of FC1.
I am pretty sure there have been thread-related bug fixes since then.
Trying the latest release (even if you can't use it for production) might
give you some idea of
>Maybe some other VPS(s) under the host OS have spun enough processes
>or threads to make the host OS exhaust some limit.
I'm not familiar with any hard limits in linux. Is there a config file
with these settings?
--
http://mail.python.org/mailman/listinfo/python-list
"jdonnell" <[EMAIL PROTECTED]> writes:
> This script has worked without a problem for months, but I did make
> some changes recently. I don't see how those changes would cause
> this error though. It's also on a VPS so it's possible that they
> changed something in the OS. Does anyone have any sugg
", line 217, in main
abThread.start()
File "/usr/lib/python2.2/threading.py", line 396, in
start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
I'm at a loss on this one. I have a multithreaded script that gets
'thread.error: can't start
Title: Can't start new thread
I am trying to understand what is causing python to raise this error when I create a number of threads:
thread.error: can't start new thread
I have been told that it is due to the default thread size (1 MB), but I have recompiled python defining an
jdonnell wrote:
> I'm at a loss on this one. I have a multithreaded script that gets
> 'thread.error: can't start new thread' errors seemingly randomly. I
> just got it right after starting the script when it was trying to
> create the 5th thread. Usually the sc
I'm at a loss on this one. I have a multithreaded script that gets
'thread.error: can't start new thread' errors seemingly randomly. I
just got it right after starting the script when it was trying to
create the 5th thread. Usually the script will run for a while before
thro