Hello sir,* * Earlier when my bearerbox has crashed I reinstalled it & it worked good but now again with gateway-svn it crashed .*
My Server Is 1 GB RAM with Centos with kannel Latest SVN Trunk. This problem doesn't comes with gateway-1.4.3 *I woud like to point out, earlier this application was working good when DLR where not coming, while i tested today with real SMSC & With First DLR it got started behaving like this. * I have also got one of post which has similiar crashing error. * <i...@ceon.in> http://old.nabble.com/Bearerbox-crash-when-using-dlr-tt19430091.html#a19430091 * BEARERBOX LOGS * 2010-10-05 08:21:45 [27858] [5] INFO: Client connected from <122.173.111.166> 2010-10-05 08:24:35 [27858] [12] INFO: Connection closed by the box <122.173.111.166> 2010-10-05 08:24:57 [27858] [5] INFO: Client connected from <127.0.0.1> *2010-10-05 08:28:49 [27858] [8] PANIC: Memory allocation failed* 2010-10-05 08:28:49 [27858] [8] PANIC: System error 12: Cannot allocate memory 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(gw_panic+0xc2) [0x80d9d62] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(gw_native_malloc+0x7d) [0x80ce11d] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80cc374] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x806368d] *2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(dlr_find+0x10d) [0x80614bd]* 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a25d6] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a3983] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a4ce1] 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80d02e1] 2010-10-05 08:28:49 [27858] [8] PANIC: /lib/libpthread.so.0 [0xb7d9a832] 2010-10-05 08:28:49 [27858] [8] PANIC: /lib/libc.so.6(clone+0x5e) [0xb7a56e0e] *SMSBOX LOG* 2010-10-05 08:20:00 [32344] [0] INFO: Connected to bearerbox at 127.0.0.1 port 11010. 2010-10-05 08:20:18 [32344] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <122.173.111.166> 2010-10-05 08:20:18 [32344] [3] INFO: sendsms used by <kannel> 2010-10-05 08:20:18 [32344] [3] INFO: sendsms sender:<kannel:121> (122.173.111.166) to:<919781114229> msg:<Hi Testing Kannel> 2010-10-05 08:20:18 [32344] [4] INFO: Starting delivery report <kannel> from <121> 2010-10-05 08:20:40 [32344] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <122.173.111.166> 2010-10-05 08:20:40 [32344] [3] INFO: sendsms used by <kannel> 2010-10-05 08:20:40 [32344] [3] INFO: sendsms sender:<kannel:121> (122.173.111.166) to:<919781114229> msg:<Hi Testing Kannel> 2010-10-05 08:20:40 [32344] [4] INFO: Starting delivery report <kannel> from <121> 2010-10-05 08:28:49 [32344] [0] ERROR: Connection closed by the bearerbox. 2010-10-05 08:28:49 [32344] [0] INFO: Received (and handled?) 2 requests in 511 seconds (0.00 per second) 2010-10-05 08:28:49 [32344] [0] INFO: Kannel smsbox terminating. *SQLBOX LOG* 2010-10-05 08:24:57 [18079] [0] INFO: MYSQL: Connected to server at localhost. 2010-10-05 08:24:57 [18079] [0] INFO: MYSQL: server version 5.0.77, client version 5.0.77. 2010-10-05 08:24:57 [18079] [1] INFO: Connected to bearerbox at localhost port 11010. 2010-10-05 08:28:49 [18079] [2] ERROR: Connection closed by the bearerbox. Regards Anshu Sah 2010/9/21 Nikos Balkanas <nbalka...@gmail.com> > Hi, > > This is not a memory leak. Seems like a problem with your libc. What is > your server's RAM? If you run Linux, can you post the output of free when > having problem? Otherwise something similar from your OS. What is your OS? > > BR, > Nikos > ----- Original Message ----- From: Anshu Sah > To: users > Sent: Tuesday, September 21, 2010 7:33 AM > Subject: My kannel has suddenly started behaving some unusual due to > memoryleak > > > > Hi, > > My kannel has suddenly started behaving some unusual due to memory leak. > Logs are below. > > > 2010-09-20 22:27:04 [28316] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_smpp.c:io_thread) > 2010-09-20 22:27:04 [28316] [0] DEBUG: Started thread 7 > (gw/bb_smscconn.c:sms_router) > 2010-09-20 22:27:04 [28316] [0] INFO: > ---------------------------------------- > 2010-09-20 22:27:04 [28316] [0] INFO: Kannel bearerbox II version svn-r4838 > starting > 2010-09-20 22:27:04 [28316] [0] INFO: MAIN: Start-up done, entering > mainloop > 2010-09-20 22:27:04 [28316] [6] DEBUG: Thread 6 > (gw/smsc/smsc_smpp.c:io_thread) maps to pid 28316. > 2010-09-20 22:27:04 [28316] [6] INFO: Logging thread `6' to logfile > `/projects/kannel/logs/BSNLMultiple.log' with level `0'. > 2010-09-20 22:27:04 [28316] [7] DEBUG: Thread 7 > (gw/bb_smscconn.c:sms_router) maps to pid 28316. > 2010-09-20 22:27:07 [28316] [6] PANIC: Memory allocation failed > 2010-09-20 22:27:07 [28316] [6] PANIC: System error 12: Cannot allocate > memory > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox(gw_panic+0xc2) > [0x80d9a92] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox(gw_native_malloc+0x7d) > [0x80ce03d] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80cc2a4] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80635bd] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox(dlr_find+0x10d) > [0x80613ed] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80a2506] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80a38b4] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80a4c11] > 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox [0x80d0201] > 2010-09-20 22:27:07 [28316] [6] PANIC: /lib/libpthread.so.0 [0xb7d75832] > 2010-09-20 22:27:07 [28316] [6] PANIC: /lib/libc.so.6(clone+0x5e) > [0xb7a31e0e] > > > > Regards > Anshu Sah >