On Fri, 30 Nov 2001 14:40:23 +0100, you wrote: >I just noticed, the smsbox on my machine is eating up >'as much cpu as it can get'. Even though no requests are coming in >(it still serves messages when it has to, though). > Anyone have any hints on typical causes of this ? > >"my other kannels" don't do this... >The machine in question serves both a gsm modem and an SMSC.
I have had the same problem with bearerbox and wapbox in a dual CPU machine for a year now. Only solution available is this script run by cron... #!/bin/sh strtest=`top c n 1 b|grep bearer|grep 99.9` if [ ! -z "$strtest" ] then logger "Restarting kannel..." /etc/rc.d/init.d/kannel stop > /dev/null 2>&1 sleep 5 /etc/rc.d/init.d/kannel start > /dev/null 2>&1 sleep 10 fi strtest=`top c n 1 b|grep wapbox|grep 99.9` if [ ! -z "$strtest" ] then logger "Restarting kannel..." /etc/rc.d/init.d/kannel stop > /dev/null 2>&1 sleep 5 /etc/rc.d/init.d/kannel start > /dev/null 2>&1 fi Cheers, Kari
