Increase maxuproc value

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Increase maxuproc value

Hi Guys,

I am running RHEL6 and now my processes reach maximum limit.

How do I increase the maxuproc value?

Can I increase the value without rebooting the server?

Thanks in advance...

Please Help!!!
# 2  
Hello Phuti,

It would be better to know why you have reached the limit rather than just increasing it. How have you set this limit so far, or is it the default? How many processes do you have, and why do you think you have run out?

My main concern is that something has gone into a loop and is generating processes all the time, so if increasing the limit without a boot is possible, then you will just have the problem growing. The limit is there to try to protect your system from something going wrong.

Has something recently changed for this server, e.g. has it now become production and therefore it's under untested load perhaps?

I think that the value can only be set at boot time, so it might be (I'd need to check) an update to the configuration, a kernel build and a boot to bring it in. If it was Solaris then i think it's simply a file update, but again a boot to bring it in. I think that AIX has them all set to maximum anyway.

If you can elaborate a little more, then we might be able to find a better solution.

Kind regards,
This User Gave Thanks to rbatte1 For This Post:
# 3  
iirc, it's either /etc/security/limits.conf or a sysctl value.
This User Gave Thanks to CarloM For This Post:
# 4  
It is nproc in /etc/security/limits.conf or /etc/security/limits.d/*
This per-user limit is for threads (LWPs, light-weight-processes) rather than processes.
RHEL 6 ships with
 rpm -qf /etc/security/limits.d/90-nproc.conf
 cat /etc/security/limits.d/90-nproc.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     1024
root       soft    nproc     unlimited

We set this to 9000 on our servers.

Last edited by MadeInGermany; 01-05-2015 at 03:53 PM..
This User Gave Thanks to MadeInGermany For This Post:
# 5  
You might want check out this thread regarding nproc in RHEL 6.3 or later.

I was scratching my head other day when java app server failed to work properly cause of this bug.
This User Gave Thanks to Peasant For This Post:
# 6  
Thanks guys for the application is not closing the sessions.

It will not be useful for me to increase the nproc.

We have to deal with the root cause.

Thanks a lot
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #119
Difficulty: Easy
The Single UNIX Specification (SUS) is a standard for Unix systems to qualify and have permission to use the UNIX certification mark.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Maxuproc parameter and number of processes

Hi there, I am having a problem on an AIX server running a WebSphere MQ instance. The problem is that sometimes it seems to reach process limit, but I do not find the processes themselves. What I see: succeed to log in (as root from console os as nonpriviliged user via ssh). Trying to run... (19 Replies)
Discussion started by: trifo75
19 Replies

2. UNIX for Dummies Questions & Answers

Maxuproc and limit

// AIX 6.1 & Power 7 server I have maxuproc set to 16384. lsattr -El sys0 -a maxuproc maxuproc 16384 Maximum number of PROCESSES allowed per user True What is the maximum number of maxuproc we can go for? If I increase maxuproc to the higher number, what would be ramifications? I... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

3. AIX

Maxuproc vs ulimit -u [processes(per user)]

Morning, Somebody can tell me in AIX 6.1 what is the different between the maxuproc (lsattr -El sys0 | grep max) and the for a user. Example: Oracle is limited by : #ulimit -u processes(per user) unlimited But lsattr -El sys0| grep maxuproc show me : maxuproc 16384 So... (1 Reply)
Discussion started by: bacup540
1 Replies

4. UNIX for Dummies Questions & Answers

Increase size to sd[b-c]

hi guys I am working on my vmware workstation. I have a /dev/sdb which is 5GB. I am using LVM. Now I increase /dev/sdb 2 more GB. fdisk -l shows 7 GB but pvscan still shows 5GB. how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies

5. AIX

How can I increase a PV?

Hi, I have a 10GB iSCSI LUN attached to an AIX 5.3 system. I increased the LUN to 15GB, but the system is still showing 10GB as the Total Size. How can I get the OS to see the extra space? Do I have to reboot the system? (2 Replies)
Discussion started by: bbbngowc
2 Replies

6. Shell Programming and Scripting

Increase Performance

I have written a code using AWK & sed to compare two files. The structure of the files is like this" Format is this: <bit code> <file code> <string> Follwoed by any numbers of properties lines whic start with a "space" 10101010101111101 XX abcd a AS sasa BS kkk 1110000101010110 XX... (1 Reply)
Discussion started by: sandeep_hi
1 Replies

7. AIX

How to increase capacity?

Hello everybody, is a very simple question how can I increase the capacity of a disk wich is on a DS4300?, I have done the procedure on the Storage Manager but the space is the same on the AIX (5.3) , what should I do to obtain the new ammount of disk space? (16 Replies)
Discussion started by: GermanSkull
16 Replies

8. Solaris

how to increase fs

hi, i installed solaris 9 on my v240 server on 36gb disk. here are the ouputs of the df -h command: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 9.6G 3.4G 6.1G 36% / /proc 0K 0K 0K 0% /proc mnttab ... (6 Replies)
Discussion started by: xuc_xich_duc
6 Replies

9. UNIX for Dummies Questions & Answers

File increase

Sorry im really new here this is my second post today! My question is, im trying to write a script and i want to output to a text file but i want each text file to be different so for instance log.txt, log1.txt, log2.txt ect how would i do that? (7 Replies)
Discussion started by: chapmana
7 Replies

10. HP-UX

increase size

Hi All, one of the mount point in Hp ux server has reached 95% its a data base file and can not be deleted. so i want to know how to increase the size of mount point i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies

Featured Tech Videos