Bogdan,
Below is the first part of openser.cfg. As you can see, I am not loading a lot of modules. This system has 4GB of RAM. The errors are still occurring. I did have more modules, and removed them, and the problem still persists. How can I get that memory dump? Sending the process a USR1 has no effect.
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database #loadmodule "/usr/local/lib/openser/modules/mysql.so"
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"
# Uncomment this if you want digest authentication # mysql.so must be loaded ! #loadmodule "/usr/local/lib/openser/modules/auth.so" #loadmodule "/usr/local/lib/openser/modules/auth_db.so" #loadmodule "/usr/local/lib/openser/modules/uri_db.so"
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Thursday, June 08, 2006 3:20 AM To: Douglas Garstang Cc: Users@openser.org; devel@openser.org Subject: Re: [Devel] Memory Leak in latest cvs version?
Douglas,
in this case, it seams you have a module that loads a lot of stuff at startup in shared memory. Like USRLOC for location and aliases, LCR for rule......
is it your case?
regards, bogdan
Douglas Garstang wrote:
Thanks Bogdan.
A few things of note. Firstly, I'm using the default memory
size, and secondly, the system has processed hardly any calls, IF ANY. Given these two confiditions, it would seem that problem is abnormal, not normal.
Douglas.
-----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] Sent: Wednesday, June 07, 2006 9:23 AM To: Douglas Garstang Cc: Users@openser.org; devel@openser.org Subject: Re: [Devel] Memory Leak in latest cvs version?
Hi Douglas,
I just put together a wiki page about debugging memory problems. Please see: http://openser.org/dokuwiki/doku.php?id=memory
and follow the instructions.
regards, bogdan
Douglas Garstang wrote:
I'm wondering if there's a memory leak or something in the
latest cvs version of openser.
Only been running it for a while, processing very few calls,
and this was appearing...