Limited memory, thread.error: can't start new thread

Bug #976375 reported by Cody Moniz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rocket Web Server
New
Undecided
Unassigned

Bug Description

On limited memory systems (eg VPS with 96MB memory), rocket cannot start with the below error:

Traceback (most recent call last):
  File "test.py", line 5, in <module>
    server.start()
  File "/home/unyo/Rocket-1.2.4/rocket/main.py", line 114, in start
    self._threadpool.start()
  File "/home/unyo/Rocket-1.2.4/rocket/threadpool.py", line 65, in start
    self.grow(self.min_threads)
  File "/home/unyo/Rocket-1.2.4/rocket/threadpool.py", line 135, in grow
    worker.start()
  File "/usr/lib/python2.7/threading.py", line 495, in start
    _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers