El jue, 02-10-2008 a las 17:32 -0300, José Carlos Benfati escribió:
> Package: apf-server
> Version: 0.8.2-1
> Severity: normal
> Tags: patch
> 
> Consumes lots of cpu while waiting for bytes from the afclient connection.
> Strace shows a select, a read of 5 bytes from the afclient socket and then a
> loop of read(2) returning EAGAIN.
> 
> The following patch to src/network.c tries to fix the problem, but isn't a
> perfect solution. With this patch afserver will not react to other sockets
> while waiting for one afclient to send all data it needs.
> 
> 545a546,549
> >     fd_set rfd;
> >     FD_ZERO(&rfd);
> >     FD_SET(fd, &rfd);
> >     select(fd+1, &rfd, NULL, NULL, NULL);
> 
> As far as I could check the source file, the problem happens with the lenny
> version also.
> 
> -- System Information:
> Debian Release: 4.0
>   APT prefers stable
>   APT policy: (990, 'stable'), (500, 'testing')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.24-1-686
> Locale: LANG=pt_BR.ISO8859-1, LC_CTYPE=pt_BR.ISO8859-1 (charmap=ISO-8859-1)
> 
> Versions of packages apf-server depends on:
> ii  libc6                  2.7-13            GNU C Library: Shared libraries
> ii  libssl0.9.8            0.9.8g-13         SSL shared libraries
> ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime
> 
> apf-server recommends no packages.
> 
> -- no debconf information
> 

Thanks for the report, I'm sending the report to the upstream.


Thanks/Obrigado/Gracias.


nueces...

-- 
Juan A. Diaz




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to