[sr-dev] RPC processes out of memory

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 10 12:20:42 CEST 2014


On 10/06/14 12:15, Juha Heinanen wrote:
> i noticed these kind of errors in syslog when running master version
> from around may 22:
Seems to be before the commit:
- 
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69de17d3bb1d032f9a41752362194d718336e20d

Cheers,
Daniel

>
> 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
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list