How to confirm that I've reached the nproc limit?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to confirm that I've reached the nproc limit?
# 1  
Old 02-26-2015
How to confirm that I've reached the nproc limit?

Hi,

I am getting the error
Code:
su: cannot set user id: Resource temporarily unavailable.

In limits.conf, it shows soft nproc 2047 for this user.
Code:
ps H -u [username] | wc -l

shows 508 processes only.

Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga)

Any advice will be much appreciated. Thanks

Last edited by Don Cragun; 02-26-2015 at 02:59 AM.. Reason: Add CODE and ICODE tags.
# 2  
Old 02-26-2015
It's actually a thread (lwp) limit. Display them with -l
Code:
ps -lfu [username]

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies

2. AIX

Need to confirm something regarding TL upgrades

Hi everyone, My current AIX OS level is "7100-01-06-1241" and I am planning to upgrade it to " 7100-02-03 ". Can i directly upgrade it to "7100-02-03" from 7100-01-06" ? or first i need to upgrade the "7100-01-06" LPAR to TL 02 and then reboot and then upgrade it to TL 02 SP03 ? ... (4 Replies)
Discussion started by: System Admin 77
4 Replies

3. UNIX for Dummies Questions & Answers

Nofiles & nproc change on RHEL not taking effect

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 * soft nproc 10240 * hard nproc... (4 Replies)
Discussion started by: rsheikh01
4 Replies

4. Shell Programming and Scripting

Put the appropriate value if reached the condition

i have a file as below: ? ? ? ? 20060101 DHR ? ? ? ? 20060101 1316 30.90 KOM ? ? ? ? 20060101 1317 7.20 DHR ? ? ? Pg ? 20060101 1316 27.32 DHR ? ? ? Sg ? 20060101 1316 30.52 ? ? ? ? 20060101 MRD ? ? ? ? 20060101 1355 46.12 SHB ? ? ? ? 20060101 1355 40.90 HSH ? ? ? Pn ?... (2 Replies)
Discussion started by: oreka18
2 Replies

5. Solaris

Limit: stacksize: Can't remove limit

Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine? Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies

6. UNIX for Advanced & Expert Users

NTP server can not be reached

hello Guys, I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message; Code: ntpq -p ntpq: read: Connection refused Here this is the ntp.conf file: Code: cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Discussion started by: dyavuzy1
1 Replies

7. UNIX for Dummies Questions & Answers

stunnell log file has reached its limit

Please help! I am really new to Linux, and my colleague who usually deals with these things isnt here to help me out. We are running Scalix mail services on CentOS 6.0. Email users with IMAP folders are getting an error message stating the server cannot be reached, however POP3 mail users are... (13 Replies)
Discussion started by: beckyboo
13 Replies

8. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

9. Solaris

Max LUN reached ? (Securepath)

Hi all, I can not present a new Lun with my EVA 5000 storage and Securepath ... I have already 16 Lun's presented to the same server (Solaris 8), but can not add the 17th :-( Do you know if we have a limitation with Solaris or Securepath ? (Config file to update, software limits ...) ... (3 Replies)
Discussion started by: unclefab
3 Replies

10. Shell Programming and Scripting

Confirm before delete.

I have a script that archive files then delete.How do Its working fine,however,before I perform the delete operation,I want to verify that indeed the FILE is in the path of folder I want to archive. For example,I have a path /A/B I want all files in B to be archived,the scripts lists all the... (5 Replies)
Discussion started by: kayarsenal
5 Replies
Login or Register to Ask a Question