[Bug 956] New: HylaFAX faxgetty on FreeBSD taking 100% CPU
[email protected] Fri, 4 Jul 2014 18:55:06 -0400
| Newsgroups | gmane.comp.telephony.fax.hylafax.devel |
|---|---|
| Message-ID | <[email protected]/> |
http://bugs.hylafax.org/show_bug.cgi?id=956
Summary: HylaFAX faxgetty on FreeBSD taking 100% CPU
Product: HylaFAX
Version: 6.0.6
Platform: All
OS/Version: FreeBSD
Status: NEW
Severity: minor
Priority: P4
Component: faxgetty
AssignedTo: [email protected]
ReportedBy: [email protected]
Daren Russell reports the below on hylafax-users. This is not thought to be a
bug in HylaFAX, but documenting here for completeness. -d
Hi
I have just installed hylafax 6.0.6 on FreeBSD 10 from ports, and on
running the faxgetty process climbs and stays at 100% CPU. It seems
other FreeBSD users have had a similar experience according to a PR that
was opened. On a previous release it worked ok, but the server died
(BSD 8.2) and I can not remember what version of Hylafax it was running.
I've asked on the FreeBSD list about this and it was suggested there
might a a bug, quoting the reply from Konstantin (who I have Cc'd with
this email)
"I once looked at the source code of the program, and the ktrace reports
in the mentioned PR 166071 are consistent with what I remember I saw in
code, as well as what was discussed at that time.
If you look at the kdump, you note the series of read(2) syscalls on the
same FIFO, which return 0, the indicator of the EOF. AFAIR, the Hylafax
code does not check for the EOF condition and just spins trying to
read more data. Select(2) returns the fd for EOF'ed FIFO ready, because
the read(2) indeed does not block at EOF."
I unfortunately know absolutely nothing about these things, but if
somebody could give their thoughts and insights into this, maybe the
root cause can be found and fixed.
Thanks
Daren
--
Configure bugmail: http://bugs.hylafax.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
____________________ HylaFAX(tm) Developers Mailing List ____________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null