Solved

Linux, resouce temporarily unavailable

Posted on 2012-03-30
3
1,844 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

895 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

15 Experts available now in Live!

Get 1:1 Help Now