In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.