RE: Open file limit warning when starting solr

2018-12-16 Thread Armon, Rony
Problem solved with this thread, suggesting a bug since Ubuntu 16: 
https://unix.stackexchange.com/questions/366352/etc-security-limits-conf-not-applied
I used: 
  Edit /etc/systemd/user.conf for the soft limit, and add 
DefaultLimitNOFILE=1048576.
  Edit /etc/systemd/system.conf for the soft limit, and add 
DefaultLimitNOFILE=2097152.

Thanks for your patience and help, sorry to have been bothering you with OS 
bugs. 
Rony 

 

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Friday, December 14, 2018 4:07 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

How did you installed Solr?, have you followed this instructions?:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_solr_guide_7-5F0_taking-2Dsolr-2Dto-2Dproduction.html-23taking-2Dsolr-2Dto-2Dproduction=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=z8WFLF0DD_1fW9LJIWRPITFEVSmR1iFXxDG16WKLTXY=i9sa1fV_yOJFPxlzLUYLlS-cehKVVUHko5-xDBnqALQ=

On that instructions you first extracts an script file from inside the tar.gz. 
Then running that script file with a few options, it install the required 
files, creates the solr user and folders and starts (or not if you use that 
option) the solr daemon from /etc/init.d/solr.
After all, you'll have a solr user, a file in /etc/init.d/solr that runs the 
daemon at boot, and a file in /etc/default/solr (i don't rememeber the entire 
name), that is for configure the daemon.

I'm not fully sure if is different on Ubuntu, but showld be similar.

Greetings!

El vie., 14 dic. 2018 a las 14:47, Armon, Rony () escribió:

> I don’t have a file named solr n etc/init.d  and I followed the 
> instructions in the link that you sent.
> Should I uninstall and re-install?
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:45 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> Strange... Solr user is created during the installation... What user 
> is your Solr running?
>
> > cat /etc/init.d/solr |grep -i "RUNAS="
> >
>
> Have you followed all the info in the link I've sent?, because they 
> talk also about this:
>
> You also need to edit /etc/pam.d/common-session* and add the following 
> line to the end:
>
> session required
> https://urldefense.proofpoint.com/v2/url?u=http-3A__pam-5Flimits.so=
> DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_3
> 7tP0KFw=p6Cv_eEgtezTZl9gDqIBoHVoL8I6zsy6C97uH4KauOE=KT98Xa93AgxUFt
> Cr1pR_abkYgq3cViJfpad6bbvnmfY=
>
> I've not done this on my Debian, but maybe Ubuntu need it.
>
> Greetings!.
>
> El mié., 12 dic. 2018 a las 16:30, Armon, Rony ()
> escribió:
>
> > Probably not solr:
> > rony@rony-VirtualBox:~$ sudo su -
> > root@rony-VirtualBox:~# su solr -
> > No passwd entry for user 'solr'
> >
> > I tried the solution he suggested placing the following in 
> > limits.conf root soft nofile 65000 root hard nofile 65000
> >
> > And then with the asterix:
> > *   soft nofile 65000
> > *  hard nofile 65000
> >
> > The result is the same
> >
> > -----Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 5:00 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > I mean change to solr user using su as sudo. For your system will be 
> > something like:
> >
> > $ sudo su -
> > pasword
> > # su solr -
> > $ ulimit -n
> > ...a file limit number...
> >
> > Your file limit in Ubuntu is fine, so looks like a problem with file 
> > limit for that user, that's why I ask you if the user you've using 
> > for run the Solr daemon is "solr" instead "root".
> >
> > Take a look at this:
> >
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__askubuntu.com_q
> > ue 
> > stions_162229_how-2Ddo-2Di-2Dincrease-2Dthe-2Dopen-2Dfiles-2Dlimit-2
> > Df 
> > or-2Da-2Dnon-2Droot-2Duser=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lv
> > Oz 
> > vVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=VbOekCwtf82rMzNmRFMfBCbyWyven
> > um eFABhdfeKkcM=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA=
> >
> > He is changing the limit to 4096 for all users using an asterisk, 
> > but you can put solr instead asterisk to change the limit to solr 
> > user only, just like my first message.
> >
> > Greetings!
> >
> >
> >
> > El mié., 12 dic. 2018 a las 15:47, Armon, Rony ()
&g

RE: Open file limit warning when starting solr

2018-12-15 Thread Armon, Rony
Hi Daniel and thanks for bearing with  me

 I tried installing solr 7.6.0 including the production instruction. 
I now have solr in init.d with RUNAS="solr"

Status gives: 
rony@rony-VirtualBox:~/solr-7.6.0$ bin/solr status

Found 1 Solr nodes: 

Solr process 11506 running on port 8983
INFO  - 2018-12-16 08:42:18.659; 
org.apache.solr.util.configuration.SSLCredentialProviderFactory; Processing SSL 
Credential Provider chain: env;sysprop
{
  "solr_home":"/home/rony/solr-7.6.0/server/solr",
  "version":"7.6.0 719cde97f84640faa1e3525690d262946571245f - nknize - 
2018-12-07 14:47:52",
  "startTime":"2018-12-16T06:31:12.722Z",
  "uptime":"0 days, 0 hours, 11 minutes, 6 seconds",
  "memory":"36.9 MB (%7.5) of 490.7 MB"}

HOWEVER, The open file limit persists: 
rony@rony-VirtualBox:~/solr-7.6.0$ bin/solr start
*** [WARN] *** Your open file limit is currently 1024.  
 It should be set to 65000 to avoid operational disruption. 
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in 
your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983 [\]  
Started Solr server on port 8983 (pid=11506). Happy searching!

For file limits in /etc/security/limits.conf I tried: 
solr  soft nofile 65535
solr  hard nofile 65535

or
*  soft nofile 65535
*  hard nofile 65535 


-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Friday, December 14, 2018 4:07 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

How did you installed Solr?, have you followed this instructions?:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_solr_guide_7-5F0_taking-2Dsolr-2Dto-2Dproduction.html-23taking-2Dsolr-2Dto-2Dproduction=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=z8WFLF0DD_1fW9LJIWRPITFEVSmR1iFXxDG16WKLTXY=i9sa1fV_yOJFPxlzLUYLlS-cehKVVUHko5-xDBnqALQ=

On that instructions you first extracts an script file from inside the tar.gz. 
Then running that script file with a few options, it install the required 
files, creates the solr user and folders and starts (or not if you use that 
option) the solr daemon from /etc/init.d/solr.
After all, you'll have a solr user, a file in /etc/init.d/solr that runs the 
daemon at boot, and a file in /etc/default/solr (i don't rememeber the entire 
name), that is for configure the daemon.

I'm not fully sure if is different on Ubuntu, but showld be similar.

Greetings!

El vie., 14 dic. 2018 a las 14:47, Armon, Rony () escribió:

> I don’t have a file named solr n etc/init.d  and I followed the 
> instructions in the link that you sent.
> Should I uninstall and re-install?
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:45 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> Strange... Solr user is created during the installation... What user 
> is your Solr running?
>
> > cat /etc/init.d/solr |grep -i "RUNAS="
> >
>
> Have you followed all the info in the link I've sent?, because they 
> talk also about this:
>
> You also need to edit /etc/pam.d/common-session* and add the following 
> line to the end:
>
> session required
> https://urldefense.proofpoint.com/v2/url?u=http-3A__pam-5Flimits.so=
> DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_3
> 7tP0KFw=p6Cv_eEgtezTZl9gDqIBoHVoL8I6zsy6C97uH4KauOE=KT98Xa93AgxUFt
> Cr1pR_abkYgq3cViJfpad6bbvnmfY=
>
> I've not done this on my Debian, but maybe Ubuntu need it.
>
> Greetings!.
>
> El mié., 12 dic. 2018 a las 16:30, Armon, Rony ()
> escribió:
>
> > Probably not solr:
> > rony@rony-VirtualBox:~$ sudo su -
> > root@rony-VirtualBox:~# su solr -
> > No passwd entry for user 'solr'
> >
> > I tried the solution he suggested placing the following in 
> > limits.conf root soft nofile 65000 root hard nofile 65000
> >
> > And then with the asterix:
> > *   soft nofile 65000
> > *  hard nofile 65000
> >
> > The result is the same
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 5:00 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > I mean change to solr user using su as sudo. For your system will be 
> > something like:
> >
> > $ sudo su -
> > pasword
> > # su solr -
> > $ ulimit -n
> > ...a file limit number...
> >
> > Your file limit in Ubuntu is fine, so looks like a pro

Re: Open file limit warning when starting solr

2018-12-14 Thread Daniel Carrasco
Hello,

How did you installed Solr?, have you followed this instructions?:
https://lucene.apache.org/solr/guide/7_0/taking-solr-to-production.html#taking-solr-to-production

On that instructions you first extracts an script file from inside the
tar.gz. Then running that script file with a few options, it install the
required files, creates the solr user and folders and starts (or not if you
use that option) the solr daemon from /etc/init.d/solr.
After all, you'll have a solr user, a file in /etc/init.d/solr that runs
the daemon at boot, and a file in /etc/default/solr (i don't rememeber the
entire name), that is for configure the daemon.

I'm not fully sure if is different on Ubuntu, but showld be similar.

Greetings!

El vie., 14 dic. 2018 a las 14:47, Armon, Rony () escribió:

> I don’t have a file named solr n etc/init.d  and I followed the
> instructions in the link that you sent.
> Should I uninstall and re-install?
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:45 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> Strange... Solr user is created during the installation... What user is
> your Solr running?
>
> > cat /etc/init.d/solr |grep -i "RUNAS="
> >
>
> Have you followed all the info in the link I've sent?, because they talk
> also about this:
>
> You also need to edit /etc/pam.d/common-session* and add the following
> line to the end:
>
> session required
> https://urldefense.proofpoint.com/v2/url?u=http-3A__pam-5Flimits.so=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=p6Cv_eEgtezTZl9gDqIBoHVoL8I6zsy6C97uH4KauOE=KT98Xa93AgxUFtCr1pR_abkYgq3cViJfpad6bbvnmfY=
>
> I've not done this on my Debian, but maybe Ubuntu need it.
>
> Greetings!.
>
> El mié., 12 dic. 2018 a las 16:30, Armon, Rony ()
> escribió:
>
> > Probably not solr:
> > rony@rony-VirtualBox:~$ sudo su -
> > root@rony-VirtualBox:~# su solr -
> > No passwd entry for user 'solr'
> >
> > I tried the solution he suggested placing the following in limits.conf
> > root soft nofile 65000 root hard nofile 65000
> >
> > And then with the asterix:
> > *   soft nofile 65000
> > *  hard nofile 65000
> >
> > The result is the same
> >
> > -----Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 5:00 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > I mean change to solr user using su as sudo. For your system will be
> > something like:
> >
> > $ sudo su -
> > pasword
> > # su solr -
> > $ ulimit -n
> > ...a file limit number...
> >
> > Your file limit in Ubuntu is fine, so looks like a problem with file
> > limit for that user, that's why I ask you if the user you've using for
> > run the Solr daemon is "solr" instead "root".
> >
> > Take a look at this:
> >
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__askubuntu.com_que
> > stions_162229_how-2Ddo-2Di-2Dincrease-2Dthe-2Dopen-2Dfiles-2Dlimit-2Df
> > or-2Da-2Dnon-2Droot-2Duser=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOz
> > vVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=VbOekCwtf82rMzNmRFMfBCbyWyvenum
> > eFABhdfeKkcM=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA=
> >
> > He is changing the limit to 4096 for all users using an asterisk, but
> > you can put solr instead asterisk to change the limit to solr user
> > only, just like my first message.
> >
> > Greetings!
> >
> >
> >
> > El mié., 12 dic. 2018 a las 15:47, Armon, Rony ()
> > escribió:
> >
> > > Tried it as well...
> > >
> > > rony@rony-VirtualBox:~$ sudo su -
> > > [sudo] password for rony:
> > > root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max fs.file-max =
> > > 810202
> > >
> > > -Original Message-
> > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > Sent: Wednesday, December 12, 2018 4:04 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Open file limit warning when starting solr
> > >
> > > Hello,
> > >
> > > The *su solr* command is important, because you change to Solr user
> > > before check the limits again, then it shows its limits. Are you
> > > running the daemon as solr user?
> > >
> > > Other command to check is:
> > >
> > > > # sysctl -a|grep

RE: Open file limit warning when starting solr

2018-12-14 Thread Armon, Rony
I don’t have a file named solr n etc/init.d  and I followed the instructions in 
the link that you sent. 
Should I uninstall and re-install? 

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Wednesday, December 12, 2018 5:45 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

Strange... Solr user is created during the installation... What user is your 
Solr running?

> cat /etc/init.d/solr |grep -i "RUNAS="
>

Have you followed all the info in the link I've sent?, because they talk also 
about this:

You also need to edit /etc/pam.d/common-session* and add the following line to 
the end:

session required 
https://urldefense.proofpoint.com/v2/url?u=http-3A__pam-5Flimits.so=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=p6Cv_eEgtezTZl9gDqIBoHVoL8I6zsy6C97uH4KauOE=KT98Xa93AgxUFtCr1pR_abkYgq3cViJfpad6bbvnmfY=

I've not done this on my Debian, but maybe Ubuntu need it.

Greetings!.

El mié., 12 dic. 2018 a las 16:30, Armon, Rony () escribió:

> Probably not solr:
> rony@rony-VirtualBox:~$ sudo su -
> root@rony-VirtualBox:~# su solr -
> No passwd entry for user 'solr'
>
> I tried the solution he suggested placing the following in limits.conf 
> root soft nofile 65000 root hard nofile 65000
>
> And then with the asterix:
> *   soft nofile 65000
> *  hard nofile 65000
>
> The result is the same
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:00 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> I mean change to solr user using su as sudo. For your system will be 
> something like:
>
> $ sudo su -
> pasword
> # su solr -
> $ ulimit -n
> ...a file limit number...
>
> Your file limit in Ubuntu is fine, so looks like a problem with file 
> limit for that user, that's why I ask you if the user you've using for 
> run the Solr daemon is "solr" instead "root".
>
> Take a look at this:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__askubuntu.com_que
> stions_162229_how-2Ddo-2Di-2Dincrease-2Dthe-2Dopen-2Dfiles-2Dlimit-2Df
> or-2Da-2Dnon-2Droot-2Duser=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOz
> vVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=VbOekCwtf82rMzNmRFMfBCbyWyvenum
> eFABhdfeKkcM=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA=
>
> He is changing the limit to 4096 for all users using an asterisk, but 
> you can put solr instead asterisk to change the limit to solr user 
> only, just like my first message.
>
> Greetings!
>
>
>
> El mié., 12 dic. 2018 a las 15:47, Armon, Rony ()
> escribió:
>
> > Tried it as well...
> >
> > rony@rony-VirtualBox:~$ sudo su -
> > [sudo] password for rony:
> > root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max fs.file-max =
> > 810202
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 4:04 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > The *su solr* command is important, because you change to Solr user 
> > before check the limits again, then it shows its limits. Are you 
> > running the daemon as solr user?
> >
> > Other command to check is:
> >
> > > # sysctl -a|grep -i fs.file-max
> > > fs.file-max = 6167826
> >
> >
> > If is low then you may increase it.
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 14:44, Armon, Rony ()
> > escribió:
> >
> > > rony@rony-VirtualBox:~$ ulimit -n
> > > 1024
> > > rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> > > 1024
> > >
> > > -Original Message-
> > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > Sent: Wednesday, December 12, 2018 3:31 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Open file limit warning when starting solr
> > >
> > > Hello,
> > >
> > > What output you get with this commands?:
> > >
> > > > root@solr-temp01:/# ulimit -n
> > > > 1024
> > > > root@solr-temp01:/# su solr
> > > > solr@solr-temp01:/$ ulimit -n
> > > > 65000
> > >
> > >
> > > Greetings!
> > >
> > > El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> > > escribió:
> > >
> > > > Hi Daniel and thanks for the prompt reply. I tried that but I'm 
> > > > still getting the 

Re: Open file limit warning when starting solr

2018-12-12 Thread Daniel Carrasco
Hello,

Strange... Solr user is created during the installation... What user is
your Solr running?

> cat /etc/init.d/solr |grep -i "RUNAS="
>

Have you followed all the info in the link I've sent?, because they talk
also about this:

You also need to edit /etc/pam.d/common-session* and add the following line
to the end:

session required pam_limits.so

I've not done this on my Debian, but maybe Ubuntu need it.

Greetings!.

El mié., 12 dic. 2018 a las 16:30, Armon, Rony () escribió:

> Probably not solr:
> rony@rony-VirtualBox:~$ sudo su -
> root@rony-VirtualBox:~# su solr -
> No passwd entry for user 'solr'
>
> I tried the solution he suggested placing the following in limits.conf
> root soft nofile 65000
> root hard nofile 65000
>
> And then with the asterix:
> *   soft nofile 65000
> *  hard nofile 65000
>
> The result is the same
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:00 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> I mean change to solr user using su as sudo. For your system will be
> something like:
>
> $ sudo su -
> pasword
> # su solr -
> $ ulimit -n
> ...a file limit number...
>
> Your file limit in Ubuntu is fine, so looks like a problem with file limit
> for that user, that's why I ask you if the user you've using for run the
> Solr daemon is "solr" instead "root".
>
> Take a look at this:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__askubuntu.com_questions_162229_how-2Ddo-2Di-2Dincrease-2Dthe-2Dopen-2Dfiles-2Dlimit-2Dfor-2Da-2Dnon-2Droot-2Duser=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=VbOekCwtf82rMzNmRFMfBCbyWyvenumeFABhdfeKkcM=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA=
>
> He is changing the limit to 4096 for all users using an asterisk, but you
> can put solr instead asterisk to change the limit to solr user only, just
> like my first message.
>
> Greetings!
>
>
>
> El mié., 12 dic. 2018 a las 15:47, Armon, Rony ()
> escribió:
>
> > Tried it as well...
> >
> > rony@rony-VirtualBox:~$ sudo su -
> > [sudo] password for rony:
> > root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max fs.file-max =
> > 810202
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 4:04 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > The *su solr* command is important, because you change to Solr user
> > before check the limits again, then it shows its limits. Are you
> > running the daemon as solr user?
> >
> > Other command to check is:
> >
> > > # sysctl -a|grep -i fs.file-max
> > > fs.file-max = 6167826
> >
> >
> > If is low then you may increase it.
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 14:44, Armon, Rony ()
> > escribió:
> >
> > > rony@rony-VirtualBox:~$ ulimit -n
> > > 1024
> > > rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> > > 1024
> > >
> > > -Original Message-
> > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > Sent: Wednesday, December 12, 2018 3:31 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Open file limit warning when starting solr
> > >
> > > Hello,
> > >
> > > What output you get with this commands?:
> > >
> > > > root@solr-temp01:/# ulimit -n
> > > > 1024
> > > > root@solr-temp01:/# su solr
> > > > solr@solr-temp01:/$ ulimit -n
> > > > 65000
> > >
> > >
> > > Greetings!
> > >
> > > El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> > > escribió:
> > >
> > > > Hi Daniel and thanks for the prompt reply. I tried that but I'm
> > > > still getting the file limit warning.
> > > >
> > > > -Original Message-
> > > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > > Sent: Wednesday, December 12, 2018 12:14 PM
> > > > To: solr-user@lucene.apache.org
> > > > Subject: Re: Open file limit warning when starting solr
> > > >
> > > > Hello,
> > > >
> > > > Try creating a file in /etc/security/limits.d/solr.conf with this:
> > > > solr softnofile  65000
> > > 

RE: Open file limit warning when starting solr

2018-12-12 Thread Armon, Rony
Probably not solr:
rony@rony-VirtualBox:~$ sudo su -
root@rony-VirtualBox:~# su solr -
No passwd entry for user 'solr'

I tried the solution he suggested placing the following in limits.conf
root soft nofile 65000
root hard nofile 65000

And then with the asterix: 
*   soft nofile 65000
*  hard nofile 65000

The result is the same

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Wednesday, December 12, 2018 5:00 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

I mean change to solr user using su as sudo. For your system will be something 
like:

$ sudo su -
pasword
# su solr -
$ ulimit -n
...a file limit number...

Your file limit in Ubuntu is fine, so looks like a problem with file limit for 
that user, that's why I ask you if the user you've using for run the Solr 
daemon is "solr" instead "root".

Take a look at this:
https://urldefense.proofpoint.com/v2/url?u=https-3A__askubuntu.com_questions_162229_how-2Ddo-2Di-2Dincrease-2Dthe-2Dopen-2Dfiles-2Dlimit-2Dfor-2Da-2Dnon-2Droot-2Duser=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=VbOekCwtf82rMzNmRFMfBCbyWyvenumeFABhdfeKkcM=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA=

He is changing the limit to 4096 for all users using an asterisk, but you can 
put solr instead asterisk to change the limit to solr user only, just like my 
first message.

Greetings!



El mié., 12 dic. 2018 a las 15:47, Armon, Rony () escribió:

> Tried it as well...
>
> rony@rony-VirtualBox:~$ sudo su -
> [sudo] password for rony:
> root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max fs.file-max = 
> 810202
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 4:04 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> The *su solr* command is important, because you change to Solr user 
> before check the limits again, then it shows its limits. Are you 
> running the daemon as solr user?
>
> Other command to check is:
>
> > # sysctl -a|grep -i fs.file-max
> > fs.file-max = 6167826
>
>
> If is low then you may increase it.
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 14:44, Armon, Rony ()
> escribió:
>
> > rony@rony-VirtualBox:~$ ulimit -n
> > 1024
> > rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> > 1024
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 3:31 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > What output you get with this commands?:
> >
> > > root@solr-temp01:/# ulimit -n
> > > 1024
> > > root@solr-temp01:/# su solr
> > > solr@solr-temp01:/$ ulimit -n
> > > 65000
> >
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> > escribió:
> >
> > > Hi Daniel and thanks for the prompt reply. I tried that but I'm 
> > > still getting the file limit warning.
> > >
> > > -Original Message-
> > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > Sent: Wednesday, December 12, 2018 12:14 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Open file limit warning when starting solr
> > >
> > > Hello,
> > >
> > > Try creating a file in /etc/security/limits.d/solr.conf with this:
> > > solr softnofile  65000
> > > solr hardnofile  65000
> > > solr softnproc   65000
> > > solr hardnproc   65000
> > >
> > > This worked for me on Debian 9.
> > >
> > > Greetings!
> > >
> > > El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> > > escribió:
> > >
> > > > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > > > *   [WARN] *** Your open file limit is currently 1024.
> > > >It should be set to 65000 to avoid 
> > > > operational disruption.
> > > >If you no longer wish to see this warning, 
> > > > set SOLR_ULIMIT_CHECKS to false in your profile or
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=D
> > > wI
> > > Fa
> > > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37
> > > tP
> > > 0K
> > > Fw=5cbIisJU0sjIn9-_kOn8B

Re: Open file limit warning when starting solr

2018-12-12 Thread Daniel Carrasco
Hello,

I mean change to solr user using su as sudo. For your system will be
something like:

$ sudo su -
pasword
# su solr -
$ ulimit -n
...a file limit number...

Your file limit in Ubuntu is fine, so looks like a problem with file limit
for that user, that's why I ask you if the user you've using for run the
Solr daemon is "solr" instead "root".

Take a look at this:
https://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user

He is changing the limit to 4096 for all users using an asterisk, but you
can put solr instead asterisk to change the limit to solr user only, just
like my first message.

Greetings!



El mié., 12 dic. 2018 a las 15:47, Armon, Rony () escribió:

> Tried it as well...
>
> rony@rony-VirtualBox:~$ sudo su -
> [sudo] password for rony:
> root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max
> fs.file-max = 810202
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 4:04 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> The *su solr* command is important, because you change to Solr user before
> check the limits again, then it shows its limits. Are you running the
> daemon as solr user?
>
> Other command to check is:
>
> > # sysctl -a|grep -i fs.file-max
> > fs.file-max = 6167826
>
>
> If is low then you may increase it.
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 14:44, Armon, Rony ()
> escribió:
>
> > rony@rony-VirtualBox:~$ ulimit -n
> > 1024
> > rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> > 1024
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 3:31 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > What output you get with this commands?:
> >
> > > root@solr-temp01:/# ulimit -n
> > > 1024
> > > root@solr-temp01:/# su solr
> > > solr@solr-temp01:/$ ulimit -n
> > > 65000
> >
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> > escribió:
> >
> > > Hi Daniel and thanks for the prompt reply. I tried that but I'm
> > > still getting the file limit warning.
> > >
> > > -Original Message-
> > > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > > Sent: Wednesday, December 12, 2018 12:14 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Open file limit warning when starting solr
> > >
> > > Hello,
> > >
> > > Try creating a file in /etc/security/limits.d/solr.conf with this:
> > > solr softnofile  65000
> > > solr hardnofile  65000
> > > solr softnproc   65000
> > > solr hardnproc   65000
> > >
> > > This worked for me on Debian 9.
> > >
> > > Greetings!
> > >
> > > El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> > > escribió:
> > >
> > > > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > > > *   [WARN] *** Your open file limit is currently 1024.
> > > >It should be set to 65000 to avoid operational
> > > > disruption.
> > > >If you no longer wish to see this warning, set
> > > > SOLR_ULIMIT_CHECKS to false in your profile or
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwI
> > > Fa
> > > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP
> > > 0K
> > > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfL
> > > L8
> > > I599seXXPaNeEmSZuUSmKTEo=
> > > > *   [WARN] ***  Your Max Processes Limit is currently 15058.
> > > >  It should be set to 65000 to avoid operational disruption.
> > > >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS
> > > > to false in your profile or
> > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=D
> > > > wI
> > > > Fa
> > > > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37
> > > > tP
> > > > 0K
> > > > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCR
> > > > fL
> > > > L8
> > > > I599seXXPaNeEmSZuUSmKTEo=
>

RE: Open file limit warning when starting solr

2018-12-12 Thread Armon, Rony
Tried it as well...

rony@rony-VirtualBox:~$ sudo su -
[sudo] password for rony: 
root@rony-VirtualBox:~# sysctl -a|grep -i fs.file-max
fs.file-max = 810202

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Wednesday, December 12, 2018 4:04 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

The *su solr* command is important, because you change to Solr user before 
check the limits again, then it shows its limits. Are you running the daemon as 
solr user?

Other command to check is:

> # sysctl -a|grep -i fs.file-max
> fs.file-max = 6167826


If is low then you may increase it.

Greetings!

El mié., 12 dic. 2018 a las 14:44, Armon, Rony () escribió:

> rony@rony-VirtualBox:~$ ulimit -n
> 1024
> rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> 1024
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 3:31 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> What output you get with this commands?:
>
> > root@solr-temp01:/# ulimit -n
> > 1024
> > root@solr-temp01:/# su solr
> > solr@solr-temp01:/$ ulimit -n
> > 65000
>
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> escribió:
>
> > Hi Daniel and thanks for the prompt reply. I tried that but I'm 
> > still getting the file limit warning.
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 12:14 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > Try creating a file in /etc/security/limits.d/solr.conf with this:
> > solr softnofile  65000
> > solr hardnofile  65000
> > solr softnproc   65000
> > solr hardnproc   65000
> >
> > This worked for me on Debian 9.
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> > escribió:
> >
> > > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > > *   [WARN] *** Your open file limit is currently 1024.
> > >It should be set to 65000 to avoid operational 
> > > disruption.
> > >If you no longer wish to see this warning, set 
> > > SOLR_ULIMIT_CHECKS to false in your profile or
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwI
> > Fa 
> > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP
> > 0K
> > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfL
> > L8
> > I599seXXPaNeEmSZuUSmKTEo=
> > > *   [WARN] ***  Your Max Processes Limit is currently 15058.
> > >  It should be set to 65000 to avoid operational disruption.
> > >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS 
> > > to false in your profile or 
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=D
> > > wI
> > > Fa
> > > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37
> > > tP
> > > 0K
> > > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCR
> > > fL
> > > L8
> > > I599seXXPaNeEmSZuUSmKTEo=
> > >
> > > This appears to be related to a known bug in Ubuntu< 
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache
> > > .o
> > > rg
> > > _jira_browse_SOLR-2D13063=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4l
> > > vO
> > > zv
> > > Vop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq
> > > 3a
> > > J7 7UmLZcV0SIg=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY=>
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.jayway.c
> > > om
> > > _2
> > > 012_02_11_how-2Dto-2Dreally-2Dfix-2Dthe-2Dtoo-2Dmany-2Dopen-2Dfile
> > > s-
> > > 2D
> > > problem-2Dfor-2Dtomcat-2Din-2Dubuntu_=DwIFaQ=0TzQCy9lgR5hSW-bD
> > > g5
> > > HA
> > > 76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_
> > > kO
> > > n8
> > > BXuwT2pq3aJ77UmLZcV0SIg=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9BJO
> > > tq 8& e= I was wondering if you have some workaround. I followed 
> > > the solutions in the following threads:
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__vufind.org_ji
> > > ra
&

Re: Open file limit warning when starting solr

2018-12-12 Thread Daniel Carrasco
Hello,

The *su solr* command is important, because you change to Solr user before
check the limits again, then it shows its limits. Are you running the
daemon as solr user?

Other command to check is:

> # sysctl -a|grep -i fs.file-max
> fs.file-max = 6167826


If is low then you may increase it.

Greetings!

El mié., 12 dic. 2018 a las 14:44, Armon, Rony () escribió:

> rony@rony-VirtualBox:~$ ulimit -n
> 1024
> rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
> 1024
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 3:31 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> What output you get with this commands?:
>
> > root@solr-temp01:/# ulimit -n
> > 1024
> > root@solr-temp01:/# su solr
> > solr@solr-temp01:/$ ulimit -n
> > 65000
>
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 12:53, Armon, Rony ()
> escribió:
>
> > Hi Daniel and thanks for the prompt reply. I tried that but I'm still
> > getting the file limit warning.
> >
> > -Original Message-
> > From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> > Sent: Wednesday, December 12, 2018 12:14 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Open file limit warning when starting solr
> >
> > Hello,
> >
> > Try creating a file in /etc/security/limits.d/solr.conf with this:
> > solr softnofile  65000
> > solr hardnofile  65000
> > solr softnproc   65000
> > solr hardnproc   65000
> >
> > This worked for me on Debian 9.
> >
> > Greetings!
> >
> > El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> > escribió:
> >
> > > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > > *   [WARN] *** Your open file limit is currently 1024.
> > >It should be set to 65000 to avoid operational
> > > disruption.
> > >If you no longer wish to see this warning, set
> > > SOLR_ULIMIT_CHECKS to false in your profile or
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFa
> > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0K
> > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8
> > I599seXXPaNeEmSZuUSmKTEo=
> > > *   [WARN] ***  Your Max Processes Limit is currently 15058.
> > >  It should be set to 65000 to avoid operational disruption.
> > >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS
> > > to false in your profile or
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwI
> > > Fa
> > > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP
> > > 0K
> > > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfL
> > > L8
> > > I599seXXPaNeEmSZuUSmKTEo=
> > >
> > > This appears to be related to a known bug in Ubuntu<
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.o
> > > rg
> > > _jira_browse_SOLR-2D13063=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvO
> > > zv
> > > Vop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3a
> > > J7 7UmLZcV0SIg=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY=>
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.jayway.com
> > > _2
> > > 012_02_11_how-2Dto-2Dreally-2Dfix-2Dthe-2Dtoo-2Dmany-2Dopen-2Dfiles-
> > > 2D
> > > problem-2Dfor-2Dtomcat-2Din-2Dubuntu_=DwIFaQ=0TzQCy9lgR5hSW-bDg5
> > > HA
> > > 76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kO
> > > n8
> > > BXuwT2pq3aJ77UmLZcV0SIg=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9BJOtq
> > > 8& e= I was wondering if you have some workaround. I followed the
> > > solutions in the following threads:
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__vufind.org_jira
> > > _b
> > > rowse_VUFIND-2D1290=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5
> > > GM
> > > 3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmL
> > > Zc V0SIg=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA=
> > >
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_2015
> > > _0
> > > 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors=Dw
> > > IF
> > > aQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37t
> > > P0
> > > 

RE: Open file limit warning when starting solr

2018-12-12 Thread Armon, Rony
rony@rony-VirtualBox:~$ ulimit -n
1024
rony@rony-VirtualBox:~/solr-7.5.0$ ulimit -n
1024

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Wednesday, December 12, 2018 3:31 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

What output you get with this commands?:

> root@solr-temp01:/# ulimit -n
> 1024
> root@solr-temp01:/# su solr
> solr@solr-temp01:/$ ulimit -n
> 65000


Greetings!

El mié., 12 dic. 2018 a las 12:53, Armon, Rony () escribió:

> Hi Daniel and thanks for the prompt reply. I tried that but I'm still 
> getting the file limit warning.
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 12:14 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> Try creating a file in /etc/security/limits.d/solr.conf with this:
> solr softnofile  65000
> solr hardnofile  65000
> solr softnproc   65000
> solr hardnproc   65000
>
> This worked for me on Debian 9.
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> escribió:
>
> > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > *   [WARN] *** Your open file limit is currently 1024.
> >It should be set to 65000 to avoid operational 
> > disruption.
> >If you no longer wish to see this warning, set 
> > SOLR_ULIMIT_CHECKS to false in your profile or
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFa
> Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0K
> Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8
> I599seXXPaNeEmSZuUSmKTEo=
> > *   [WARN] ***  Your Max Processes Limit is currently 15058.
> >  It should be set to 65000 to avoid operational disruption.
> >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS 
> > to false in your profile or 
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwI
> > Fa 
> > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP
> > 0K
> > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfL
> > L8
> > I599seXXPaNeEmSZuUSmKTEo=
> >
> > This appears to be related to a known bug in Ubuntu< 
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.o
> > rg 
> > _jira_browse_SOLR-2D13063=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvO
> > zv
> > Vop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3a
> > J7 7UmLZcV0SIg=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY=>
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.jayway.com
> > _2 
> > 012_02_11_how-2Dto-2Dreally-2Dfix-2Dthe-2Dtoo-2Dmany-2Dopen-2Dfiles-
> > 2D 
> > problem-2Dfor-2Dtomcat-2Din-2Dubuntu_=DwIFaQ=0TzQCy9lgR5hSW-bDg5
> > HA
> > 76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kO
> > n8 
> > BXuwT2pq3aJ77UmLZcV0SIg=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9BJOtq
> > 8& e= I was wondering if you have some workaround. I followed the 
> > solutions in the following threads:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__vufind.org_jira
> > _b 
> > rowse_VUFIND-2D1290=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5
> > GM 
> > 3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmL
> > Zc V0SIg=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA=
> >
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_2015
> > _0 
> > 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors=Dw
> > IF
> > aQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37t
> > P0
> > KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=vYN5GI8ow39gUfRs
> > e7 au0f5AMd53tNfns8fibFtBLJA= and was able to resolve Max 
> > Processes Limit but not File limit:
> > *   [WARN] *** Your open file limit is currently 1024.
> >It should be set to 65000 to avoid operational 
> > disruption.
> >If you no longer wish to see this warning, set 
> > SOLR_ULIMIT_CHECKS to false in your profile or
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFa
> Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0K
> Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8
> I599seXXPaNeEmSZuUSmKTEo=
> >   Waiting up to 180 seconds to see Solr running on 
> > port
> > 89

Re: Open file limit warning when starting solr

2018-12-12 Thread Daniel Carrasco
Hello,

What output you get with this commands?:

> root@solr-temp01:/# ulimit -n
> 1024
> root@solr-temp01:/# su solr
> solr@solr-temp01:/$ ulimit -n
> 65000


Greetings!

El mié., 12 dic. 2018 a las 12:53, Armon, Rony () escribió:

> Hi Daniel and thanks for the prompt reply. I tried that but I'm still
> getting the file limit warning.
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 12:14 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> Try creating a file in /etc/security/limits.d/solr.conf with this:
> solr softnofile  65000
> solr hardnofile  65000
> solr softnproc   65000
> solr hardnproc   65000
>
> This worked for me on Debian 9.
>
> Greetings!
>
> El mié., 12 dic. 2018 a las 11:09, Armon, Rony ()
> escribió:
>
> > Hello, When launching solr (Ubuntu 16.04) I'm getting:
> > *   [WARN] *** Your open file limit is currently 1024.
> >It should be set to 65000 to avoid operational
> > disruption.
> >If you no longer wish to see this warning, set
> > SOLR_ULIMIT_CHECKS to false in your profile or
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo=
> > *   [WARN] ***  Your Max Processes Limit is currently 15058.
> >  It should be set to 65000 to avoid operational disruption.
> >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to
> > false in your profile or
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFa
> > Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0K
> > Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8
> > I599seXXPaNeEmSZuUSmKTEo=
> >
> > This appears to be related to a known bug in Ubuntu<
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org
> > _jira_browse_SOLR-2D13063=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzv
> > Vop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ7
> > 7UmLZcV0SIg=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY=>
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.jayway.com_2
> > 012_02_11_how-2Dto-2Dreally-2Dfix-2Dthe-2Dtoo-2Dmany-2Dopen-2Dfiles-2D
> > problem-2Dfor-2Dtomcat-2Din-2Dubuntu_=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA
> > 76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8
> > BXuwT2pq3aJ77UmLZcV0SIg=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9BJOtq8&
> > e= I was wondering if you have some workaround. I followed the
> > solutions in the following threads:
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__vufind.org_jira_b
> > rowse_VUFIND-2D1290=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM
> > 3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZc
> > V0SIg=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA=
> >
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_2015_0
> > 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors=DwIF
> > aQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0
> > KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=vYN5GI8ow39gUfRse7
> > au0f5AMd53tNfns8fibFtBLJA= and was able to resolve Max Processes
> > Limit but not File limit:
> > *   [WARN] *** Your open file limit is currently 1024.
> >It should be set to 65000 to avoid operational
> > disruption.
> >If you no longer wish to see this warning, set
> > SOLR_ULIMIT_CHECKS to false in your profile or
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo=
> >   Waiting up to 180 seconds to see Solr running on
> > port
> > 8983 []
> >   Started Solr server on port 8983 (pid=2843). Happy
> > searching!
> >
> > cd proc# cat 2843/limits:
> > Max processes 6500065000
> > processes
> > Max open files4096 4096 files
> >
> > The problem persisted after upgrade to Ubuntu 18.10 Any other solution
> > would be appreciated.
> > Otherwise can you please tell me what are the likely consequences of
> > the open file limit?

RE: Open file limit warning when starting solr

2018-12-12 Thread Armon, Rony
Hi Daniel and thanks for the prompt reply. I tried that but I'm still getting 
the file limit warning. 

-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com] 
Sent: Wednesday, December 12, 2018 12:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr

Hello,

Try creating a file in /etc/security/limits.d/solr.conf with this:
solr softnofile  65000
solr hardnofile  65000
solr softnproc   65000
solr hardnproc   65000

This worked for me on Debian 9.

Greetings!

El mié., 12 dic. 2018 a las 11:09, Armon, Rony () escribió:

> Hello, When launching solr (Ubuntu 16.04) I'm getting:
> *   [WARN] *** Your open file limit is currently 1024.
>It should be set to 65000 to avoid operational 
> disruption.
>If you no longer wish to see this warning, set 
> SOLR_ULIMIT_CHECKS to false in your profile or 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo=
> *   [WARN] ***  Your Max Processes Limit is currently 15058.
>  It should be set to 65000 to avoid operational disruption.
>  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to 
> false in your profile or 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFa
> Q=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0K
> Fw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8
> I599seXXPaNeEmSZuUSmKTEo=
>
> This appears to be related to a known bug in Ubuntu< 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apache.org
> _jira_browse_SOLR-2D13063=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzv
> Vop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ7
> 7UmLZcV0SIg=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY=>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__blog.jayway.com_2
> 012_02_11_how-2Dto-2Dreally-2Dfix-2Dthe-2Dtoo-2Dmany-2Dopen-2Dfiles-2D
> problem-2Dfor-2Dtomcat-2Din-2Dubuntu_=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA
> 76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8
> BXuwT2pq3aJ77UmLZcV0SIg=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9BJOtq8&
> e= I was wondering if you have some workaround. I followed the 
> solutions in the following threads:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__vufind.org_jira_b
> rowse_VUFIND-2D1290=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM
> 3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZc
> V0SIg=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA=
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_2015_0
> 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors=DwIF
> aQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0
> KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=vYN5GI8ow39gUfRse7
> au0f5AMd53tNfns8fibFtBLJA= and was able to resolve Max Processes 
> Limit but not File limit:
> *   [WARN] *** Your open file limit is currently 1024.
>It should be set to 65000 to avoid operational 
> disruption.
>If you no longer wish to see this warning, set 
> SOLR_ULIMIT_CHECKS to false in your profile or 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__solr.in.sh=DwIFaQ=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80=pklH2GQ2S8JTF_37tP0KFw=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo=
>   Waiting up to 180 seconds to see Solr running on 
> port
> 8983 []
>   Started Solr server on port 8983 (pid=2843). Happy 
> searching!
>
> cd proc# cat 2843/limits:
> Max processes 6500065000
> processes
> Max open files4096 4096 files
>
> The problem persisted after upgrade to Ubuntu 18.10 Any other solution 
> would be appreciated.
> Otherwise can you please tell me what are the likely consequences of 
> the open file limit?
>
>
>
>
>
>
> **
> The information in this email is confidential and may be legally 
> privileged. It is intended solely for the addressee. Access to this 
> email by anyone else is unauthorized. If you are not the intended 
> recipient, any disclosure, copying, distribution or any action taken 
> or omitted to be taken in reliance on it, is prohibited and may be 
> unlawful. When addressed to our clients any opinions or advice 
> contained in this email are subject to the terms and conditions 
> expressed in the governi

Re: Open file limit warning when starting solr

2018-12-12 Thread Daniel Carrasco
Hello,

Try creating a file in /etc/security/limits.d/solr.conf with this:
solr softnofile  65000
solr hardnofile  65000
solr softnproc   65000
solr hardnproc   65000

This worked for me on Debian 9.

Greetings!

El mié., 12 dic. 2018 a las 11:09, Armon, Rony () escribió:

> Hello, When launching solr (Ubuntu 16.04) I'm getting:
> *   [WARN] *** Your open file limit is currently 1024.
>It should be set to 65000 to avoid operational
> disruption.
>If you no longer wish to see this warning, set
> SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
> *   [WARN] ***  Your Max Processes Limit is currently 15058.
>  It should be set to 65000 to avoid operational disruption.
>  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to
> false in your profile or solr.in.sh
>
> This appears to be related to a known bug in Ubuntu<
> https://issues.apache.org/jira/browse/SOLR-13063>
> https://blog.jayway.com/2012/02/11/how-to-really-fix-the-too-many-open-files-problem-for-tomcat-in-ubuntu/
> I was wondering if you have some workaround. I followed the solutions in
> the following threads:
> https://vufind.org/jira/browse/VUFIND-1290
>
> https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors
> and was able to resolve Max Processes Limit but not File limit:
> *   [WARN] *** Your open file limit is currently 1024.
>It should be set to 65000 to avoid operational
> disruption.
>If you no longer wish to see this warning, set
> SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
>   Waiting up to 180 seconds to see Solr running on port
> 8983 []
>   Started Solr server on port 8983 (pid=2843). Happy
> searching!
>
> cd proc# cat 2843/limits:
> Max processes 6500065000
> processes
> Max open files4096 4096 files
>
> The problem persisted after upgrade to Ubuntu 18.10
> Any other solution would be appreciated.
> Otherwise can you please tell me what are the likely consequences of the
> open file limit?
>
>
>
>
>
>
> **
> The information in this email is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this email
> by anyone else is unauthorized. If you are not the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it, is prohibited and may be unlawful. When addressed
> to our clients any opinions or advice contained in this email are subject
> to the terms and conditions expressed in the governing KPMG client
> engagement letter.
> ***
>


-- 
_

  Daniel Carrasco Marín
  Ingeniería para la Innovación i2TIC, S.L.
  Tlf:  +34 911 12 32 84 Ext: 223
  www.i2tic.com
_


Open file limit warning when starting solr

2018-12-12 Thread Armon, Rony
Hello, When launching solr (Ubuntu 16.04) I'm getting:
*   [WARN] *** Your open file limit is currently 1024.
   It should be set to 65000 to avoid operational disruption.
   If you no longer wish to see this warning, set 
SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
*   [WARN] ***  Your Max Processes Limit is currently 15058.
 It should be set to 65000 to avoid operational disruption.
 If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in 
your profile or solr.in.sh

This appears to be related to a known bug in 
Ubuntu 
https://blog.jayway.com/2012/02/11/how-to-really-fix-the-too-many-open-files-problem-for-tomcat-in-ubuntu/
I was wondering if you have some workaround. I followed the solutions in the 
following threads:
https://vufind.org/jira/browse/VUFIND-1290
https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors
and was able to resolve Max Processes Limit but not File limit:
*   [WARN] *** Your open file limit is currently 1024.
   It should be set to 65000 to avoid operational disruption.
   If you no longer wish to see this warning, set 
SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
  Waiting up to 180 seconds to see Solr running on port 8983 []
  Started Solr server on port 8983 (pid=2843). Happy searching!

cd proc# cat 2843/limits:
Max processes 6500065000processes
Max open files4096 4096 files

The problem persisted after upgrade to Ubuntu 18.10
Any other solution would be appreciated.
Otherwise can you please tell me what are the likely consequences of the open 
file limit?






**
The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. Access to this email by anyone else is 
unauthorized. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful. When addressed to our clients any opinions or 
advice contained in this email are subject to the terms and conditions 
expressed in the governing KPMG client engagement letter.
***