In my case, the rss is pretty OK (a 4 GB machine, 12 workers). But address
space is high -
{address space usage: 284536832 bytes/271MB} {rss usage: 22073344
bytes/21MB}


On Thu, Nov 28, 2013 at 10:00 AM, Roberto De Ioris <robe...@unbit.it> wrote:

>
> > 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.
>
>
> Unless you enable caching or queueing, or other shared memory features,
> the memory usage of uWSGI itself is between 800k and 1.8 megs. All of the
> other memory is related to the language vm (python) and your app.
>
>
> What you need to check if the memory usage grows after each request. In
> such a case you a have a leak to spot in your app.
> --
> Roberto De Ioris
> http://unbit.it
>
> --
> 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
> web2py+unsubscr...@googlegroups.com.
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to