Solved

Linux, resouce temporarily unavailable

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vm server with sound card 3 76
VCenter migration issue 10 54
VSphere Alerting 1 40
vSphere console cannot view full desktop window ? 8 31
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

803 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