OK. My real doubt is more about how uwsgi works. It scanned through many files and probably loaded quite a bit of those in memory. When a new process is spawned, will this (buffer) be passed to that? If so, it is better to increase the limit. On the other than hand, if it is some bootstrap process that is taking memory and other processes that come along won't take a lot of memory, I would rather let this die and spawn a new one.
On Thu, Nov 28, 2013 at 12:55 AM, Niphlod <[email protected]> wrote: > as long as you indeed want to relaunch any process going upper that limit > (that, as every other "template" is a rule of thumb) yes. Alter it if you > feel that your app needs more memory > > > On Wednesday, November 27, 2013 1:04:23 PM UTC+1, Jayadevan M wrote: >> >> Hi, >> I used >> https://github.com/web2py/web2py/blob/master/scripts/ >> setup-web2py-nginx-uwsgi-centos64.sh >> to set up our environment. Probably because of the setting >> >> reload-on-as = 256, >> I see many entries like >> "{address space usage: 284729344 bytes/271MB} {rss usage: 22147072 >> bytes/21MB} [pid: 26452|app: 0|req: 1/3] 198.98.51.23 () {38 vars in 516 >> bytes} [Wed Nov 27 17:30:45 2013] GET /fastenv => generated 16005 bytes in >> 415 msecs (HTTP/1.1 404) 7 headers in 343 bytes (1 switches on core 0) >> ...The work of process 26452 is done. Seeya! >> worker 14 killed successfully (pid: 26452) >> Respawned uWSGI worker 14 (new pid: 26575)" >> Such 'respawning' - is this normal/OK? >> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/4-bmQ6_iWQQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

