I am installing a statistical applicaton and for its web components it is a listed requirement that I have soft limits of files (20480) and no of processes (soft t o 10240). I am on RHEL 6.1.
As root I made the following changes in /etc/security/limits.conf
Code:
* soft nproc 10240
* hard nproc 35000
* soft nofile 20480
* hard nofile 60000
However my deployment keeps failing. On checking I see these values still
Code:
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 62538
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 20480
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 1024 #<---------this one wont chg
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I log out, restart deployment from scratch but so far no good. I am not an admin so I am sure I am missing something.
I searched this forum but did not find much under nproc keyword search.
Thank you in advance,
Last edited by Scott; 09-09-2013 at 02:47 PM..
Reason: Code tags, please...
Thank you for the answer and your time, I am indeed using ssh to access. I have no way to access the terminal directly...so now further will try to find out how to find if priv separation is indeed enabled and how to disable it. I did run the couple of cmds listed in the bug track:
Code:
ulimit -H -u = 35000 & ulimit -S -u 1024
were my outcomes.
TY again.
---------- Post updated at 01:46 PM ---------- Previous update was at 01:36 PM ----------
Did find /etc/ssh and sshd_config in there, the priv line is commented out...what does that mean?
Code:
#UsePrivilegeSeparation yes
I am afraid this where my any adv knowledge ends and do not want to mess things...if any could suggest what else to check...I would be grateful.
One question I did not ask, normally does one need to reboot server after limits.conf change? I read that it is not needed (RHEL 6.1/6.2)? That change is effective immediately.
You should also have kernel.pid_max = 65535 in /etc/sysctl.conf (higher than the 35000 limit, and lower than 99999 to avoid problems with some tools).
And there are some tools that do not like the 35000 limit: e.g. sshd at least will take a long time to start/fork (time to close all 35000 file handles).
Last edited by MadeInGermany; 09-09-2013 at 04:39 PM..
I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ...........
Thanks in Advance:b: (3 Replies)
Can I change the filesystem in redhat w/o reformating it? For example
/dev/sda2 145G 188M 137G 1% /uo1
/dev/sdb1 289G 191M 274G 1% /uo2
/dev/sdb2 289G 191M 274G 1% /uo3
uo1, uo2, uo3 shuld be u01, u02, u03.
No one is using the server yet.
thanks (1 Reply)
I had the query of what would be the right approach to change the time on the RHEL server. I have the following ways to do that:
1)
# date -s "2 OCT 2006 18:00:00"
Or
# date --set="2 OCT 2006 18:00:00"
2)
# date +%Y%m%d -s "20081128"
The second option though would only change... (4 Replies)
I am being pushed from AIX onto RHEL 6 and after our first 'chuck it on' install, I have a problem. Where is the old (okay insecure) telnet & ftp server? I know that they are probably regarded as archaic now, but the source servers do not have the SSH tools, so I've got to somehow transfer the... (4 Replies)
Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured
server:
/etc/hosts.allow:
all : all
all :all@all
setup my /etc/exports file... (4 Replies)
Hi
I would like to know how to do virtualization in Rhel 5.3 and Cent os 5.3, As i am new this Virtualization need guidence how to install and configure guest os in Rhel and Cent Os
can some one guide me step by step
Regards
Solaris8in (1 Reply)
Hello All,
In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below:
# mpdcontrol -noxlist
Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Is there another way to install updates on RHEL besides using the up2date utility?
I have some systems that are not accessible to the internet.
So, when I look for the updates that are supposed to be for my system, i dont even know where to go to download them? it just keeps bringing me to... (1 Reply)
I have edited the snmpd.conf file on RHEL3, I changed:
com2sec notConfigUser default public
to :
com2sec notConfigUser default new_string_name
BUT, when my security guy scans the box, is still answers to public, I restarted snmpd.
Is there more to this than just changing... (0 Replies)