Solved

Linux, resouce temporarily unavailable

Posted on 2012-03-30
3
1,870 Views
Last Modified: 2012-06-21
I am running RHEL 6.2

I am getting the following problem:

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

Open in new window


I check some resources, but everything seems fine

[root@nevada02 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:         96722       9524      87198          0         72       5295
-/+ buffers/cache:       4156      92566
Swap:        66411          0      66411
[root@nevada02 ~]#
[root@nevada02 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_nevada01-lv_root
                      51606140  12805392  36179308  27% /
tmpfs                 49522152         0  49522152   0% /dev/shm
/dev/sda2               495844     62353    407891  14% /boot
/dev/sda1               204580       256    204324   1% /boot/efi
/dev/mapper/vg_nevada01-lv_home
                      21867732   8830052  11926848  43% /home

Open in new window


What should I investigate
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
gnemi earned 500 total points
ID: 37789818
Please do 'ulimit -a', 'ps -U mqm | wc -l', 'lsof | grep mqm | wc -l' and paste the results.

Also, check in /etc/security/limits.conf
0
 

Author Comment

by:Los Angeles1
ID: 37801320
Here it is:

[root@hostname02 log]# 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) 773633
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
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
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
[root@hostname02 log]#
[root@hostname02 log]#
[root@hostname02 log]# ps -U mqm | wc -l
1
[root@hostname02 log]#
[root@hostname02 log]#
[root@hostname02 log]# lsof | grep mqm | wc -l
1412
[root@hostname02 log]#

Open in new window

0
 
LVL 3

Expert Comment

by:gnemi
ID: 37809152
The max open files limit is set to 1024 but mqm is over that at 1412.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question