Re: [BUG] heartbeat and poll

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Stipe Tolj wrote:
> 
> We seem to have something screwed up in the boxes heartbeat
> communication and the underlying poll()ing.
> 
> It seems as if the heartbeat msgs don't get to bearerbox. Here is how
> to reproduce:
> 
>   * first of all change gw/bb.h:16 heartbeat frequency to 3 secs.
>   * now let bearerbox debug any incoming heartbeat messages by
> commenting the if statement at gw/bb_boxc.c:163
> 
> Now run bearerbox and wapbox with gw/wapkannel.conf file.
> 
> AFAIK, we should now see a debug log every 3 secs, but there is
> nothing?!

BTW, something nasty in poll()ing on the Cygwin platform causes wapbox
to crash at high-load and bearerbox does not terminate cleanly when
sending a TERM signal, instead it gets an exception in the poll()ing
and loops there for some time causing CPU load to blow.

Stipe 

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.