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

Garrick Staples garrick at usc.edu
Tue Aug 10 12:55:54 MDT 2010


That was me.

Someone needs to enable that flag and see what breaks.

On Tue, Aug 10, 2010 at 09:02:11AM -0400, Michael Barnes alleged:
> 
> 
> 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
> +-----------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20100810/0463f0fa/attachment.bin 


More information about the torquedev mailing list