Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

cherokee + django on low memory vps

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


zodman at gmail

Dec 8, 2009, 5:11 PM

Post #1 of 2 (573 views)
Permalink
cherokee + django on low memory vps

im using cherokee on vpslik.com with a vps with 128mb of ram
with this config http://gist.github.com/252145

all perfect but i use cherokee-admin for django wizard an works
perfect using the command default

but im seen the python manage.py runfcgi file get out of vps ram

im tuning the command with:

python /var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.sock maxchildren=1 debug=true
outlog=/var/log/cherooke/out.log errlog=/var/log/cherokee/err.log
daemonize=false maxrequests=1 maxspare=1 minspare=1

but .. when i visit cherokee gime 503 Service Unavailable

and cherokee gime this:

Cherokee Web Server 0.99.31 (Dec 3 2009): Listening on port ALL:80, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, caching I/O, 3 threads, 680 connections per thread, standard
scheduling policy
PID 25774: launched '/bin/sh -c exec python
/var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.so
ck maxchildren=1 debug=true outlog=/var/log/cherooke/out.log
errlog=/var/log/cherokee/err.log daemonize=false maxrequests=
1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
PID 25774: exited re=1
PID 25775: launched '/bin/sh -c exec python
/var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.so
ck maxchildren=1 debug=true outlog=/var/log/cherooke/out.log
errlog=/var/log/cherokee/err.log daemonize=false maxrequests=
1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
PID 25775: exited re=1
PID 25778: launched '/bin/sh -c exec python
/var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.so
ck maxchildren=1 debug=true outlog=/var/log/cherooke/out.log
errlog=/var/log/cherokee/err.log daemonize=false maxrequests=
1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
PID 25778: exited re=1
PID 25779: launched '/bin/sh -c exec python
/var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.so
ck maxchildren=1 debug=true outlog=/var/log/cherooke/out.log
errlog=/var/log/cherokee/err.log daemonize=false maxrequests=
1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
PID 25779: exited re=1
PID 25793: launched '/bin/sh -c exec python
/var/www/zodyblog/manage.py runfcgi protocol=scgi
socket=/tmp/cherokee-source1.so
ck maxchildren=1 debug=true outlog=/var/log/cherooke/out.log
errlog=/var/log/cherokee/err.log daemonize=false maxrequests=
1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
PID 25793: exited re=1


Soooo im trying to find why exit( exist a way for cherokee catch the
output generated by runfcgi) and no seen the way for found why has an
exit.
im check the out.log and err.log and the files its no created... sooo
no seen the problem origins ..
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


alvaro at octality

Dec 9, 2009, 1:52 AM

Post #2 of 2 (545 views)
Permalink
Re: cherokee + django on low memory vps [In reply to]

On 09/12/2009, at 02:11, Andres Vargas - zodman wrote:

> Soooo im trying to find why exit( exist a way for cherokee catch the
> output generated by runfcgi) and no seen the way for found why has an
> exit.

The stderr of the FastCGI is logged in your virtual server errors log as long as it writes to a file or the standard error stream.

> PID 25793: launched '/bin/sh -c exec python /var/www/zodyblog/manage.py runfcgi protocol=scgi socket=/tmp/cherokee-source1.sock maxchildren=1 debug=true outlog=/var/log/cherooke/out.log errlog=/var/log/cherokee/err.log daemonize=false maxrequests=1 maxspare=1 minspare=1' with uid=0, gid=0, env=inherited
> PID 25793: exited re=1

Looks like the problem is that maxrequests=1 parameter that you added.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.