Once I get the memory status, how do I interpret the results?
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Wednesday, June 21, 2006 9:43 AM To: Douglas Garstang Cc: Users@openser.org Subject: Re: [Users] Out of Memory
Hi Douglas,
it was signal SIGUSR1 and not SIGHUP - I strongly advice you to go through http://openser.org/dokuwiki/doku.php?id=memory note you have to recompile and reinstall in order to be able to do memory debug.
also does not matter how much mem. your system has - openser will use by default only 1M per process. Refer to the wiki for how to increase it.
Regards, Bogdan
Douglas Garstang wrote:
I posted this last week. Didn't get much of a reply.
I have three identical systems all running identical
versions of OpenSER 1.1.x
One of the systems is showing memory problems. The system
has 4GB of RAM.
I am only loading a few modules:
loadmodule "/usr/local/lib/openser/modules/sl.so" loadmodule "/usr/local/lib/openser/modules/tm.so" loadmodule "/usr/local/lib/openser/modules/rr.so" loadmodule "/usr/local/lib/openser/modules/maxfwd.so" loadmodule "/usr/local/lib/openser/modules/textops.so" loadmodule "/usr/local/lib/openser/modules/xlog.so" loadmodule "/usr/local/lib/openser/modules/dispatcher.so"
The system runs for a short period of time and processes
almost no calls before the errors start to occur.
One of the developers said I could send a HUP signal to
OpenSER to get memory stats. Tried that. It didn't work.
Jun 21 09:29:35 apollo /usr/local/sbin/openser[15623]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 426
Jun 21 09:29:35 apollo /usr/local/sbin/openser[15623]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 426
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: dns_cname_parser: out of memory
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: get_record: rdata parse error
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: get_record
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: build_req_buf_from_sip_req: out of memory
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR:tm:print_uac_request: no pkg_mem
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR:tm:t_forward_nonack: failure to add branches
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 442
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15624]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 442
Jun 21 09:29:37 apollo /usr/local/sbin/openser[15618]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:38 apollo /usr/local/sbin/openser[15617]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:38 apollo /usr/local/sbin/openser[15619]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:39 apollo /usr/local/sbin/openser[15620]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:39 apollo /usr/local/sbin/openser[15621]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:39 apollo /usr/local/sbin/openser[15624]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:40 apollo /usr/local/sbin/openser[15622]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:40 apollo /usr/local/sbin/openser[15618]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:40 apollo /usr/local/sbin/openser[15617]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:41 apollo /usr/local/sbin/openser[15620]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:41 apollo /usr/local/sbin/openser[15623]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:41 apollo /usr/local/sbin/openser[15621]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:41 apollo /usr/local/sbin/openser[15624]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:42 apollo /usr/local/sbin/openser[15622]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:42 apollo /usr/local/sbin/openser[15618]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:42 apollo /usr/local/sbin/openser[15617]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Jun 21 09:29:43 apollo /usr/local/sbin/openser[15619]:
ERROR: build_res_buf_from_sip_req: out of memory ; needs 379
Doug.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
As written in the wiki, if you do not know how to interpret the result, you should post them on a ftp or http server and send the link to the list - also, important is to mention in which context did you get the mem dump - is the shutdown dump, a run time dump...
regards, bogdan
Douglas Garstang wrote:
Once I get the memory status, how do I interpret the results?
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Wednesday, June 21, 2006 9:43 AM To: Douglas Garstang Cc: Users@openser.org Subject: Re: [Users] Out of Memory
Hi Douglas,
it was signal SIGUSR1 and not SIGHUP - I strongly advice you to go through http://openser.org/dokuwiki/doku.php?id=memory note you have to recompile and reinstall in order to be able to do memory debug.
also does not matter how much mem. your system has - openser will use by default only 1M per process. Refer to the wiki for how to increase it.
Regards, Bogdan