Section 1 : Building from Source Code

Q102: Why is faxq maxing out CPU?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
Why is faxq maxing out CPU?

... I'm running Solaris 2.4 X86. Compiled hylafax with gcc/g++ 2.7.0. When I first run faxq it does not max out the CPU until I send the first fax. From then on it uses 99% of the CPU.

A.
Solaris 2.4 X86 (as some other Unixes) has the FIFO-select bug. This bug causes faxq looping select(2) after the proc writing the FIFO has terminated. The workaround is setting
CONFIG_OPENFIFO="O_RDWR"
in config.site, removing port.h, re-configuring and re-building the faxserver.

BTW: There also other systems having this bug; e.g.: Linux kernels post 1.3.78


 Back to FAQ Index FAQ Index  Next question in List Q103: Building Hylafax For Unixware?
faq@hylafax.org. Last updated $Date: 1999/12/15 01:24:42 $.