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=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo&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=DwIFa > Q&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0K > Fw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8WCRfLL8 > I599seXXPaNeEmSZuUSmKTEo&e= > > 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&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzv > Vop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ7 > 7UmLZcV0SIg&s=cCjwFj8bcVvmcTIcm0Rj2GNiW7wWaOeKufHSSdPd_uY&e=> > 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_&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA > 76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8 > BXuwT2pq3aJ77UmLZcV0SIg&s=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&d=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM > 3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZc > V0SIg&s=eKl-Z7ZRS2z4218azygyFqhq9frW1NoxP1tQPyNsSNA&e= > > https://urldefense.proofpoint.com/v2/url?u=https-3A__underyx.me_2015_0 > 5_18_raising-2Dthe-2Dmaximum-2Dnumber-2Dof-2Dfile-2Ddescriptors&d=DwIF > aQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0 > KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=vYN5GI8ow39gUfRse7 > 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=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=RlMA2272ZBR8WCRfLL8I599seXXPaNeEmSZuUSmKTEo&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=DwIFaQ&c=0TzQCy9lgR5hSW-bDg5HA76y7nf4lvOzvVop5GM3Y80&r=pklH2GQ2S8JTF_37tP0KFw&m=5cbIisJU0sjIn9-_kOn8BXuwT2pq3aJ77UmLZcV0SIg&s=lasEHRCMLrlvnm5fC5M5kWqQCJDcCAVgyE3AMZDZYOM&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. ***********************************************************************