LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-09-2014, 03:15 PM   #1
noosey
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Rep: Reputation: Disabled
Exclamation su: cannot set user id: Resource temporarily unavailable


We are having the following behaviour in one of the servers. We can't connect through ssh with the user id (orawl), but we can connect to the server using differing users. Then when I try to run the su - orawl command I received the following message error:

[root@host ~]# su - orawl
su: cannot set user id: Resource temporarily unavailable

The values of the limits.conf are this:

/etc/security/limits.conf

#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4

# End of file

# Oracle
orawl soft nproc 5120
orawl hard nproc 26384
orawl soft nofile 1024
orawl hard nofile 75536

# archivo maximo de 25GB
orawl hard fsize 102760448

Not even one of the hard limits in the configuration are reached .

#Number of processes
ps -eFL | grep -i orawl | wc -l
5126

#Number of files
lsof -u orawl | wc -l
13714

Where I ' am missing ?.

Hope somebody can help me.

Thanks in advice
 
Old 12-10-2014, 09:47 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
5126 processes for that user, sounds crazy to me!
Check what those processes are, maybe some app is misbehaving and spawning lots of processes?
Then kill as many as you can.
 
Old 12-10-2014, 09:55 AM   #3
noosey
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
The process are from Java Application Server. There could be a bunch of threads spawning by the process. But in other server, for example I check the number of processes and some times are bigger than the user has in this server, but in the other server I'm able to login. The application is in cluster so the other servers that belongs to the cluster has the same limits values. It look's like that I reached one threshold but I don't know , what could be.

Thanks for your reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
su: cannot set user id: Resource temporarily unavailable onkarlale Linux - Server 6 08-25-2013 11:51 PM
C - Resource temporarily unavailable golmschenk Programming 1 03-07-2010 03:28 PM
Resource temporarily unavailable hostmaster Linux - Enterprise 2 02-14-2010 04:41 AM
"fork: Resource temporarily unavailable" for certain user yoachan Linux - Server 6 01-06-2010 08:46 PM
Resource temporarily unavailable manoj.linux Linux - Enterprise 3 11-06-2009 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration