On Dec 6, 3:18 am, "Uros Trebec" <[EMAIL PROTECTED]> wrote:
I am sorry to report that this method does NOT work on my
machine/account. I've tried different users (on the same machine) and
it does not work. Symptoms are the same.

Hey,

I've run into next-level 500 Internal Server Error problems on
Dreamhost. This time they seemed to be triggered by switch from kernel
2.4 to 2.6. I have finally figured out that Python can't start a new
thread:


Traceback (most recent call last):
File "/home/myusername/mydomain.com/python_test.fcgi", line 17, in ?
WSGIServer(test_app).run()
File "/home/myusername/fcgi.py", line 1101, in run
thread.start_new_thread(conn.run, ())
thread.error: can't start new thread

My solution was the same as Grimboy's: switch threaded mode to prefork
mode:
http://grimboy.co.uk/blawg/django-on-dreamhost-problem/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to