Bug#500946: apf-server: consumes lots of cpu in busy loop

2008-10-02 Thread José Carlos Benfati
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

Bug#500946: apf-server: consumes lots of cpu in busy loop

2008-10-02 Thread Juan A. Diaz
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