AW: Nrpe and HPUX
Ethan Galstad
nagios at nagios.org
Fri Apr 28 18:27:50 CEST 2006
Gerhard Lausser wrote:
> Hi,
>
>> i got another one which lead to a flood of "Network server
>> accept failure"
>> under hp-ux 11.11:
>> accept() returns an error and sets errno to EAGAIN which is
>> not handled in the following lines.
>> This possibly can also happen with other operating systems,
>> as the socket is set to O_NONBLOCK.
>
> ...and now i know why i got this error under HP-UX and not the other
> operating systems.
> HP-UX defines EAGAIN and EWOULDBLOCK as different errors
> #define EAGAIN 11 /* No more processes */
> #define EWOULDBLOCK 246 /* Operation would block */
> while the others just mix them together.
> #define EAGAIN 11 /* Resource temporarily unavailable */
> #define EWOULDBLOCK EAGAIN
> As EWOULDBLOCK is handled, an EAGAIN is handled too, while under HP-UX it
> slips through.
>
> Greetings from Munich,
> Gerhard
Thanks for this. Been catching up on email, so I'll get a new release
out in a few days with this patch.
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Developers
mailing list