Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] ulimit
- Date: Tue, 22 Jun 2004 11:03:50 +0900
- From: simon colston <simon@example.com>
- Subject: [tlug] ulimit
- User-agent: Mozilla Thunderbird 0.7 (Windows/20040616)
I'm using a Redhat 9 machine and trying to increase the number of open files available to a particular user. The default value is 1024: $ ulimit -n 1024 I added the following lines to /etc/security/limits.conf to increase this for simon. * hard nofile 8192 simon soft nofile 8192 As root, # ulimit -n 1024 # su - simon $ ulimit -n 8192 which seems OK but then I tried, $ ulimit -n 1024 $ ulimit -n 1024 $ ulimit -n 8192 -bash: ulimit: open files: cannot modify limit: permission denied I would expect to be able to reset the limit back to the hard limit set in my limits.conf. Also if I log in as simon, (without su-ing to simon from root) I get, $ ulimit -n 1024 and not the 8192 I would expect. Googling gives me plenty of pages saying that I just need to set the limits in /etc/security/limits.conf and everything should be OK but I can't find anything about the problem I've described. Cheers, Simon -- simon colston
- Follow-Ups:
- Re: [tlug] ulimit
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: RE: [tlug] Job opportunity
- Next by Date: Re: [tlug] Job opportunity
- Previous by thread: Re: [tlug] video processing software?
- Next by thread: Re: [tlug] ulimit
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links