Author |
Message |
mbylica Brekeke Addict
Joined: 16 May 2011 Posts: 41
Location: Poland
|
Posted: Tue May 08, 2012 9:46 am Post subject: Memory is running out |
|
|
1. Brekeke Product Name and version:
BSS, 2.4.8.6
2. Java version:
1.6.0_25
3. OS type and the version:
linux centos 5.5
4. UA (phone), gateway or other hardware/software involved:
doesn't matter
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
Pattern 9
6. Your problem:
I have server with 8GB of RAM so it is enough for BSS for sure, but i am encountering that memory is running out.
Server life lenght it more that 12days now.
Free memory dropped from 7.26GB to 5.83GB during these days.
Max CPS was 8, max active calls 120, but mostly there are 40-60 calls with CPS about 2.
Is this normal BSS + linux behaviour?
Thanks,
Maciej. |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Tue May 08, 2012 11:11 am Post subject: |
|
|
Add the following in the [Configuration] > [Advanced] page.
-----------------
sipadmin.cmd.hosts.allow = <browser's IP Address>
-----------------
And then access to the following page.
http://<SIP Server's Address>/proxy/cmd?cmd=info¶m=5
See the internal memory uses. |
|
Back to top |
|
mbylica Brekeke Addict
Joined: 16 May 2011 Posts: 41
Location: Poland
|
Posted: Wed May 09, 2012 3:20 pm Post subject: |
|
|
Yeah nice way to find out some of system parameters.
Just after BSS restart (because of Configuration>Advanced page modifications) the output is:
startup-time: Wed May 09 01:13:54 CEST 2012
life-length: 00:05:32
sip-packet-total: 175
stacked-packet: 0
session-active-invite: 0
session-active-all: 0
session-total: 0
session-peak: 0
session-cps: 0
session-tbl-size: 12
session-tbl-size-hash: 12
registered-record: 0
user-dir-size: 0
thread-active-cnt: 16
SIP-error: 0
Internal-error: 0
java-use-memory: 14.48 MB (14826.02 KB 15181840 Byte)
java-free-memory: 46.90 MB (48021.98 KB 49174512 Byte)
java-total-memory: 61.38 MB (62848.00 KB 64356352 Byte)
java-max-memory: 910.25 MB (932096.00 KB 954466304 Byte)
I presume that i need to check it out from time to time, right ?
Or maybe there is sth what is the problem visible right now? |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Fri May 11, 2012 11:35 am Post subject: |
|
|
Let you check it out sometimes.
For example, how many sessions are remaining and how many memory are consumed. |
|
Back to top |
|
|