Hi Jonty,
You can try changing the maximum number of files opened by a process using
command:
ulimit -n XXX
In case, the number of opened files is not increasing with time and just a
constant number which is larger than system default limit, this should fix
it.
-param
On 1/24/12 11:40 AM, "Mic
Hi Jonty,
no, not really. When we first had such problems, we really thought that
the number of open files is the problem, so we implemented an algorithm
that performed an optimize from time to time to force a segment merge.
Due to some misconfiguration, this ran too often. With the result tha
Hi Kuli,
Did you get the solution of this problem? I am still facing this problem.
Please help me to overcome this problem.
regards
On Wed, Oct 26, 2011 at 1:16 PM, Michael Kuhlmann wrote:
> Hi;
>
> we have a similar problem here. We already raised the file ulimit on the
> server to 4096, but
Hi;
we have a similar problem here. We already raised the file ulimit on the
server to 4096, but this only defered the problem. We get a
TooManyOpenFilesException every few months.
The problem has nothing to do with real files. When we had the last
TooManyOpenFilesException, we investigated with
Hi Yonik,
thanks for reply.
Currently I have more than 50 classes and every class have their own
SolrServer server = new CommonsHttpSolrServer("
http://localhost:8080/solr/core0";);
Majority of classes connect to core0 however there are many cores which is
connecting from different classes.
My
Hi,
I had save problem "Too many open files" but it is logged by Tomcat
server. Please check your index directory if there are too much index
files please execute Solr optimize command. This exception is raised by
OS of server, you can google for researching it.
On 10/26/2011 3:07 AM, Yonik
One note for this. I had a trouble to reset the root's limit in
Ubuntu. Somewhere I read, that Ubuntu doesn't give you even the
correct number of limit. The solution to this problem is to run Solr
under another user.
Péter
2011/10/25 Markus Jelsma :
> This is on Linux? This should help:
>
> echo
This is on Linux? This should help:
echo fs.file-max = 16384 >> /etc/sysctl.conf
On some distro's like Debian it seems you also have to add these settings to
security.conf, otherwise it may not persist between reboots or even shell
sessions:
echo "systems hard nofile 16384
systems soft nofile
On Tue, Oct 25, 2011 at 4:03 PM, Jonty Rhods wrote:
> Hi,
>
> I am using solrj and for connection to server I am using instance of the
> solr server:
>
> SolrServer server = new CommonsHttpSolrServer("
> http://localhost:8080/solr/core0";);
Are you reusing the server object for all of your reque