Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux switch user report Resource temporarily unavailable what to do

Shulou Source: shulou.com Published: 2022-06-01 02:48:16 10月02日 Update

This issue of the content of the editor will bring you about linux switching user newspaper Resource temporarily unavailable how to do, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.

Today, the first inspection at the beginning of the year, when entering grid to check dg, it was found that it could not be used. The specific error reports are as follows:

[root@testrac2 ~] # su-grid

Su: / bin/bash: Resource temporarily unavailable

As a result, you can see that there are too many processes and resources are limited. Check the following files:

Check resource limits:

[root@testrac2 ~] # cat / etc/security/limits.conf

Oracle soft nproc 2047

Oracle hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

Oracle soft stack 10240

Grid soft nproc 2047

Grid hard nproc 16384

Grid soft nofile 1024

Grid hard nofile 65536

Grid soft stack 10240

Check the actual process

[root@testrac2 ~] # ps-U grid | wc-l

2100

[root@testrac2 ~] # lsof | grep grid | wc-l

31972

[root@testrac2 ~] # ps auxww | grep-I grid | wc-l

one hundred and six

By comparison, it is found that the value set by grid soft nproc is a little small and must be increased.

Adjust grid soft nproc to 4097 save.

When you switch again, the problem is gone.

The above is the editor for you to share the linux switch user newspaper Resource temporarily unavailable how to do, if there happen to be similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Check switch what to do users content resources processes analysis restrictions professional small and medium rich in content actually that is files articles more thus knowledge for the first time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi OPPO Reno Shulou Information Huawei