Lighttpd + django on gentoo 10 seconds to answer

Posted by plaetzchen on Server Fault See other posts from Server Fault or by plaetzchen
Published on 2012-07-10T14:37:52Z Indexed on 2012/07/10 15:17 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I want to run a Django site on a lighttpd with fastcgi on a gentoo machine. Everytime I try to access the site I get a response after more or less exactly 10 seconds. Im using a socket to let lighttpd communicate with my Django site, but a tcp port doesn't help either. Could this be a lighttpd problem? I tried to both from a server in the internet as well as from localost, this is what lighttpd gives me in the error.log

2012-07-10 14:36:36: (response.c.300) -- splitting Request-URI 
2012-07-10 14:36:36: (response.c.301) Request-URI  :  / 
2012-07-10 14:36:36: (response.c.302) URI-scheme   :  http 
2012-07-10 14:36:36: (response.c.303) URI-authority:  owntube 
2012-07-10 14:36:36: (response.c.304) URI-path     :  / 
2012-07-10 14:36:36: (response.c.305) URI-query    :   
2012-07-10 14:36:36: (response.c.300) -- splitting Request-URI 
2012-07-10 14:36:36: (response.c.301) Request-URI  :  /owntube.fcgi/ 
2012-07-10 14:36:36: (response.c.302) URI-scheme   :  http 
2012-07-10 14:36:36: (response.c.303) URI-authority:  owntube 
2012-07-10 14:36:36: (response.c.304) URI-path     :  /owntube.fcgi/ 
2012-07-10 14:36:36: (response.c.305) URI-query    :   
2012-07-10 14:36:36: (response.c.349) -- sanatising URI 
2012-07-10 14:36:36: (response.c.350) URI-path     :  /owntube.fcgi/ 
2012-07-10 14:36:36: (mod_access.c.135) -- mod_access_uri_handler called 
2012-07-10 14:36:36: (mod_fastcgi.c.3632) handling it in mod_fastcgi 
2012-07-10 14:36:36: (response.c.470) -- before doc_root 
2012-07-10 14:36:36: (response.c.471) Doc-Root     : /var/www/owntube 
2012-07-10 14:36:36: (response.c.472) Rel-Path     : /owntube.fcgi 
2012-07-10 14:36:36: (response.c.473) Path         :  
2012-07-10 14:36:36: (response.c.521) -- after doc_root 
2012-07-10 14:36:36: (response.c.522) Doc-Root     : /var/www/owntube 
2012-07-10 14:36:36: (response.c.523) Rel-Path     : /owntube.fcgi 
2012-07-10 14:36:36: (response.c.524) Path         : /var/www/owntube/owntube.fcgi 
2012-07-10 14:36:36: (response.c.541) -- logical -> physical 
2012-07-10 14:36:36: (response.c.542) Doc-Root     : /var/www/owntube 
2012-07-10 14:36:36: (response.c.543) Rel-Path     : /owntube.fcgi 
2012-07-10 14:36:36: (response.c.544) Path         : /var/www/owntube/owntube.fcgi 

© Server Fault or respective owner

Related posts about python

Related posts about django