Memory is running out

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
mbylica
Posts: 41
Joined: Mon May 16, 2011 1:05 pm
Location: Poland

Memory is running out

Post by mbylica »

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/ ... terns.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.
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

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&param=5


See the internal memory uses.
mbylica
Posts: 41
Joined: Mon May 16, 2011 1:05 pm
Location: Poland

Post by mbylica »

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?
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Let you check it out sometimes.
For example, how many sessions are remaining and how many memory are consumed.
Post Reply