[torquedev] Re: [torqueusers] Torque 2.3.1-snap.200805191843 out of filedescriptor errors (REPLACEMENT PATCH)

Chris Samuel csamuel at vpac.org
Wed May 28 06:50:34 MDT 2008


----- "Chad Vizino" <vizino at psc.edu> wrote:

> > Fix: src/resmom/linux/cpuset.c
> > at line 67, remove "!" before cpuset_delete(childpath)

That's been fixed, though I've found a new location (404 in
my source) where the call to cpuset_delete is wrong as it
assumes it failed if the call returned 0, whereas rmdir(2)
returns 0 for success.

Attached my new patch that includes that fix, thanks Chad!

cheers,
Chris
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fix-missing-closes-in-cpuset.diff
Type: text/x-diff
Size: 863 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20080528/e4f0d10a/0003-fix-missing-closes-in-cpuset.bin


More information about the torquedev mailing list