[3577] in testers
IRIX 6.3 setrlimit problem
daemon@ATHENA.MIT.EDU (Robert A Basch)
Fri Jun 12 19:21:01 1998
To: testers@MIT.EDU
Date: Fri, 12 Jun 1998 19:20:54 EDT
From: Robert A Basch <rbasch@MIT.EDU>
I noticed in SYSLOG that named complains at start-up:
Jun 11 21:06:01 4D:aupair named[151]: setrlimit(max data size): Invalid
argument
From looking at the code, it seems that all named is doing here is
re-setting the existing limit, as returned by getrlimit(). I wrote a
test program to do the same, and sure enough, it's broken:
getrlimit(RLIMIT_DATA) returns values of 0x80000000, and a setrlimit()
with these same values gives "Invalid argument". Changing the values
to 0x7fffffff works...
[6.2 does not have the same problem; the getrlimit() returns values of
0x20000000].
There does not appear to be a patch for this problem, so I guess I'll
report it to SGI...
Bob