From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,52c78d41abeacf87 X-Google-Attributes: gidfee84,public From: mogul@actitis.pa.dec.com (Jeffrey Mogul) Subject: Re: task_create failed (maxuprc=64) ? Date: 1998/04/29 Message-ID: <6i5vkr$8dm@usenet.pa.dec.com>#1/1 X-Deja-AN: 348602993 References: <6i4put$o65$1@news.kornet.nm.kr> Organization: DEC Western Research Newsgroups: comp.unix.osf.osf1 In article <6i4put$o65$1@news.kornet.nm.kr>, jeong wung kee writes: |> Alpha 4100 with OSF 4.0b is running here. |> I have two questions in my mind. |> |> ONE IS : How can I enlarge the number of maxuprc which currently |> set to 64, should I rebuild kernel ? It is not necessary to rebuild the kernel. Complete instructions for increasing the maximum number of processes per user are available at http://www.digital.com/internet/document/ias/tuning.html#max-proc-per-user The document is about tuning Digital UNIX for Web servers, but you may find that it provides useful information for other applications. |> TWO IS : Is there a way to tell how many files are being open by |> a user and is there any way to change the limit of the |> allowance ? The open-max-soft and open-max-hard parameters can be used to limit the number of file descriptors per process (but not for a specific user). The value of open_max_soft is the default per-process limit. A process can increase its soft limit up to its hard limit using setrlimit. See the "System Tuning and Performance Management" manual for more information. As far as I know, there is no easy way to tell how many files a user has open. You might be able to use the public-domain "lsof" command, but I would not count on it. -Jeff