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

-bash: ulimit: pipe size: cannot modify limit: Invalid argument

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

-bash: ulimit: pipe size: cannot modify limit: Invalid argument

The problem shown in the title occurs when switching from a root user to an Oracle user.

Solution: under Oracle, the vi editor opens the / etc/profile file.

There is a paragraph when configuring the file:

If [$USER = "oracle"]; then

If [$SHELL = "/ bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

Add spaces on both sides of the "=" of the first and second lines, so you ok!

Pay attention to the spaces between parameters

The following is the meaning of each line

If the user is oracle, user shell= "/ bin/ksh"

Ulimit-p 16384 limits the size of the pipe buffer to 16384

Ulimit-n 65536 indicates that the maximum number of file descriptors that can be opened is 65536

Ulimit-u 16384 limits users to a maximum of 16384 processes

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

Database

Wechat

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

12
Report