[torquedev] [Bug 76] New: blocking read does not time out using signal handler

Michael Barnes Michael.Barnes at jlab.org
Tue Aug 10 07:02:11 MDT 2010



Isn't this actually due to TORQUE not having non-blocking sockets
which is a global problem and not isolated to this routine?

Forgive me if I didn't hear a resolution on this issue.

A week or two ago someone found in ./lib/Libifl/nonblock.c where the
fcntl(fd,F_SETFL,flags) where flags included the bit to set
the file descriptor to being non-blocking was commented out, and
TORQUE hasn't done non-blocking reads in years.  AFAIK, the non-blocking
patches came from OSC back in the OpenPBS days.

-mb

On Aug 9, 2010, at 6:36 PM, bugzilla-daemon at supercluster.org wrote:

> http://www.clusterresources.com/bugzilla/show_bug.cgi?id=76
> 
>           Summary: blocking read does not time out using signal handler
>           Product: TORQUE
>           Version: 2.6.x
>          Platform: All
>        OS/Version: All
>            Status: NEW
>          Severity: major
>          Priority: P5
>         Component: libtorque
>        AssignedTo: glen.beane at gmail.com
>        ReportedBy: will at headlandstech.com
>                CC: torquedev at supercluster.org
>   Estimated Hours: 0.0
> 
> 
> Created an attachment (id=50)
> --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=50)
> patch to enable timing out on blocking read
> 
> As per:
> 
> http://www.supercluster.org/pipermail/torqueusers/2010-August/011198.html
> 
> A patch for src/lib/Libifl/pbsD_connect.c is attached.  Tested locally and
> verified.  Now if the error message is seen in the maui log, at least it will
> timeout after 9 seconds (or whatever the timeout value is set to) and be able
> to continue.
> 
> -- 
> Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

--
+-----------------------------------------------
| Michael Barnes
|
| Thomas Jefferson National Accelerator Facility
| Scientific Computing Group
| 12000 Jefferson Ave.
| Newport News, VA 23606
| (757) 269-7634
+-----------------------------------------------






More information about the torquedev mailing list