[sr-dev] [kamailio] Failed to query database "no private memory left". Kamailio daemon automatic shutdown. (#156)

Daniel-Constantin Mierla notifications at github.com
Tue May 12 11:25:10 CEST 2015


First upgrade to latest kamailio 4.2.x, you are running 4.2.0 and there were many fixes since then. All versions that start with 4.2 (e.g., 4.2.0 or 4.2.4) use the same configuration and database structure, so you just install new binaries and restart kamailio, there is nothing else to do, it will work with existing config and database.

It seems you already have 8MB of private memory and if you don't load a lot of records, should be enough. You can set it to 12MB (via -M) if you like, but the important thing is to monitor the evolution of used private memory. You can do that from command line with:

```
kamcmd pkg.stats
```

See if the used pkg memory per process increases continuously over time, then it is a leak somewhere.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/156#issuecomment-101210261
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150512/51921ca5/attachment.html>


More information about the sr-dev mailing list