Tag Archives: Sun

[Solved] Linux Start solr Error: Your Max Processes Limit is currently 31202. It should be set to 65000 to avoid operational disruption.

Execute the startup specification after entering the bin directory

./solr start

report errors

What should I do?

View system limits

 ulimit -a

Now you need to change the system limit and log in to the root account

Locate the file/etc/security/limits At the end of conf, add the following two lines [added by default in some systems]

* soft nofile 65535
* hard nofile 65535

Then locate the file/etc/security/limits d/20-nproc.conf

Change 4096 to 65535

Login again and take effect after modification

solr Error: SolrException:org.apache.solr.common.SolrException: Error opening new searcher Please check your logs for more information

1. The exception thrown in the code causes Solr not to be closed. The control panel prompts as follows. What should I do?

2. Solution

This is caused by an index error

After closing the Solr service, find the data in the core and delete the two. However, the index will be lost. At this time, you need to import the data again

[Solved] Linux Start solr Server Error: Your open file limit is currently 1024

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