Michael,
What is the best central place on an rpm-based distro (CentOS 6 in my
case) to raise the vmem limit for specific user(s), assuming it's not
already correct? I'm using /etc/security/limits.conf to raise the open
file limit for the user that runs Solr:
ncindex hard nofile 65535
ncindex soft nofile 49151
Thanks,
Shawn
On 9/22/2011 9:56 AM, Michael McCandless wrote:
OK, excellent. Thanks for bringing closure,
Mike McCandless
http://blog.mikemccandless.com
On Thu, Sep 22, 2011 at 9:00 AM, Ralf Matulat<ralf.matu...@bundestag.de> wrote:
Dear Mike,
thanks for your your reply.
Just a couple of minutes we found a solution or - to be honest - where we
went wrong.
Our failure was the use of ulimit. We missed, that ulimit sets the vmem for
each shell seperatly. So we set 'ulimit -v unlimited' on a shell, thinking
that we've done the job correctly.
As we recognized our mistake, we added 'ulimit -v unlimited' to our
init-Skript of the tomcat-instance and now it looks like everything works
as aspected.