[4052] in testers
/bin/athena/tcsh "unlimit" fails
daemon@ATHENA.MIT.EDU (Mark W. Eichin)
Wed May 19 20:46:30 1999
Date: Wed, 19 May 1999 20:46:20 -0400 (EDT)
Message-Id: <199905200046.UAA04414@opus.mit.edu>
From: "Mark W. Eichin" <eichin@opus.mit.edu>
To: testers@MIT.EDU
Machine with the problem: opus.mit.edu...
Athena Server (sgi) Version 8.3.2 Wed May 19 05:19:07 EDT 1999
% attach | grep dev-
dev-sgi-inst-83 /install root n,nosuid
dev-sgisys-83 - root -,nosuid
dev-sgi-srvd-83 /srvd root n,nosuid
dev-sgi-os-83 /os root n,nosuid
The problem:
% unlimit
unlimit: datasize: Can't set limit
unlimit: stacksize: Can't set limit
unlimit: memoryuse: Can't set limit
unlimit: vmemoryuse: Can't set limit
unlimit: descriptors: Can't set limit
% unlimit stacksize
unlimit: stacksize: Can't set limit
% unlimit stacksize; echo $?
unlimit: stacksize: Can't set limit
% echo $?
1
Note an important point in the last case: when the unlimit fails, it
*doesn't* run the command that follows; this is just a random symptom
of "tcsh builtins never work right", but also means that putting in a
workaround like
unlimit stacksize || true
in my .login to attempt to keep it from aborting can't actually work.
Suggestions:
Marc points out that this came up on tcsh-dev within the last
couple of weeks; apparently the author doesn't have access to an Irixi
6.5 machine, but may be able to fix the problem if he does...