Re: how to set permanent ulimit

2010-01-27 Thread Alex Samad
On Wed, Jan 27, 2010 at 07:15:19AM +0100, Vadkan Jozsef wrote: sorry:D i wanted to write: it's not working. :\ what happens when you type ulimit -a plus you need # Sets up user limits according to /etc/security/limits.conf # (Replaces the use of /etc/limits in old login) session

how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit to be permanently 10240? It would be important! :S Thank you :\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: how to set permanent ulimit

2010-01-26 Thread Boyd Stephen Smith Jr.
On Tuesday 26 January 2010 11:54:49 Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ulimits is an inheritable aspect of processes, like an environment variable. The ulimit command is actually a shell built-in that tell the shell process to increase its limit.

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 12:54:49 -0500, Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit to be permanently 10240? It would be important! :S Thank you :\ man bash

Re: how to set permanent ulimit

2010-01-26 Thread Alex Samad
On Tue, Jan 26, 2010 at 01:47:31PM -0500, Stephen Powell wrote: On 2010-01-26 at 12:54:49 -0500, Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit to be

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 14:40:23 -0500, Alex Samad wrote: have a look at /etc/security/limits.conf I have 2 lines in there that are not commented @user hard nofile 2048 alex hard nofile 4198 That works! I modified my /etc/security/limits.conf file and added the following entry: *

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
so the question still is: how can I set ulimit to be permanent? e.g.: 10240 after reboot? :D there's no way for it?:O On k, 2010-01-26 at 15:42 -0500, Stephen Powell wrote: On 2010-01-26 at 14:40:23 -0500, Alex Samad wrote: have a look at /etc/security/limits.conf I have 2 lines in there

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 15:53:37 -0500, Vadkan Jozsef wrote: so the question still is: how can I set ulimit to be permanent? e.g.: 10240 after reboot? :D there's no way for it?:O I believe that Alex and I just told you, in effect. But if you need detailed instructions, OK. :-( First of all, it

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
16:44:33 -0500 (EST) Subject: Re: how to set permanent ulimit On 2010-01-26 at 15:53:37 -0500, Vadkan Jozsef wrote: so the question still is: how can I set ulimit to be permanent? e.g.: 10240 after reboot? :D there's no way for it?:O I believe that Alex and I just told you, in effect

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
it to affect all members of a group, use an at sign (@) in front of the group name, such as @sys. - Original Message - From: Stephen Powell zlinux...@wowway.com To: debian-user@lists.debian.org Sent: Tue, 26 Jan 2010 16:44:33 -0500 (EST) Subject: Re: how to set permanent ulimit On 2010

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-01 at 19:04:22 -0500, Vadkan Jozsef wrote: i wrote this two lines: *hardnofile10240 *softnofile10240 in /etc/security/limits.conf, reboot but its now working. That does not make sense. Do you mean and it's now working, or do you mean but it's not

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
sorry:D i wanted to write: it's not working. :\ On k, 2010-01-26 at 19:42 -0500, Stephen Powell wrote: On 2010-01-01 at 19:04:22 -0500, Vadkan Jozsef wrote: i wrote this two lines: *hardnofile10240 *softnofile10240 in /etc/security/limits.conf, reboot