[Asterisk-Users] Memory Consumption

Roland Zagler r.zagler at fog.at
Mon Nov 15 17:12:33 MST 2004


Hello,

I use Asterisk 1.0.2 on a RedHat Enterprise Server 3.0 (Kernel 2.4.21)
and i experienced that the memory consumption of the asterisk-process
started by the init.d-script raises continously. Now, after 3 hours of
operation (on our testing-system we have 30 concurrent connections to
another asterisk box using IAX2 and GSM codec) there is already 66MB
allocated. I think this could be ok, but the memory consumption
increases until all memory (including swap) is used, and then there is
following entry in /var/log/asterisk/messages:

Failed to fork(): Cannot allocate memory

On our other Asterisk box (running Fedora Core 3 with Kernel 2.6.9)
there is no problem like this, memory consumption is stable over days.

Could there be an issue unsing a system with Kernel 2.4.21? I had a look
at bugs.digium.com but didn't find any useful entries.

I would be thankful if there are any ideas how i could fix this without
changing the OS! I could use a newer Kernel but then it runs out of
support at RedHat.

Thank you in advance,
Roland



More information about the asterisk-users mailing list