Henning Westerholt schrieb:
We're
connecting to a database, but it includes only a few (about 20)
subscribers, nothing else. We didn't stress test the database
(-connection). Without memdebug kamailio runs fast.
This is strange. Do you log to a remote host, for example with TCP? Or
do you've another big IO load on the machine, that could block the
writing of logs to the disk somehow?
We solved the problem with the bad performance in mem debuge mode.
Kamailio not only logs to /var/log/kamailio but also to
/var/log/messages (?). /var/log/messages was not configured asynchrouns
in syslog.conf. We fixed this and will retry the stress test with
enabled mem debug.
Thanks a lot!
Christian