[Asterisk-Users] Virtual Memory Usage

Christian Benke a0305292 at unet.univie.ac.at
Fri Dec 23 01:54:24 MST 2005


Good Morning List!

I have a instance of asterisk running since 2 weeks under relative heavy
zap usage(mostly disa-customers), about 3000calls/day. last time(2 weeks
ago) it had been shut down by oom-killer for some reason and since then i
keep a jealous watch over the asterisk process. I know that linux is
keeping old pages in the cache and erases them when free memory is needed,
though i'm concerned about the virtual memory usage of asterisk. it is
rising every day and is at 56488kB at the moment(it never declines) with a
processor time of 192:19.77. Is this normal behaviour and will the virtual
memory be erased at some point when there really is insufficient memory?
Or should i be concerned about it? The free memory has always been between
50 and 70 MB in this two weeks (cache is at 1969MB so enough spare memory
yet).
I also suspect my two agi-bash-scripts for producing the memory usage, i'm
not sure if the results of the scripts are kept in (virt)memory, though
i'm not a specialist how linux manages this and would like to hear a
professional opinion about it(see attachments for my - simple -
bash-scripts that are called for every call, authentication and dialstring
cosmetics, the "list-usergroup1" that is beeing called is a simple list of
numbers)

In the meantime i've installed monit(tildeslash.com/monit/) which is a
quite nice tool for monitoring and restarting of processes in case of
failure, though i'd like to find the real problem, not just fight the
consequences...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disa-usergroup1.sh
Type: application/octet-stream
Size: 777 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051223/ee3b6d6b/disa-usergroup1.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disacut.sh
Type: application/octet-stream
Size: 119 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051223/ee3b6d6b/disacut.obj


More information about the asterisk-users mailing list