Re: smsbox and mutex detailed analysis

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Uoti Urpala wrote:
> 
> Btw, someone who has had problems with CPU use from HTTP requests could
> try whether changing the "if (revents & POLLIN) {" line to
> "if (revents & (POLLIN | POLLERR)) {" in conn.c/poll_callback affects
> that. The latter is what it says in my improved version of conn.c and
> I've never seen the CPU use problem, but I don't think I saw it with the
> old version either, so it would be nice to know whether that fixes it.

I have tested this on our testing linux system and it seems to fix the
CPU cycling problem we had detected when accessing to bearerbox's
admin page using IE and HTTP/1.1.

Thanks Uoti for the suggestion!

I'll add the fix to current cvs.

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.