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(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users