1. In the Linux system, when installing applications such as elastic search and Solr, the Linux system will prompt various installation failures due to various restrictions. Here are some problems encountered.
2. Various restrictions
1. View all system restrictions
ulimit – A
2. Modify the limit on the number of open files
phenomenon:
***[WARN]***Your open file limit is currently 1024. It should be set to65000 to avoid operational disruption.
Solution:
a) Switch to the root account first (note that the operation is unsuccessful if it is not switched)
b) modify the/etc/security/limits.conf file as root and add
* hard nofile 65000
* soft nofile 65000 at the end
3. Modify the opening process limit
phenomenon:
***[WARN]***Your Max Processes Limit is currently 2048.It should be set to 65000 to avoid operational disruption.
Solution:
a) Switch to the root account first (note that the operation is unsuccessful if it is not switched)
b) modify the/etc/security/limits.conf file as root and add it at the end
* hard nproc 65000
* soft nproc 65000
Similar Posts:
- [Solved] Linux Start solr Error: Your Max Processes Limit is currently 31202. It should be set to 65000 to avoid operational disruption.
- [Solved] Elasticsearch Startup Error: node validation exception
- [Solved] MYSQL Error: [Warning] Changed limits: max_open_files: 1024
- Error: too many open files [How to Solve]
- Nginx report 500 internal server error
- su: cannot set user id: Resource temporarily unavailable
- [Solved] JVM Error: Failed to write core dump. Core dumps have been disabled.(jar was Forced to Exit)
- [Solved] Mariadb Start Error: Could not increase number of max_open_files to more than 1024 (request: 5035)
- OSError: [Errno 24] Too many open files [How to Solve]
- [Solved] ERROR: bootstrap checks failed memory locking requested for elasticsearch process but memory is not locked