![]() |
Auto Start + Django
Basically, I'd like to get Django working with LiteSpeed and I'm willing to pay for someone's help. I've already got Django working with LiteSpeed with the following external application configuration:
Code:
Name: DjangoThis is where you come in, I'd like to use auto start. After finding this post I added/changed the following: Code:
Max Connections: 20ExtConn timed out while processing. If someone can help me with this problem today I'll donate $25 USD to their charity of choice or buy them something worth ~$25 USD from their Amazon wish list. :) |
Maybe manage.py does not work well, you need to create a file like below and start your app with that file, without any command line parameters.
Code:
#!/usr/bin/python |
I just tried that and it doesn't work and the same error is being logged. I've also tried this:
Code:
#!/usr/local/bin/python2.4 |
Is there anything in lsws/logs/error.log or lsws/logs/stderr.log, maybe you need to set some extra environment variables to make django happy.
|
Unfortunately there isn't.
Debug logging is enabled and the control panel and error.log both show quite a few of these: Quote:
Edit: I'm not sure if it's relevant but the UDS does get created. |
UDS socket is created by the server.
Is the python process running, maybe it dies immediately. One way to trace it down is to use "strace" to trace the djyango process, command is like Code:
strace -o strace.log <orignal FCGI command> |
Good catch, thanks! :D
Quote:
Care to pick a charity or post the link to your Amazon wish list? :) |
Thanks! It will be a better reward if you can help us spreading the words in the django community. :D
Also, if you do not mind, please help us updating the dyango wiki entry http://www.litespeedtech.com/support...go_fcgi_python Have fun! :) |
Benchmarks (Apache/mod_python and LiteSpeed/FastCGI.) and a new wiki entry coming soon. :)
|
That's great! Thanks! :D
|
| All times are GMT -7. The time now is 03:30 AM. |