> Hi,
> Digging into why my workers keep ding, I see that the address space is
> crossing the threshold. When does that happen?
> writev(2, [{"{address space usage: 277671936 bytes/264MB} {rss usage:
> 24555520 bytes/23MB} ", 78},
> Regards,
> Jayadevan
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

It is a pretty low-level concept:

http://en.wikipedia.org/wiki/Virtual_memory

you could see it as the "view" your process has of the memory (that does
not map 1:1 to physical memory)

for example when you create a uWSGI cache, it is allocated in the master,
but shared between all of the workers. The master will account RSS for it
while workers will have it in the address space (i have over-simplified
but should clarify things)

The same happens for shared libraries, mmapped devices and so on

uWSGI allows you to limit it as it is (well, was) a common pattern for
ISPs for avoiding users to exhaust system resources (as limiting RSS is
not supported on the vast majority of OS)

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to