Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux switch user report Resource temporarily unavailable what to do

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report