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 (<rar...@kpmg.com>) 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&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=VbOekCwtf82rMzNmRFMfBCbyWyvenumeFABhdfeKkcM&s=ZyP8I32R-VUBIINch0q8HuGBrRFFxvTSC72UP4RB6mA&e= > > 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 (<rar...@kpmg.com>) > 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 (<rar...@kpmg.com>) > > 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 (<rar...@kpmg.com>) > > > 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 soft nofile 65000 > > > > solr hard nofile 65000 > > > > solr soft nproc 65000 > > > > solr hard nproc 65000 > > > > > > > > This worked for me on Debian 9. > > > > > > > > Greetings! > > > > > > > > El mié., 12 dic. 2018 a las 11:09, Armon, Rony (<rar...@kpmg.com>) > > > > 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=D > > > > wI > > > > Fa > > > > Q&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37 > > > > tP > > > > 0K > > > > Fw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8WCR > > > > fL > > > > L8 > > > > I599seXXPaNeEmSZuUSmKTEo&e= > > > > > * [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 > > > > > =D > > > > > wI > > > > > Fa > > > > > Q&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_ > > > > > 37 > > > > > tP > > > > > 0K > > > > > Fw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8W > > > > > CR > > > > > fL > > > > > L8 > > > > > I599seXXPaNeEmSZuUSmKTEo&e= > > > > > > > > > > This appears to be related to a known bug in Ubuntu< > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__issues.apac > > > > > he > > > > > .o > > > > > rg > > > > > _jira_browse_SOLR-2D13063&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf > > > > > 4l > > > > > vO > > > > > zv > > > > > Vop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2 > > > > > pq > > > > > 3a > > > > > J7 7UmLZcV0SIg&s=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY&e=> > > > > > 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-2Dfi > > > > > le > > > > > s- > > > > > 2D > > > > > problem-2Dfor-2Dtomcat-2Din-2Dubuntu_&d=DwIFaQ&c=0TzQCy9lgR5hSW- > > > > > bD > > > > > g5 > > > > > HA > > > > > 76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9 > > > > > -_ > > > > > kO > > > > > n8 > > > > > BXuwT2pq3aJ77UmLZcV0SIg&s=o2V4fE_fqaIbrjbmNR6_fsyMlwSXxnUqLeXJ9B > > > > > JO 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 > > > > > _b > > > > > rowse_VUFIND-2D1290&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzv > > > > > Vo > > > > > p5 > > > > > GM > > > > > 3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ7 > > > > > 7U mL Zc V0SIg&s=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA&e= > > > > > > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_ > > > > > 20 > > > > > 15 > > > > > _0 > > > > > 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors& > > > > > d= > > > > > Dw > > > > > IF > > > > > aQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF > > > > > _3 > > > > > 7t > > > > > P0 > > > > > KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=vYN5GI8ow39g > > > > > Uf > > > > > Rs > > > > > e7 au0f5AMd53tNfns8fibFtBLJA&e= 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&d=D > > > > wI > > > > Fa > > > > Q&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37 > > > > tP > > > > 0K > > > > Fw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8WCR > > > > fL > > > > L8 > > > > I599seXXPaNeEmSZuUSmKTEo&e= > > > > > 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 65000 65000 > > > > > processes > > > > > Max open files 4096 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 > > > > > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.i2tic.com& > > > > d= > > > > Dw > > > > IFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF > > > > _3 > > > > 7t > > > > P0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=lasEHRCMLrlv > > > > nm > > > > 5f > > > > C5M5kWqQCJDcCAVgyE3AMZDZYOM&e= > > > > _________________________________________ > > > > > > > > ****************************************************************** > > > > ** > > > > ** 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 > > > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.i2tic.com&d= > > > Dw > > > IFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_3 > > > 7t > > > P0KFw&m=NSYO4yFLj49tAKnlX3Wzvsdld0zKZvIIMGOpAS3Mr9Y&s=OW2174jhWn4zqq > > > j3 > > > mDo3IavyxW2efBWaeFov2tuI_Bc&e= > > > _________________________________________ > > > > > > ******************************************************************** > > > ** 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 > > > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.i2tic.com&d=Dw > > IFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37t > > P0KFw&m=TPEWHa3UC6ZfPBPZGQJaoQQwOZPF0I9frD-Y8Dt6oVE&s=m_5wMWp-xN9urYst > > uGEI8cfjocqjTUAkCi5Zi8df_uA&e= > > _________________________________________ > > > > ********************************************************************** > > 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 > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.i2tic.com&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=VbOekCwtf82rMzNmRFMfBCbyWyvenumeFABhdfeKkcM&s=01ggusG1PlM344JD1dCymtQdkQcJTkrasInipW4wFw4&e= > _________________________________________ > > ********************************************************************** > 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 _________________________________________