Dear friends,

I have kannel working in following config:
BEARERBOX ------ SQLBOX ------- SMSBOX

Apparently, the connectivity between bearerbox and sqlbox is breaking by
itself, resulting in smsbox termination as well (since it is behind the
smsbox). I am not sure whether bearerbox breaks the connection or sqlbox,
but following error is logged in sqlbox logs:

2011-03-28 19:09:38 [15702] [1] PANIC: Too many concurrent allocations.
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox(gw_panic+0xc2) [0x80730e2]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox [0x8066af5]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox(gw_check_malloc+0x84)
[0x8066b84]
2011-03-28 19:09:38 [15702] [1] PANIC:
sqlbox(octstr_create_from_data_real+0xed) [0x8076f9d]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox(octstr_duplicate_real+0x50)
[0x80771b0]
2011-03-28 19:09:38 [15702] [1] PANIC:
sqlbox(octstr_format_valist_real+0x6a1) [0x8077941]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox(octstr_format+0x1b)
[0x8077ffb]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox(mysql_save_msg+0x2b7)
[0x8051ff7]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox [0x8050f64]
2011-03-28 19:09:38 [15702] [1] PANIC: sqlbox [0x8068b8b]
2011-03-28 19:09:38 [15702] [1] PANIC: /lib/libpthread.so.0 [0xd89832]
2011-03-28 19:09:38 [15702] [1] PANIC: /lib/libc.so.6(clone+0x5e) [0xcc8f6e]

Following are simultaneous logs of bearebox:

2011-03-28 19:09:38 [15327] [48] INFO: Connection closed by the box
<127.0.0.1>
2011-03-28 19:09:38 [15327] [50] INFO: Connection closed by the box
<127.0.0.1>
2011-03-28 19:09:38 [15327] [46] ERROR: Error writing 56 octets to fd 166:
2011-03-28 19:09:38 [15327] [46] ERROR: System error 104: Connection reset
by peer
2011-03-28 19:09:38 [15327] [46] ERROR: Couldn't write Msg to box
<127.0.0.1>, disconnecting
2011-03-28 19:09:38 [15327] [46] ERROR: Error writing 112 octets to fd 166:
2011-03-28 19:09:38 [15327] [46] ERROR: System error 32: Broken pipe
2011-03-28 19:09:38 [15327] [46] ERROR: Couldn't write Msg to box
<127.0.0.1>, disconnecting
2011-03-28 19:09:38 [15327] [46] ERROR: Error writing 168 octets to fd 166:
2011-03-28 19:09:38 [15327] [46] ERROR: System error 32: Broken pipe
.
.
.

Please help in troubleshooting. Should I increase the sessions in sqlbox
config or something?

Regards,
Hamza

Reply via email to