Solved

Linux, resouce temporarily unavailable

Posted on 2012-03-30
3
1,837 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
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
gnemi earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
The max open files limit is set to 1024 but mqm is over that at 1412.
0

Featured Post

NetScaler Deployment Guides and Resources

Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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 …

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now