Hi Jon,

On Mon, Dec 20, 2010 at 04:35:26PM -0500, Jon LaBadie wrote:
> On Mon, Dec 20, 2010 at 03:44:19PM -0500, Brian Cuttler wrote:


> Is there any indication that amanda runs csh for anything?
> Is there any indication that the .cshrc actually runs?

No, I don't think it does, which is why I used the
attributes settings rather than the shell settings.

I was using the shell only to verify that the limit had
been raised, and it had. I did NOT have redundant settings
in both /etc/user_attr and .cshrc.


> I ask as there is no need for something invoked as a service
> to ever "login" or ever run a shell.  But maybe 'user_attr'
> takes care of this.

I haven't used user_attr often but have used it for instance
to set values for oracle daemons.


> Are you hitting a hard system limit for file table size?
> Probably not, nor do I know how to check with csh.
> Ksh uses ulimit rather than 'limit'.  By default it
> displays the soft limit (also option -S) but with
> the -H option will show the systems hard limits.
> Here are the two for my system (ulimit calls the file
> table limit "nofiles" (number of open files).

Looks like I raised the soft limit on an otherwise 
unlimited value.

$ uname -a
SunOS finsen 5.10 Generic_138889-03 i86pc i386 i86pc

$ id
uid=110(amanda) gid=3(sys)

> ksh
$ ulimit -a -S
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        10240
coredump(blocks)     unlimited
nofiles(descriptors) 4096
vmemory(kbytes)      unlimited

$ ulimit -a -H
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        unlimited
coredump(blocks)     unlimited
nofiles(descriptors) unlimited
vmemory(kbytes)      unlimited

I guess I could just increase the soft limit again, but it
would be nice to know where the upper bound was and 'why'.

> -- 
> Jon H. LaBadie                  [email protected]
>  JG Computing
>  12027 Creekbend Drive                (703) 787-0884
>  Reston, VA  20194            (703) 787-0922 (fax)
---
   Brian R Cuttler                 [email protected]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to