Memory Exception

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
rei.wee
Posts: 47
Joined: Thu Oct 26, 2006 11:51 pm

Memory Exception

Post by rei.wee »

1. Brekeke Product Name and version:
Brekeke SIP Server 2.0/215
2. Java version:
1.5.0_09 (Sun Microsystems Inc.)
3. OS type and the version:
windows2003
4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:

brekeke sip proxy server is down.

I write the log below.

the server use 3rd party database that mssql 2005.
and for a long time, I use proxy server and the server work well.

Why is the error occured?

java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

listener: java.lang.OutOfMemoryError: Java heap space
startup-time: Fri Nov 16 06:07:46 KST 2007
life-length: 20days 10:09:37
sip-packet-total: 7480496
stacked-packet: 214
session-active-invite: 11
session-active-all: 3211
session-total: 46234
session-peak: 50
session-tbl-size: 3218
thread-active-cnt: 3282
SIP-error: 44605
Internal-error: 1
RegisteredSqlDB.lookup failed Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(Unknown Source)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookup(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

failed to re-establish db connection Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(Unknown Source)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed null
java.lang.NullPointerException
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

failed to re-establish db connection Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: Connection error jdbc:sqlserver://databaseip:3950;databaseName=voip; prop={user=voip_user, url=jdbc:sqlserver://databaseip:3950;databaseName=voip, password=password, enabled=on, driver=com.microsoft.sqlserver.jdbc.SQLServerDriver}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(Unknown Source)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

RegisteredSqlDB.lookupByContact failed null
java.lang.NullPointerException
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

listener: java.lang.OutOfMemoryError: Java heap space
RegisteredSqlDB.lookup failed Java heap space
java.lang.OutOfMemoryError: Java heap space

startup-time: Fri Nov 16 06:07:46 KST 2007
life-length: 20days 10:09:55
sip-packet-total: 7480520
stacked-packet: 217
session-active-invite: 11
session-active-all: 3210
session-total: 46234
session-peak: 50
session-tbl-size: 3215
thread-active-cnt: 3280
SIP-error: 44606
Internal-error: 2
RegisteredSqlDB.lookup failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

listener: java.lang.OutOfMemoryError: Java heap space
startup-time: Fri Nov 16 06:07:46 KST 2007
life-length: 20days 10:10:13
sip-packet-total: 7480572
stacked-packet: 224
session-active-invite: 10
session-active-all: 3209
session-total: 46234
session-peak: 50
session-tbl-size: 3214
thread-active-cnt: 3271
SIP-error: 44606
Internal-error: 2
RegisteredSqlDB.lookup failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookup failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookup failed The connection is closed.
com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.checkClosed(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.clearWarnings(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.buildNextRowset(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(Unknown Source)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.lookup(Unknown Source)
at com.brekeke.net.sip.sv.registrar.Registrar.lookupByContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.replaceContact(Unknown Source)
at com.brekeke.net.sip.sv.SIPex.runImple(Unknown Source)
at com.brekeke.thread.ThreadCommon.run(Unknown Source)

RegisteredSqlDB.lookup failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space

RegisteredSqlDB.lookupByContact failed Java heap space
java.lang.OutOfMemoryError: Java heap space
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Was your database (MS SQL) working correctly at that time?
because the db connection failed..



Anyway.. I think 2.0/215 is not new version.. try new one!
rei.wee
Posts: 47
Joined: Thu Oct 26, 2006 11:51 pm

Post by rei.wee »

lakeview wrote:Was your database (MS SQL) working correctly at that time?
because the db connection failed..



Anyway.. I think 2.0/215 is not new version.. try new one!
the database is used by other server(web server and so one).

And we use three proxy server and the proxy server share the database.
only one has failed.

I want to know the cause of exception.
Does the proxy server try to connecting database continually?
I don't know why the server has memory overflow..
I think that when the proxy server fail to connect database, the server release the memory.

but it seems that the server doesn't release memory.

um.. why?
Post Reply