[torqueusers] [torquedev] torque: 2.5.x and blocking sockets

"Mgr. Šimon Tóth" toth at fi.muni.cz
Fri Jan 25 15:15:37 MST 2013


> Any one can confirm such pbs_server hangs has been seen around the globe?

Yup, we had this issue. Trivial to fix though.

Just add this around the write in the code:

#define WFLUSH_TIMEOUT 60
alarm(WFLUSH_TIMEOUT);
i = write(fd, pb, ct);
alarm(0);

You may need to modify the code slightly, we are using a heavily patched 
fork of Torque.

-- 
Mgr. Simon Toth



More information about the torqueusers mailing list