[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting Ulimits by default.



On Mon, Feb 25, 2002 at 04:57:34PM -0600, Debian User wrote:
> >     My questions are:
> > 
> >     1) Is this limit established by the kernel, or the shell. 
> 	The limit is definitly extablished by the kernel
>         The operating system controls and schedules the processes 
>  
> >     2) Given the answer to 1), what is the best way to re-set it to
> >     1024 reliably--meaning that I need to do this currently to 10
> >     machines, then over the next couple months roll this out across 80
> >     or 90 machines. 
>       
>       I've never actually had to do this so I'll point to where I believe
>       you can do this
>       Have a look at /etc/security/limits.conf
>       I think 
>       *       soft   nproc       1024
>       will do what you need
>       I hope this helps 

    Yes, I found this about an hour after sending the email.

    This is exactly the file that needs changing. Now I can get 900
    apache's running at once...

-- 
Share and Enjoy. 



Reply to: