On Wed, Jun 05, 2013 at 11:05:36AM -0400, Brian Cuttler wrote: > > Hello amanda users, > > I just updates amanda 3.3.0 to 3.3.0 on a Solaris 10/x86 system. > The system is both the server and the client, there are no other > clients of this system. > > We have ~265 DLEs on this system (large zfs arrays and all > samba shares are their own file systems and DLE, thank goodness > I was able to talk my manager out of making all user directories > their own DLE as well, though they are their own zfs file systems). > > The following errors are -not- new with 3.3.3, we've had them for > a while, I'd hoped the upgrade would take are of it. > > Also the amcheck leaves an amanda-check file around for one of > the zfs file systems (yes, configured to use zfs snapshot). [I'm > pretty sure these two errors are related to one another] > > The filesystem amanda-*-check file left is for the same filesystem > each night, unless we add/remove DLE/filesystems. So I think it is > the nth filesystem and at the limit of the open file counter, rather > than something in the file system itself. > > I was hoping there was an easy fix for this. Last I recall on the > topic it had to do with the fillm being a 32 bit rather than 64 bit > value (I could be wrong about this).
It could very well be too many files open. My research says Solaris 10 default value for "process.max-file-descriptor" is 256. Check it with "ulimit -n". Solaris maintains both a "soft" and a "hard" set of limits for some parameters. To check the hard limit try "ulimit -H -n". For process.max-file-descriptor an ordinary user can reduce the hard limit but not increase it. That user can also reduce the soft limit and can raise it to a maximum of the hard limit. To raise the soft limit try either: ulimit -S -n 1024 or something like: prctl -n process.max-file-descriptor -t basic -v 1024 -r -i process $$ These could go in amanda's .profile and that would help for login sessions, but I doubt it would help for cron started jobs. You may have to run it in a wrapper. With root access you can change the system default, but I doubt you want it changed at the system level. Maybe I'm wrong, you probably only need to change the amanda server(s). Jon -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (609) 477-8330 (C)
