Hi everybody,

I'm hosting my blog on asmallorange.com, and I've been having problems with
my blog from the beginning, it takes too much to load the page and when
access to my account using ssh I get that too many processes are
running. I'm using fastcgi.

I found that my error log is plagued with messages like this (wrapped
by me)

[Mon Feb  9 20:47:43 2009] [warn] FastCGI: (dynamic) 
     server "/home/mauricio/public_html/engine.fcgi" 
     (uid 32282, gid 32284) restarted (pid 13006)
[Mon Feb  9 20:47:40 2009] [warn] FastCGI: (dynamic) 
     server "/home/mauricio/public_html/engine.fcgi" 
     (pid 12520) terminated by calling exit with status '0'
[Mon Feb  9 20:47:39 2009] [warn] FastCGI: 
     (dynamic) server "/home/mauricio/public_html/engine.fcgi" 
     (pid 12520) termination signaled
[Mon Feb  9 20:45:02 2009] [warn] FastCGI: 
     (dynamic) server "/home/mauricio/public_html/engine.fcgi" 
     (pid 11933) terminated by calling exit with status '0'
[Mon Feb  9 20:45:02 2009] [warn] FastCGI: 
     (dynamic) server "/home/mauricio/public_html/engine.fcgi" 
     (uid 32282, gid 32284) restarted (pid 12520)
[Mon Feb  9 20:45:02 2009] [warn] FastCGI: 
     restarting old server "/home/mauricio/public_html/engine.fcgi" 
     processes, newer version found

More than 300 of this messages just today! So there is something that i
must be doing wrong to have this processes restarting and terminating so
often.

Any ideas what is causing this??

here is my script

,---- engine.fcgi
| #!/bin/env python
| import sys, os
| 
| 
| sys.path += ['/home/mauricio/local/lib/python2.4/site-packages',
|            
'/home/mauricio/local/lib/python2.4/site-packages/dateutil-1.2-py2.4.egg',
|            
'/home/mauricio/local/lib/python2.4/site-packages/Pygments-0.10-py2.4.egg',
|              '/home/mauricio/django-projects',
|              '/home/mauricio/django-projects/website/']
| 
| # Switch to the directory of your project. (Optional.)
| os.chdir("/home/mauricio/django-projects/website/")
| 
| # Set the DJANGO_SETTINGS_MODULE environment variable.
| os.environ['DJANGO_SETTINGS_MODULE'] = "website.settings"
| 
| 
| from django.core.servers.fastcgi import runfastcgi
| runfastcgi(method="threaded", daemonize="false")
`----

and my .htaccess

,---- .htaccess
| AddHandler fastcgi-script .fcgi
| RewriteEngine On
| RewriteCond %{REQUEST_FILENAME} !-f
| RewriteRule ^(.*)$ engine.fcgi/$1 [QSA,L]
`----

-- 

Rodrigo Lazo (rlazo)


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to