Hi,

in my experience I have found this situation when the following
condition happens:

a split-sms is sent to a number whose inbox is full

then, due to an already reported bug (see bug #352,
http://bugs.kannel.org/view.php?id=352) kannel gets into an infite
resend-loop which can overkill your cpu.


HTH



On Thu, 2007-08-02 at 18:49 +0700, Asfihani wrote:
> Hello,
> 
> Kannel version: cvs-20070722 / 1.4.1
> 
> OS: Ubuntu 6.06.1 LTS
> Kernel: 2.6.15
> CPU: Dual Xeon 3 Ghz
> Mem: 1 GB
> 
> Kannel used all cpu resource and restarted randomly. How do 
> I trace the problem?
> 
> Thanks,
> 
> Rgds,
> Asfihani
> 
> 2007-08-02 17:57:14 [9493] [6] PANIC: Memory re-allocation
> failed
> 2007-08-02 17:57:14 [9493] [6] PANIC: System error 12:
> Cannot allocate memory
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> bearerbox(gw_panic+0xbb) [0x80c7681]
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> bearerbox(gw_native_realloc+0x8b) [0x80bce8c]
> 2007-08-02 17:57:14 [9493] [6] PANIC: bearerbox [0x80c873f]
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> bearerbox(octstr_insert_data+0x58) [0x80caf29]
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> bearerbox(octstr_append_char+0x3d) [0x80cb2ff]
> 2007-08-02 17:57:14 [9493] [6] PANIC: bearerbox [0x8067cc9]
> 2007-08-02 17:57:14 [9493] [6] PANIC: bearerbox [0x806bada]
> 2007-08-02 17:57:14 [9493] [6] PANIC: bearerbox [0x80be494]
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> /lib/tls/i686/cmov/libpthread.so.0 [0xb7f2c341]
> 2007-08-02 17:57:14 [9493] [6] PANIC:
> /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7c6e4ee]
> 2007-08-02 17:57:14 [9568] [0] INFO: Added logfile
> `/var/log/kannel/kannel.log' with level `0'.
> 2007-08-02 17:57:14 [9568] [0] INFO: Started access logfile
> `/var/log/kannel/access.log'.
> 
> File kannel.conf:
> 
> group = core
> admin-port = 13000
> admin-password = x
> status-password = x
> log-file = "/var/log/kannel/kannel.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
> smsbox-port = 13001
> store-file = "/var/log/kannel/kannel.store"
> 
> group = smsc
> smsc = at
> host = localhost
> port = 13013
> smsc-id = linuxku
> modemtype = wavecom
> device = /dev/ttyUSB0
> speed = 115200
> sms-center = +628123
> 
> group = modems
> id = WAVECOM
> name = wavecom
> detect-string = WAVECOM
> init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13131
> sendsms-chars = "0123456789+"
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
> 
> group = sendsms-user
> username = x
> password = x
> 
> group = sms-service
> keyword = default
> max-messages = 0
> get-url = 
> "http://localhost/~playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a";
> 


Reply via email to