[SR-Users] No private memory left

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 7 12:23:28 CEST 2017


How do you start kamailio? Debian 8 is using systemd by default,
overwriting the init.d.

Cheers,
Daniel


On 07.06.17 12:11, Vuk Radovanovic wrote:
> Its debian 8.8
>
> Regards,
> Vuk
>
>
>
>
> -------- Original message --------
> Sender: Daniel-Constantin Mierla <miconda at gmail.com>
> Time: Wed 6/7 12:07
> To: Vuk Radovanovic <vuk at gripenpro.com>,"Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org>
>  Subject: Re: [SR-Users] No private memory left
>
>> Hello,
>>
>> what is your operating system?
>>
>> Cheers,
>> Daniel
>>
>>
>> On 07.06.17 11:26, Vuk Radovanovic wrote:
>>> Hi Daniel,
>>>
>>> So the ps auxw is telling me the starting options for  shm and pkg
>>> memory (-m -M) and options for user and group are not defined when
>>> starting via init script.
>>>
>>> Ive checked the init script in case i made an error when changing the
>>> memory directive but its  fine, as provided in the GIT package.
>>>
>>> I am running kamailio 5.0 from git.
>>>
>>> Userblacklist trying to load whole db at once sounds scary, my main
>>> goal was implementing a redis whitelist with around 5mil numbers, now
>>> I am wondering is it even feasible ?
>>>
>>> root      3181  0.1  0.3 222300 12216 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3183  0.0  0.0 222300  3856 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3184  0.0  0.0 222300  3732 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3185  0.0  0.0 222300  3732 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3186  0.0  0.0 222300  3732 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3187  0.0  0.0 222300  3732 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3188  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3189  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3190  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3191  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3192  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3195  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3196  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3199  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3201  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3203  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3204  0.0  0.0 222300  3740 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3206  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3207  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3209  0.0  0.0 222300  3736 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3211  0.0  0.0 222304  1620 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3213  0.0  0.0 222300  1620 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3214  0.0  0.1 222300  5524 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3215  0.0  0.1 222300  5520 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3217  0.0  0.1 222300  5520 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3220  0.0  0.1 222300  5520 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.cfg
>>> root      3221  0.0  0.1 222300  5520 ?        S    11:18   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
>>> /usr/local/etc/kamailio//kamailio.c

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com




More information about the sr-users mailing list