[sr-dev] RPC processes out of memory

Juha Heinanen jh at tutpro.com
Tue Jun 10 12:15:12 CEST 2014


i noticed these kind of errors in syslog when running master version
from around may 22:

Jun 10 13:03:03 box /usr/sbin/sip-proxy[32740]: ERROR: <core> [db_id.c:244]: new_db_id(): no private memory left
Jun 10 13:03:03 box /usr/sbin/sip-proxy[32740]: ERROR: <core> [db.c:311]: db_do_init2(): cannot parse URL 'mysql://foo:bar@127.0.0.1/sip_proxy_usage'
Jun 10 13:03:03 box /usr/sbin/sip-proxy[32740]: ERROR: db_mysql [km_dbase.c:141]: db_mysql_async_exec_task(): failed to open connection for [mysql://foo:bar@127.0.0.1/sip_proxy_usage]

ps shows that two RPC processes have run out of memory:

32733	RPC	11534336	0	
32740	RPC	11534336	0	
32741	RPC	9939320	1595016

in the config, i run on timer two routes that execute sql_query_async
insert and delete queries, which do not have "result" param.

looks like some memory does not get freed.  any ideas?  have i missed an
already committed fix?

-- juha



More information about the sr-dev mailing list