No private memory left

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

No private memory left

Vuk Radovanovic
Hello,


I am having trouble with userblacklist module. I am using mysql db, when
globalblacklist table is empty or has couple of records kamailio loads fine.

When I populate the table with cca 50k entries I get an error no private
memory error as pasted below. I have edited both the init.d script and
/etc/default cfg file to to have 1GB pkg and 2 GB SHM memory with no change.

Init script change:

SHM_MEMORY=2048
PKG_MEMORY=1024

Init script output.

Jun 07 01:03:45 km systemd[1]: Starting Kamailio SIP Server...
Jun 07 01:03:45 km kamctl[1377]: ** INFO: Starting Kamailio :
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
[db_row.c:114]: db_allocate_row(): no private memory left
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
[km_row.c:57]: db_mysql_convert_row(): could not allocate row
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
[km_res.c:188]: db_mysql_convert_rows(): error while converting row #41249
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
[km_res.c:217]: db_mysql_convert_result(): error while converting rows
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
[km_dbase.c:261]: db_mysql_store_result(): error while converting result
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
[db_query.c:139]: db_do_query_internal(): error while storing result
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: userblacklist
[db.c:129]: db_reload_source(): error while executing query on db table
'globalblacklist'
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: userblacklist
[userblacklist.c:610]: reload_sources(): cannot reload source from
'globalblacklist'
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
[core/sr_module.c:923]: init_mod_child(): Error while initializing
module userblacklist (/usr/local/lib64/kamailio/modules/userblacklist.so)
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
[core/pt.c:330]: fork_process(): init_child failed for process 1, pid
1405, "udp receiver child=0 sock=127.0.0.1:5060"
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: CRITICAL: <core>
[main.c:1606]: main_loop(): Cannot fork
Jun 07 01:03:46 km /usr/local/sbin/kamailio[1403]: ALERT: <core>
[main.c:741]: handle_sigs(): child process 1405 exited normally, status=255
Jun 07 01:03:48 km kamctl[1377]: ** ERROR: PID file
/var/run/kamailio.pid does not exist -- Kamailio start failed
Jun 07 01:03:48 km systemd[1]: kamailio.service: control process exited,
code=exited status=1
Jun 07 01:03:48 km systemd[1]: Failed to start Kamailio SIP Server.
Jun 07 01:03:48 km systemd[1]: Unit kamailio.service entered failed state.


Regards,

Vuk


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
Hello,

can you give the output of:

ps auxw | grep kamailio

from terminal when kamailio is running?

Apparently the userblacklist doesn't use partitioned fetch rows, trying
to load the entire db result at once, but with enough pkg, it should get
started.

What version of kamailio do you run?

Cheers,
Daniel

On 07.06.17 01:11, Vuk Radovanovic wrote:

> Hello,
>
>
> I am having trouble with userblacklist module. I am using mysql db,
> when globalblacklist table is empty or has couple of records kamailio
> loads fine.
>
> When I populate the table with cca 50k entries I get an error no
> private memory error as pasted below. I have edited both the init.d
> script and /etc/default cfg file to to have 1GB pkg and 2 GB SHM
> memory with no change.
>
> Init script change:
>
> SHM_MEMORY=2048
> PKG_MEMORY=1024
>
> Init script output.
>
> Jun 07 01:03:45 km systemd[1]: Starting Kamailio SIP Server...
> Jun 07 01:03:45 km kamctl[1377]: ** INFO: Starting Kamailio :
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
> [db_row.c:114]: db_allocate_row(): no private memory left
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
> [km_row.c:57]: db_mysql_convert_row(): could not allocate row
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
> [km_res.c:188]: db_mysql_convert_rows(): error while converting row
> #41249
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
> [km_res.c:217]: db_mysql_convert_result(): error while converting rows
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
> [km_dbase.c:261]: db_mysql_store_result(): error while converting result
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
> [db_query.c:139]: db_do_query_internal(): error while storing result
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
> userblacklist [db.c:129]: db_reload_source(): error while executing
> query on db table 'globalblacklist'
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
> userblacklist [userblacklist.c:610]: reload_sources(): cannot reload
> source from 'globalblacklist'
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
> [core/sr_module.c:923]: init_mod_child(): Error while initializing
> module userblacklist (/usr/local/lib64/kamailio/modules/userblacklist.so)
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
> [core/pt.c:330]: fork_process(): init_child failed for process 1, pid
> 1405, "udp receiver child=0 sock=127.0.0.1:5060"
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: CRITICAL: <core>
> [main.c:1606]: main_loop(): Cannot fork
> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1403]: ALERT: <core>
> [main.c:741]: handle_sigs(): child process 1405 exited normally,
> status=255
> Jun 07 01:03:48 km kamctl[1377]: ** ERROR: PID file
> /var/run/kamailio.pid does not exist -- Kamailio start failed
> Jun 07 01:03:48 km systemd[1]: kamailio.service: control process
> exited, code=exited status=1
> Jun 07 01:03:48 km systemd[1]: Failed to start Kamailio SIP Server.
> Jun 07 01:03:48 km systemd[1]: Unit kamailio.service entered failed
> state.
>
>
> Regards,
>
> Vuk
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [hidden email]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Vuk Radovanovic
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.cfg
root      3223  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      3226  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      3227  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      3228  0.0  0.1 222300  4448 ?        S    11:18   0:00
/usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
/usr/local/etc/kamailio//kamailio.cfg
root      3252  0.0  0.0  12732  2112 pts/0    S+   11:18   0:00 grep
kamailio


Regards,
Vuk
On 6/7/2017 10:51 AM, Daniel-Constantin Mierla wrote:

> Hello,
>
> can you give the output of:
>
> ps auxw | grep kamailio
>
> from terminal when kamailio is running?
>
> Apparently the userblacklist doesn't use partitioned fetch rows, trying
> to load the entire db result at once, but with enough pkg, it should get
> started.
>
> What version of kamailio do you run?
>
> Cheers,
> Daniel
>
> On 07.06.17 01:11, Vuk Radovanovic wrote:
>> Hello,
>>
>>
>> I am having trouble with userblacklist module. I am using mysql db,
>> when globalblacklist table is empty or has couple of records kamailio
>> loads fine.
>>
>> When I populate the table with cca 50k entries I get an error no
>> private memory error as pasted below. I have edited both the init.d
>> script and /etc/default cfg file to to have 1GB pkg and 2 GB SHM
>> memory with no change.
>>
>> Init script change:
>>
>> SHM_MEMORY=2048
>> PKG_MEMORY=1024
>>
>> Init script output.
>>
>> Jun 07 01:03:45 km systemd[1]: Starting Kamailio SIP Server...
>> Jun 07 01:03:45 km kamctl[1377]: ** INFO: Starting Kamailio :
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>> [db_row.c:114]: db_allocate_row(): no private memory left
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>> [km_row.c:57]: db_mysql_convert_row(): could not allocate row
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>> [km_res.c:188]: db_mysql_convert_rows(): error while converting row
>> #41249
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>> [km_res.c:217]: db_mysql_convert_result(): error while converting rows
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>> [km_dbase.c:261]: db_mysql_store_result(): error while converting result
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>> [db_query.c:139]: db_do_query_internal(): error while storing result
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
>> userblacklist [db.c:129]: db_reload_source(): error while executing
>> query on db table 'globalblacklist'
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
>> userblacklist [userblacklist.c:610]: reload_sources(): cannot reload
>> source from 'globalblacklist'
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>> [core/sr_module.c:923]: init_mod_child(): Error while initializing
>> module userblacklist (/usr/local/lib64/kamailio/modules/userblacklist.so)
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>> [core/pt.c:330]: fork_process(): init_child failed for process 1, pid
>> 1405, "udp receiver child=0 sock=127.0.0.1:5060"
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: CRITICAL: <core>
>> [main.c:1606]: main_loop(): Cannot fork
>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1403]: ALERT: <core>
>> [main.c:741]: handle_sigs(): child process 1405 exited normally,
>> status=255
>> Jun 07 01:03:48 km kamctl[1377]: ** ERROR: PID file
>> /var/run/kamailio.pid does not exist -- Kamailio start failed
>> Jun 07 01:03:48 km systemd[1]: kamailio.service: control process
>> exited, code=exited status=1
>> Jun 07 01:03:48 km systemd[1]: Failed to start Kamailio SIP Server.
>> Jun 07 01:03:48 km systemd[1]: Unit kamailio.service entered failed
>> state.
>>
>>
>> Regards,
>>
>> Vuk
>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> [hidden email]
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
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.cfg
> root      3223  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      3226  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      3227  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      3228  0.0  0.1 222300  4448 ?        S    11:18   0:00
> /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f
> /usr/local/etc/kamailio//kamailio.cfg
> root      3252  0.0  0.0  12732  2112 pts/0    S+   11:18   0:00 grep
> kamailio
>
>
> Regards,
> Vuk
> On 6/7/2017 10:51 AM, Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> can you give the output of:
>>
>> ps auxw | grep kamailio
>>
>> from terminal when kamailio is running?
>>
>> Apparently the userblacklist doesn't use partitioned fetch rows, trying
>> to load the entire db result at once, but with enough pkg, it should get
>> started.
>>
>> What version of kamailio do you run?
>>
>> Cheers,
>> Daniel
>>
>> On 07.06.17 01:11, Vuk Radovanovic wrote:
>>> Hello,
>>>
>>>
>>> I am having trouble with userblacklist module. I am using mysql db,
>>> when globalblacklist table is empty or has couple of records kamailio
>>> loads fine.
>>>
>>> When I populate the table with cca 50k entries I get an error no
>>> private memory error as pasted below. I have edited both the init.d
>>> script and /etc/default cfg file to to have 1GB pkg and 2 GB SHM
>>> memory with no change.
>>>
>>> Init script change:
>>>
>>> SHM_MEMORY=2048
>>> PKG_MEMORY=1024
>>>
>>> Init script output.
>>>
>>> Jun 07 01:03:45 km systemd[1]: Starting Kamailio SIP Server...
>>> Jun 07 01:03:45 km kamctl[1377]: ** INFO: Starting Kamailio :
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>>> [db_row.c:114]: db_allocate_row(): no private memory left
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>>> [km_row.c:57]: db_mysql_convert_row(): could not allocate row
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>>> [km_res.c:188]: db_mysql_convert_rows(): error while converting row
>>> #41249
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>>> [km_res.c:217]: db_mysql_convert_result(): error while converting rows
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: db_mysql
>>> [km_dbase.c:261]: db_mysql_store_result(): error while converting
>>> result
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>>> [db_query.c:139]: db_do_query_internal(): error while storing result
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
>>> userblacklist [db.c:129]: db_reload_source(): error while executing
>>> query on db table 'globalblacklist'
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR:
>>> userblacklist [userblacklist.c:610]: reload_sources(): cannot reload
>>> source from 'globalblacklist'
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>>> [core/sr_module.c:923]: init_mod_child(): Error while initializing
>>> module userblacklist
>>> (/usr/local/lib64/kamailio/modules/userblacklist.so)
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: ERROR: <core>
>>> [core/pt.c:330]: fork_process(): init_child failed for process 1, pid
>>> 1405, "udp receiver child=0 sock=127.0.0.1:5060"
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1405]: CRITICAL: <core>
>>> [main.c:1606]: main_loop(): Cannot fork
>>> Jun 07 01:03:46 km /usr/local/sbin/kamailio[1403]: ALERT: <core>
>>> [main.c:741]: handle_sigs(): child process 1405 exited normally,
>>> status=255
>>> Jun 07 01:03:48 km kamctl[1377]: ** ERROR: PID file
>>> /var/run/kamailio.pid does not exist -- Kamailio start failed
>>> Jun 07 01:03:48 km systemd[1]: kamailio.service: control process
>>> exited, code=exited status=1
>>> Jun 07 01:03:48 km systemd[1]: Failed to start Kamailio SIP Server.
>>> Jun 07 01:03:48 km systemd[1]: Unit kamailio.service entered failed
>>> state.
>>>
>>>
>>> Regards,
>>>
>>> Vuk
>>>
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> [hidden email]
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>

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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Vuk Radovanovic
In reply to this post by Vuk Radovanovic
Its debian 8.8

Regards,
Vuk



-------- Original message --------
Sender: Daniel-Constantin Mierla <[hidden email]>
Time: Wed 6/7 12:07
To: Vuk Radovanovic <[hidden email]>,"Kamailio (SER) - Users Mailing List" <[hidden email]>
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
_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
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 <[hidden email]>
> Time: Wed 6/7 12:07
> To: Vuk Radovanovic <[hidden email]>,"Kamailio (SER) - Users Mailing List" <[hidden email]>
>  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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Vuk Radovanovic
Ok i tried with systemctl wit startup script:

[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=syslog.target network.target

[Service]
Type=forking
Environment='PIDFILE=/var/run/kamailio/kamailio.pid'
Environment='CFGFILE=/usr/local/etc/kamailio//kamailio.cfg'
Environment='SHM_MEMORY=1024'
Environment='PKG_MEMORY=512'
Environment='USER=kamailio'
Environment='GROUP=kamailio'
EnvironmentFile=/etc/default/kamailio
PIDFile=$PIDFILE
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P $PIDFILE -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
ExecStopPost=/bin/rm -f $PIDFILE
Restart=on-abort
[Install]
WantedBy=multi-user.target

Sadly the result is the same

root      3653  0.0  0.2 222300 12080 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3655  0.0  0.0 222300  3932 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3656  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3657  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3658  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3659  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3660  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg

When I run
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio

Listening on
             udp: 127.0.0.1:5060
             udp: 217.20.113.138:5060
             tcp: 127.0.0.1:5060
             tcp: 123.123.123.123:5060
Aliases:
             tcp: km:5060
             tcp: km.domain.com:5060
             tcp: localhost:5060
             udp: km:5060
             udp: km.domain.com:5060
             udp: localhost:5060

And the process dies instantly.

I tried lowering the PKG memory directives in both systemd and init script, no change.

Regards,
Vuk

On 6/7/2017 12:23 PM, Daniel-Constantin Mierla wrote:
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 [hidden email]
Time: Wed 6/7 12:07
To: Vuk Radovanovic [hidden email],"Kamailio (SER) - Users Mailing List" [hidden email]
 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

    


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6

Run the next command:

/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio -E -dd

and send the output from the terminal here.

Cheers,
Daniel


On 07.06.17 13:30, Vuk Radovanovic wrote:
Ok i tried with systemctl wit startup script:

[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=syslog.target network.target

[Service]
Type=forking
Environment='PIDFILE=/var/run/kamailio/kamailio.pid'
Environment='CFGFILE=/usr/local/etc/kamailio//kamailio.cfg'
Environment='SHM_MEMORY=1024'
Environment='PKG_MEMORY=512'
Environment='USER=kamailio'
Environment='GROUP=kamailio'
EnvironmentFile=/etc/default/kamailio
PIDFile=$PIDFILE
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P $PIDFILE -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
ExecStopPost=/bin/rm -f $PIDFILE
Restart=on-abort
[Install]
WantedBy=multi-user.target

Sadly the result is the same

root      3653  0.0  0.2 222300 12080 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3655  0.0  0.0 222300  3932 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3656  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3657  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3658  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3659  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3660  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg

When I run
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio

Listening on
             udp: 127.0.0.1:5060
             udp: 217.20.113.138:5060
             tcp: 127.0.0.1:5060
             tcp: 123.123.123.123:5060
Aliases:
             tcp: km:5060
             tcp: km.domain.com:5060
             tcp: localhost:5060
             udp: km:5060
             udp: km.domain.com:5060
             udp: localhost:5060

And the process dies instantly.

I tried lowering the PKG memory directives in both systemd and init script, no change.

Regards,
Vuk

On 6/7/2017 12:23 PM, Daniel-Constantin Mierla wrote:
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 [hidden email]
Time: Wed 6/7 12:07
To: Vuk Radovanovic [hidden email],"Kamailio (SER) - Users Mailing List" [hidden email]
 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

_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Vuk Radovanovic

It was a jsonrpcs module problem, sorry for that the output clarified the problem why the kamailio was not starting by issuing a manual command.

Now it starts just fine accepting all the options.

kamailio  5508  0.0  0.2 349324 12080 ?        S    15:54   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio -E -dd


I also started the manual command with m 128 and M 64 with populated database it loaded fine.

1(5510) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'
 2(5511) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'
 3(5512) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'
 4(5513) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'
 5(5514) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'
 6(5515) INFO: userblacklist [userblacklist.c:614]: reload_sources(): got 54404 entries from 'globalblacklist'

After resolving the jsonrpcs problem init and systemd script still don't want to accept memory and user optiones.
Should i just abandon running kamailio from systemd/init.d ?

On 6/7/2017 3:03 PM, Daniel-Constantin Mierla wrote:

Run the next command:

/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio -E -dd

and send the output from the terminal here.

Cheers,
Daniel


On 07.06.17 13:30, Vuk Radovanovic wrote:
Ok i tried with systemctl wit startup script:

[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=syslog.target network.target

[Service]
Type=forking
Environment='PIDFILE=/var/run/kamailio/kamailio.pid'
Environment='CFGFILE=/usr/local/etc/kamailio//kamailio.cfg'
Environment='SHM_MEMORY=1024'
Environment='PKG_MEMORY=512'
Environment='USER=kamailio'
Environment='GROUP=kamailio'
EnvironmentFile=/etc/default/kamailio
PIDFile=$PIDFILE
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P $PIDFILE -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
ExecStopPost=/bin/rm -f $PIDFILE
Restart=on-abort
[Install]
WantedBy=multi-user.target

Sadly the result is the same

root      3653  0.0  0.2 222300 12080 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3655  0.0  0.0 222300  3932 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3656  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3657  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3658  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3659  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3660  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg

When I run
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio

Listening on
             udp: 127.0.0.1:5060
             udp: 217.20.113.138:5060
             tcp: 127.0.0.1:5060
             tcp: 123.123.123.123:5060
Aliases:
             tcp: km:5060
             tcp: km.domain.com:5060
             tcp: localhost:5060
             udp: km:5060
             udp: km.domain.com:5060
             udp: localhost:5060

And the process dies instantly.

I tried lowering the PKG memory directives in both systemd and init script, no change.

Regards,
Vuk

On 6/7/2017 12:23 PM, Daniel-Constantin Mierla wrote:
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 [hidden email]
Time: Wed 6/7 12:07
To: Vuk Radovanovic [hidden email],"Kamailio (SER) - Users Mailing List" [hidden email]
 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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
In reply to this post by Vuk Radovanovic
Hello,


On 07.06.17 11:26, Vuk Radovanovic wrote:
> Hi Daniel,
>
> [...]
>
> 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 ?
>
> [...]
if you plan to use ndb_redis, then there will be no result to will all
records to be fetched by kamailio -- ndb_redis is not a db driver, so
you can't use it via userblacklist module. Instead you can do redis
specific commands in order to see if you have a match or not. I am aware
of many deployments with huge amount of data stored in redis, queried
from kamailio.cfg using ndb_redis.

Cheers,
Daniel

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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
In reply to this post by Vuk Radovanovic
On 07.06.17 16:01, Vuk Radovanovic wrote:

>
> It was a jsonrpcs module problem, sorry for that the output clarified
> the problem why the kamailio was not starting by issuing a manual command.
>
> Now it starts just fine accepting all the options.
>
> kamailio  5508  0.0  0.2 349324 12080 ?        S    15:54   0:00
> /usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
> /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g
> kamailio -E -dd
>
>
> I also started the manual command with m 128 and M 64 with populated
> database it loaded fine.
>
> 1(5510) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>  2(5511) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>  3(5512) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>  4(5513) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>  5(5514) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>  6(5515) INFO: userblacklist [userblacklist.c:614]: reload_sources():
> got 54404 entries from 'globalblacklist'
>
> After resolving the jsonrpcs problem init and systemd script still
> don't want to accept memory and user optiones.
> Should i just abandon running kamailio from systemd/init.d ?
Likely something is misconfigured for the systemd, but I can't help much
with it -- you can try to install from debian nightly packages built
from branch 5.0 and see if that works.

Cheers,
Daniel

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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Vuk Radovanovic
Daniel,

Thank you very much for the ndb_redis advice, ill try it.

Ill probably switch to centos for final deployment, either way when
allocating more memory everything works fine, passing traffic an
querying the db.

Much obliged for your assistance.

Regards ,

Vuk



On 6/7/2017 5:52 PM, Daniel-Constantin Mierla wrote:

> On 07.06.17 16:01, Vuk Radovanovic wrote:
>> It was a jsonrpcs module problem, sorry for that the output clarified
>> the problem why the kamailio was not starting by issuing a manual command.
>>
>> Now it starts just fine accepting all the options.
>>
>> kamailio  5508  0.0  0.2 349324 12080 ?        S    15:54   0:00
>> /usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>> /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g
>> kamailio -E -dd
>>
>>
>> I also started the manual command with m 128 and M 64 with populated
>> database it loaded fine.
>>
>> 1(5510) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>   2(5511) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>   3(5512) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>   4(5513) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>   5(5514) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>   6(5515) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>> got 54404 entries from 'globalblacklist'
>>
>> After resolving the jsonrpcs problem init and systemd script still
>> don't want to accept memory and user optiones.
>> Should i just abandon running kamailio from systemd/init.d ?
> Likely something is misconfigured for the systemd, but I can't help much
> with it -- you can try to install from debian nightly packages built
> from branch 5.0 and see if that works.
>
> Cheers,
> Daniel
>


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Niklas Larsson
In reply to this post by Daniel-Constantin Mierla-6

Hi,

what is your /etc/default/kamailio looking like? That is where I change the mem stuff:

# Amount of shared and private memory to allocate
# for the running Kamailio server (in Mb)
SHM_MEMORY=512
PKG_MEMORY=8

For open files I added a /etc/systemd/system/kamailio.service.d/limits.conf containing:

[Service]
LimitNOFILE=32000

/niklas


Den 2017-06-07 kl. 15:03, skrev Daniel-Constantin Mierla:

Run the next command:

/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio -E -dd

and send the output from the terminal here.

Cheers,
Daniel


On 07.06.17 13:30, Vuk Radovanovic wrote:
Ok i tried with systemctl wit startup script:

[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=syslog.target network.target

[Service]
Type=forking
Environment='PIDFILE=/var/run/kamailio/kamailio.pid'
Environment='CFGFILE=/usr/local/etc/kamailio//kamailio.cfg'
Environment='SHM_MEMORY=1024'
Environment='PKG_MEMORY=512'
Environment='USER=kamailio'
Environment='GROUP=kamailio'
EnvironmentFile=/etc/default/kamailio
PIDFile=$PIDFILE
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P $PIDFILE -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
ExecStopPost=/bin/rm -f $PIDFILE
Restart=on-abort
[Install]
WantedBy=multi-user.target

Sadly the result is the same

root      3653  0.0  0.2 222300 12080 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3655  0.0  0.0 222300  3932 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3656  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3657  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3658  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3659  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg
root      3660  0.0  0.0 222300  3796 ?        S    12:47   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /usr/local/etc/kamailio//kamailio.cfg

When I run
/usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g kamailio

Listening on
             udp: 127.0.0.1:5060
             udp: 217.20.113.138:5060
             tcp: 127.0.0.1:5060
             tcp: 123.123.123.123:5060
Aliases:
             tcp: km:5060
             tcp: km.domain.com:5060
             tcp: localhost:5060
             udp: km:5060
             udp: km.domain.com:5060
             udp: localhost:5060

And the process dies instantly.

I tried lowering the PKG memory directives in both systemd and init script, no change.

Regards,
Vuk

On 6/7/2017 12:23 PM, Daniel-Constantin Mierla wrote:
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 [hidden email]
Time: Wed 6/7 12:07
To: Vuk Radovanovic [hidden email],"Kamailio (SER) - Users Mailing List" [hidden email]
 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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: No private memory left

Daniel-Constantin Mierla-6
In reply to this post by Vuk Radovanovic
I expect same kind of work for centos with init.d/systemd, but I use
debian, so I can't really say much for sure about centos. Deb packaging
is better maintained and has nightly builds from stable branches.

Again, likely something was overlooked and maybe not the files you
expect are used.

When installing from packages, not matter debian or centos, the
init.d/systemd files should be installed.

Cheers,
Daniel

On 07.06.17 20:02, Vuk Radovanovic wrote:

> Daniel,
>
> Thank you very much for the ndb_redis advice, ill try it.
>
> Ill probably switch to centos for final deployment, either way when
> allocating more memory everything works fine, passing traffic an
> querying the db.
>
> Much obliged for your assistance.
>
> Regards ,
>
> Vuk
>
>
>
> On 6/7/2017 5:52 PM, Daniel-Constantin Mierla wrote:
>> On 07.06.17 16:01, Vuk Radovanovic wrote:
>>> It was a jsonrpcs module problem, sorry for that the output clarified
>>> the problem why the kamailio was not starting by issuing a manual
>>> command.
>>>
>>> Now it starts just fine accepting all the options.
>>>
>>> kamailio  5508  0.0  0.2 349324 12080 ?        S    15:54   0:00
>>> /usr/local/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f
>>> /usr/local/etc/kamailio/kamailio.cfg -m 128 -M 64 -u kamailio -g
>>> kamailio -E -dd
>>>
>>>
>>> I also started the manual command with m 128 and M 64 with populated
>>> database it loaded fine.
>>>
>>> 1(5510) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>   2(5511) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>   3(5512) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>   4(5513) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>   5(5514) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>   6(5515) INFO: userblacklist [userblacklist.c:614]: reload_sources():
>>> got 54404 entries from 'globalblacklist'
>>>
>>> After resolving the jsonrpcs problem init and systemd script still
>>> don't want to accept memory and user optiones.
>>> Should i just abandon running kamailio from systemd/init.d ?
>> Likely something is misconfigured for the systemd, but I can't help much
>> with it -- you can try to install from debian nightly packages built
>> from branch 5.0 and see if that works.
>>
>> Cheers,
>> Daniel
>>
>

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


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users