Yep, Cygwin is definitely buggy regarding threads. Don't even think about it for production...
I've tried 1.2.1 with cygwin and under heavy load it behaved exactly as Joshua is reporting for 1.4.0. A lot of messages get lost in space for no obvious reason. BTW, I'm running 1.4.0 on two production servers, one Fedora Core 2 and a CentOS 3.3 since a few weeks and it's SOLID ROCK. Not a single crash or misbehaviour! :) Migration from 1.3.2 was a breeze also. I didn't have to touch a single line on my config. Regards, On Wed, 19 Jan 2005 15:46:04 +0100, Stipe Tolj <[EMAIL PROTECTED]> wrote: > Joshua Lim wrote: > > > Hi, i have just upgrade kannel from v1.2.1 to 1.4.0 on > > win32 (using smsc=smpp) and encountered a new problem > > - queued messages are not sent. > > > > I have no problems receiving sms over smpp, but > > bearerbox will not process outgoing sms received from > > smsbox. > > > > access-sms.log shows that the messages have been > > received over http. however, the messages are not > > processed and hence do not show up in main log. > > > > I managed to get the messages to be sent out by > > removing store-file setting in the config file. > > > > Does anyone know why this happens with the v1.4 and > > not 1.2? Thanks. > > now, not directly. But as you indicate you run kannel on Win32, this means you > use cygwin actually. > > There have been major changes from 1.2 to 1.4 concerning read/writer-locks and > threads. Cygwin's pthread library has _definetly_ problems and if you have a > high-load on the system, the threads start to mis-behave. > > See the recent thread in the devel@ mailing list concerning kannel on cygwin. > > This is only a "vague" guess on what may go on. > > At least we can confirm that the 1.4 stable release is working as expected on > Linux/UNIX flavors. So the guess is pretty close to the mis-behaviour of > Cygwin's mutex and thread things. > > Stipe > > mailto:stolj_{at}_wapme.de > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 D�sseldorf, NRW, Germany > > phone: +49.211.74845.0 > fax: +49.211.74845.299 > > mailto:info_{at}_wapme-systems.de > http://www.wapme-systems.de/ > ------------------------------------------------------------------- > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
