adaptivecomputing / torque

Torque Repository
Other
250 stars 141 forks source link

2.5.x: ../Libifl/nonblock.c:write_nonblocking_socket() - may block when serving client requests #85

Open lflis opened 11 years ago

lflis commented 11 years ago

This happens not very often but still. Torque 2.5.x can hang for a long time when serving client request (with blocking socket) and client stops reading for some reason.

More info: http://www.clusterresources.com/pipermail/torqueusers/2013-January/015476.html

Potential fix: https://github.com/lflis/torque/commits/2.5-write_nonblock_fix

In production for 2 weeks now.

lflis commented 11 years ago

this patch requires configure file to be regenerated as we added SO_SNDTIMEO check there