From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006753.tru64-unix-managers.marc@archive.invalid> From: Ken Mayer Date: Thu, 23 Nov 1995 00:10:56 +0000 To: tru64-unix-managers Subject: STATUS: amanda & dump -- running out of semaphores X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006753 This is an interim update on my problem getting Amanda 2.2.6.6 to work on my Alpha 3000/500 running OSF/1 3.2. The problem is that Amanda starts up dump in sendsize-dump just long enough to get the tape estimate, then it kills the process. dump, being what it is, creates 3 semaphores and 1 shared memory segment that it does not release when terminated this way, so it leaves cruft around. By default OSF/1 3.2 allows a maxium of 16 semaphores per process (I think). So after Amanda does 5 estimates, the table is full for the backup user id. By adding the following lines to the kernel config file, rebuilding the kernel and rebooting, I got enough room in the semaphore table to run Amanda. Problem is, now I need to run a clean up script to remove all the old semaphores before the next Amanda run starts. (hack, gag, cough). Here are the mod's I put in my kernel config: semmni 90 semmns 200 semmsl 60 Here's a URL with a good summary of the problem and info on what the kernel parameters mean: http://www.ornl.gov/cts/archives/mailing-lists/alpha-osf-managers/1994/10/msg00269.html From: Phil Newman suggested setting semmsl to 2500, but that seems (possibly) extreme. He may be right though. I'll wait and see what tonights dump brings. Thanks to all the people that offered help and to ORNL for archiving the Alpha OSF Managers mailing list! Have a Happy Thanksgiving! Ken Mayer