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@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@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@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to