[asterisk-users] Asterisk proces memory increase

Jonas Kellens jonas.kellens at telenet.be
Thu Mar 8 02:15:08 CST 2012


Hello,

I notice that at the end of the day, after about 4000 calls have passed 
my Asterisk-system, that the use of memory is very high and stays that 
way untill a restart of Asterisk or a reboot of the server.

This is the situation at the end of the day :

[root at sp asterisk]# free -m
              total       used       free     shared    buffers     cached
Mem:          3923       1931       1992          0        268       1308
-/+ buffers/cache:        353       3569
Swap:         4031          0       4031

So total of 3923MB, where 1992MBis used and 1931MBstill free.

This memory never decreases and increases with every call that passes my 
Asterisk system. After some more calls :

[root at sp asterisk]# free -m
              total       used       free     shared    buffers     cached
Mem:          3923       1934       1989          0        270       1309
-/+ buffers/cache:        353       3569
Swap:         4031          0       4031

So total of 3923MB, where 1934MBis used and 1989MBstill free.

As I said, only a restart of Asterisk or reboot of the server can 
decrease this value :

[root at sp asterisk]# free -m
              total       used       free     shared    buffers     cached
Mem:          3923        974       2948          0        150        524
-/+ buffers/cache:        299       3624
Swap:         4031          0       4031

So total of 3923 MB, where 974 MB is used and 2948 MB still free.


So why does this memory usage only decrease with a restart ? What keeps 
asterisk stored in the RAM-memory ? Even if there are 0 calls, the 
memory does not decrease.



Kind regards,
Jonas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120308/180479fc/attachment.htm>


More information about the asterisk-users mailing list