Re: [CentOS] ulimit [SOLVED]

2010-04-11 Thread Miguel Medalha
I know it works because I just tested it and it survived the server's reboot. I ran ulimit -a and the new value was there. ...from a login shell. If you don't have a login shell /etc/profile isn't read on bash startup. In my case, I am doing the change because of Samba. When you

Re: [CentOS] ulimit [SOLVED]

2010-04-11 Thread aurfalien
I know it works because I just tested it and it survived the server's reboot. I ran ulimit -a and the new value was there. ...from a login shell. If you don't have a login shell /etc/profile isn't read on bash startup. In my case, I am doing the change because of Samba. When you run

Re: [CentOS] ulimit [SOLVED]

2010-04-11 Thread Keith Keller
On Sun, Apr 11, 2010 at 03:49:04PM +0100, Miguel Medalha wrote: In my case, I am doing the change because of Samba. When you run tesparm, the lastest versions of Samba give the following warning: rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) When I add the line

Re: [CentOS] ulimit [SOLVED]

2010-04-11 Thread aurfalien
In my case, I am doing the change because of Samba. When you run tesparm, the lastest versions of Samba give the following warning: In any case, if surviving the boot process is desired, the changes should specifically be tested at boot, not just from a root login shell. This issue trips up

Re: [CentOS] ulimit [SOLVED]

2010-04-10 Thread Miguel Medalha
I need to to change the ulimit to 16384(ulimit -n 16384) on boot on Centos 5.4 64 bit. How do I do that? After replying to you, I tested the solution I gave you and it didn't work. I found a working solution. I added the following line to /etc/profile: ulimit -n 16384 This works as the

Re: [CentOS] ulimit [SOLVED]

2010-04-10 Thread Keith Keller
On Sun, Apr 11, 2010 at 03:25:47AM +0100, Miguel Medalha wrote: I need to to change the ulimit to 16384(ulimit -n 16384) on boot on Centos 5.4 64 bit. How do I do that? After replying to you, I tested the solution I gave you and it didn't work. I found a working solution. I added