From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f7bcb4ce886afc24 X-Google-Attributes: gidfee84,public From: "Sukumar Alagappan" Subject: Re: Can not spawn child process Date: 1996/10/30 Message-ID: <01bbc5fc$6ab38140$4e10d8cc@sukumar.uscom.com>#1/1 X-Deja-AN: 193106462 references: <54tsdt$mqi@judith.state.net> organization: U.S. Online, Inc. newsgroups: comp.unix.osf.osf1 > > We are running Digital Unix 3.2D and a heavely loaded > > (1M+ hits per day) Apache server. > > > > We are often getting the error: > > > > access to (snip)/cgi-bin/cashier failed (snip), reason: > > couldn't spawn child process > > > > I can not for the life of me remember what needs to be > > changed. > > > > Assistance greatly appreciated! > > > > -Steve Camp > > Try raising the maximum processes allowed per user in /etc/sysconfigtab. > > --Tony > Dear Mr.Steve Since you seem to be saying that you have a million hit every day, you may want to increase the overall system resources too, apart from the max-proc-per-user attribute(Like Mr.Tony had pointed out in his response). I would say you increase 1. the maxusers value to 64 based on your memory and License requirements. 2. The system default of 64 for max-proc-per-user is only applicable for non-root users. So if your programs are daemons that run in root privilege, increasing max-proc-per-user may not help. The system wide process limits like nproc are a function of the maxusers setting. So increasing maxusers to 64 may allot more system resources like more vnodes, more processes, more callouts, etc. When you increase this, then you got to tune other stuff like File systems to take care of Disk hits and memory hits. If you are using UFS file systems, you may want to tune the UBC buffer cache usage etc based on your system performance. It would be advisable, if you can go for some serious System tuning based on the performance analysis that you have done using some tools like Polycenter Performance Advisor from Digital These are just my thoughts. A simple change of maxusers may go a long way for you Hope this info helps you Sincerely Sukumar Alagappan