[web2py] Re: High memory usage in webfaction

2012-01-25 Thread Massimo Di Pierro
dropped from 71 mb from 120 mb

which of the two numbers has a typo? :-)

On Jan 25, 12:34 pm, Joseph Jude ceph...@gmail.com wrote:
 oh my god.  The memory usage dropped from 71 mb from 120 mb. webfaction
 should use this as their default for installing web2py.

 I can't thank you enough.

 Just one more question:
 1. I'm assuming there is no need to restart uwsgi; it automatically does I
 suppose?

 Thank you,
 Joseph


[web2py] Re: High memory usage in webfaction

2012-01-25 Thread Joseph Jude
sorry it is midnight here and i am too relieved that it is solved and too 
excited that now i can get back to 'real' development.

dropped to 71 mb from 120 mb


Re: [web2py] Re: High memory usage in webfaction

2012-01-25 Thread Vasile Ermicioi

 I'm assuming there is no need to restart uwsgi; it automatically does I
 suppose?


 it is started with this command
uwsgi --http 127.0.0.1:your_custom_port --pythonpath
/home/your_user /web2py --module wsgihandler -d
/home/your_user/tmp/uwsgi.log -t 20 -r --no-orphans -M -p 2 --touch-reload
/home/your_user/tmp/uwsgireload.txt --evil-reload-on-rss 100

it is running as a daemon, which means it is still running after you close
ssh window (putty in my case)


Re: [web2py] Re: High memory usage in webfaction

2012-01-25 Thread Joseph Jude
can I rotate log (uwsgi.log) with this command? I don't want the log file 
to go on increasing in size

Re: [web2py] Re: High memory usage in webfaction

2012-01-25 Thread Roberto De Ioris

 can I rotate log (uwsgi.log) with this command? I don't want the log file
 to go on increasing in size


log-maxsize = n

where n is the maximum size in bytes

-- 
Roberto De Ioris
http://unbit.it