I'm running Amanda 3.1.2 on Solaris 10x86, client is not server
but both platforms are same OS and Amanda version.

To correct this error

> amcheck -c curie finsen

Amanda Backup Client Hosts Check
--------------------------------
ERROR: finsen: service selfcheck: selfcheck: error [open pipe to 
/usr/local/libexec/amanda/application/amzfs-snapshot: Too many open files]
ERROR: finsen: service /usr/local/libexec/amanda/selfcheck failed: pid 3008 
exited with code 1
Client check: 1 host checked in 201.322 seconds.  2 problems found.

(brought to you by Amanda 3.1.2)

I'm trying to increase the number of file descriptors avaiable to
the amanda processes on the client.

Recognizing that amanda processes do not invoke the shell and
will not execute .cshrc, I am trying to increase the file limit
by modifying resource controls.

[finsen/export/home] cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.amanda:10080:Amanda 
Daemons:amanda::process.max-file-descriptor=(basic,8192,deny)

This seems to be fine for interactive processes 

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

> plimit $$
5292:   -tcsh
   resource              current         maximum
  time(seconds)         unlimited       unlimited
  file(blocks)          unlimited       unlimited
  data(kbytes)          unlimited       unlimited
  stack(kbytes)         10240           unlimited
  coredump(blocks)      unlimited       unlimited
  nofiles(descriptors)  8192            unlimited
  vmemory(kbytes)       unlimited       unlimited

But this is the shell.

When we check the daemon we see a different story.

[finsen/root] plimit 26084
26084:  /usr/local/libexec/amanda/selfcheck amandad bsdtcp
   resource              current         maximum
  time(seconds)         unlimited       unlimited
  file(blocks)          unlimited       unlimited
  data(kbytes)          unlimited       unlimited
  stack(kbytes)         10240           unlimited
  coredump(blocks)      unlimited       unlimited
  nofiles(descriptors)  256             65536
  vmemory(kbytes)       unlimited       unlimited

I'm unclear as to how to increase this limit for the amandad
daemon as started by inetd.

Clearly I'm missing a step but I'm not finding the right docs.

                                                thanks,

                                                Brian
---
   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