[SR-Users] Memory Question
Daniel-Constantin Mierla
miconda at gmail.com
Mon Mar 19 09:28:11 CET 2012
Hello,
On 3/15/12 2:17 PM, Klaus Darilion wrote:
> Hi!
>
> Started kamailio with "-m 100 -M 30". Thus I would suspect that every
> process needs 30MB, and one of the processes needs 30+100Mb as it
> allocates the shared memory. The further would conclude that the
> memory will be allocated only once during startup.
>
> Can this be somehow verified? Normal "ps" output shows that every
> process needs ~130MB virtual memory, but this is probably not what I
> am looking for.
I am not familiar with what exactly the virtual memory represents in ps,
but could be the memory size a process can access, which is right (each
process can access 30M private, plus the 100M shared).
Cheers,
Daniel
>
> Thanks
> Klaus
>
>
> # ps aux
> PID %CPU %MEM VSZ RSS TTY STAT COMMAND
> 846 0.2 0.8 139732 4112 ? S kamailio -m 100 -M 30
> 847 0.0 0.2 139732 1188 ? S kamailio -m 100 -M 30
> 848 0.0 0.2 139732 1184 ? S kamailio -m 100 -M 30
> 849 0.0 0.2 139732 1184 ? S kamailio -m 100 -M 30
> 850 0.0 0.2 139732 1184 ? S kamailio -m 100 -M 30
> 851 0.0 0.2 139732 1220 ? S kamailio -m 100 -M 30
> 852 0.0 0.2 139732 1208 ? S kamailio -m 100 -M 30
> 853 0.0 0.2 139736 1032 ? S kamailio -m 100 -M 30
> 854 0.0 0.2 139732 1176 ? S kamailio -m 100 -M 30
> 855 0.0 0.2 139732 1392 ? S kamailio -m 100 -M 30
> 856 0.0 0.2 139732 1392 ? S kamailio -m 100 -M 30
> 857 0.0 0.2 139732 1392 ? S kamailio -m 100 -M 30
> 858 0.0 0.2 139732 1392 ? S kamailio -m 100 -M 30
> 859 0.0 0.2 139732 1396 ? S kamailio -m 100 -M 30
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/
More information about the sr-users
mailing list