Solved

Linux, resouce temporarily unavailable

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

724 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