HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] faxgetty uses 100% CPU



On Tue, Dec 28, 2010 at 4:19 AM, Francois Tigeot <ftigeot@xxxxxxxxxxxx> wrote:
> It is always repeating this CPU bound loop pattern [kdump -R output]:
>
> 0.000024 CALL  gettimeofday(0x7ffffffff850,0)
> 0.000011 RET   gettimeofday 0
> 0.000011 CALL  gettimeofday(0x7ffffffff810,0)
> 0.000010 RET   gettimeofday 0
> 0.000010 CALL  select(0x4,0x7ffffffffa00,0x7ffffffff980,0x7ffffffff900,0x595c80)
> 0.000016 RET   select 1
> 0.000022 CALL  gettimeofday(0x7ffffffff810,0)
> 0.000011 RET   gettimeofday 0
> 0.000010 CALL  read(0x1,0x7ffffffff030,0x7ff)
> 0.000012 GIO   fd 1 read 0 bytes ""
> 0.000009 RET   read 0
>
> What can I do to debug this further ?

Figure out why the kernel is saying that faxgetty should read byttes
from fd 1, and then not giving it any bytes when it read()s them.

As long as the kernel tells faxgetty there are bytes that are to be
read on fd0, it's going to try and read them.


Is that fd 1 the same fd as the modem read-writes for the initialization?

a.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions