Hello,
I am having significant performance issues with Solr, starting with Version 
9.0.0.

I am able to reproduce the behavior as follows pretty easily:
docker run -p 8983:8983 -d solr
time curl http://localhost:8983/solr
curl http://localhost:8983/solr  0,00s user 0,01s system 0% cpu 8,018 total
As you can see, the request takes about 8 seconds. I also tested with version 
9.0.0 and the issue is present there as well.
However if I switch to version 8 of Solr, the request takes only 39ms.
docker run -p 8983:8983 -d solr:8
time curl http://localhost:8983/solr
curl http://localhost:8983/solr  0,01s user 0,00s system 14% cpu 0,039 total
I am running the following system:
Operating System: Manjaro Linux
Kernel: Linux 5.15.89-1-MANJARO
Architecture: x86-64
Hardware Vendor: Dell Inc.
Hardware Model: XPS 15 9520
Firmware Version: 1.2.0
I checked the logs and there seem to be no ERRORs reported. In case I missed 
smth, I attached the logs.
Apart from the slow response time, Solr seems to be working okay.

I will happilly provide any additional information you might need.
Thank you!

Urs Lange

[cid:intrexx_signatur_logo_ae13547d-a57a-4425-b9ef-267a81189af1.png]
Urs Lange
Head of Test & Automation
Phone   +49 761 20703 252

E-Mail  urs.la...@unitedplanet.com<mailto:urs.la...@unitedplanet.com>
Web     intrexx.com<https://intrexx.com>

[cid:linkedin_icon_intrexx_f853f379-22e8-42e8-9a1a-fb43bee46223.png] 
<https://de.linkedin.com/showcase/intrexx-software/>
United Planet GmbH
Schnewlinstr. 2 | 79098 Freiburg i. Br.. Germany
Register of companies: District Court of Freiburg, HRB 5842
Managing Directors: Katrin Beuthner, Manfred Stetz

Privacy Policy<https://www.intrexx.com/de/impressum> |  Information 
obligation<https://www.intrexx.com/de/informationspflichten>
Starting Solr
OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 1)
OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
OpenJDK 64-Bit Server VM warning: Failed to reserve shared memory. (error = 12)
2023-02-01 10:25:37.534 INFO  (main) [   ] o.e.j.u.log Logging initialized @419ms to org.eclipse.jetty.util.log.Slf4jLog
2023-02-01 10:25:37.635 INFO  (main) [   ] o.e.j.s.Server jetty-9.4.44.v20210927; built: 2021-09-27T23:02:44.612Z; git: 8da83308eeca865e495e53ef315a249d63ba9332; jvm 11.0.18+10
2023-02-01 10:25:37.642 INFO  (main) [   ] o.e.j.d.p.ScanningAppProvider Deployment monitor [file:///opt/solr-8.11.2/server/contexts/] at interval 0
2023-02-01 10:25:37.743 INFO  (main) [   ] o.e.j.w.StandardDescriptorProcessor NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
2023-02-01 10:25:37.749 INFO  (main) [   ] o.e.j.s.session DefaultSessionIdManager workerName=node0
2023-02-01 10:25:37.749 INFO  (main) [   ] o.e.j.s.session No SessionScavenger set, using defaults
2023-02-01 10:25:37.750 INFO  (main) [   ] o.e.j.s.session node0 Scavenging every 600000ms
2023-02-01 10:25:37.780 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
2023-02-01 10:25:37.782 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 8.11.2
2023-02-01 10:25:37.782 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
2023-02-01 10:25:37.782 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: /opt/solr
2023-02-01 10:25:37.782 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2023-02-01T10:25:37.782967Z
2023-02-01 10:25:37.794 INFO  (main) [   ] o.a.s.c.SolrPaths Using system property solr.solr.home: /var/solr/data
2023-02-01 10:25:37.794 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /var/solr/data/solr.xml
2023-02-01 10:25:37.833 INFO  (main) [   ] o.a.s.c.SolrXmlConfig MBean server found: com.sun.jmx.mbeanserver.JmxMBeanServer@5b247367, but no JMX reporters were configured - adding default JMX reporter.
2023-02-01 10:25:38.107 INFO  (main) [   ] o.a.s.h.c.HttpShardHandlerFactory Host whitelist initialized: WhitelistHostChecker [whitelistHosts=null, whitelistHostCheckingEnabled=true]
2023-02-01 10:25:38.172 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@367b22e5[provider=null,keyStore=null,trustStore=null]
2023-02-01 10:25:38.172 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@367b22e5[provider=null,keyStore=null,trustStore=null]
2023-02-01 10:25:38.245 WARN  (main) [   ] o.e.j.u.s.S.config Trusting all certificates configured for Client@692e028d[provider=null,keyStore=null,trustStore=null]
2023-02-01 10:25:38.246 WARN  (main) [   ] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@692e028d[provider=null,keyStore=null,trustStore=null]
2023-02-01 10:25:38.270 WARN  (main) [   ] o.a.s.c.CoreContainer Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info
2023-02-01 10:25:38.347 INFO  (main) [   ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient core cache for max 2147483647 cores with initial capacity of 1024
2023-02-01 10:25:38.352 INFO  (main) [   ] o.a.s.h.a.MetricsHistoryHandler No .system collection, keeping metrics history in memory.
2023-02-01 10:25:38.385 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5b247367
2023-02-01 10:25:38.385 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5b247367
2023-02-01 10:25:38.386 INFO  (main) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@5b247367
2023-02-01 10:25:38.399 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /var/solr/data
2023-02-01 10:25:38.425 INFO  (main) [   ] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@58670130{/solr,file:///opt/solr-8.11.2/server/solr-webapp/webapp/,AVAILABLE}{/opt/solr-8.11.2/server/solr-webapp/webapp}
2023-02-01 10:25:38.433 INFO  (main) [   ] o.e.j.s.AbstractConnector Started ServerConnector@235a0c16{HTTP/1.1, (http/1.1, h2c)}{0.0.0.0:8983}
2023-02-01 10:25:38.433 INFO  (main) [   ] o.e.j.s.Server Started @1319ms
Starting Solr
Java 17 detected. Enabled workaround for SOLR-16463
[0.001s][warning][pagesize] UseLargePages disabled, no large pages configured and available on the system.
CompileCommand: exclude com/github/benmanes/caffeine/cache/BoundedLocalCache.put bool exclude = true
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future release
2023-02-01 10:24:44.777 INFO  (main) [] o.e.j.u.log Logging initialized @412ms to org.eclipse.jetty.util.log.Slf4jLog
2023-02-01 10:24:44.889 INFO  (main) [] o.e.j.s.Server jetty-9.4.48.v20220622; built: 2022-06-21T20:42:25.880Z; git: 6b67c5719d1f4371b33655ff2d047d24e171e49a; jvm 17.0.6+10
2023-02-01 10:24:45.024 INFO  (main) [] o.a.s.s.CoreContainerProvider Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
2023-02-01 10:24:45.030 INFO  (main) [] o.a.s.s.CoreContainerProvider  ___      _       Welcome to Apache Solr™ version 9.1.1
2023-02-01 10:24:45.030 INFO  (main) [] o.a.s.s.CoreContainerProvider / __| ___| |_ _   Starting in standalone mode on port 8983
2023-02-01 10:24:45.030 INFO  (main) [] o.a.s.s.CoreContainerProvider \__ \/ _ \ | '_|  Install dir: /opt/solr
2023-02-01 10:24:45.030 INFO  (main) [] o.a.s.s.CoreContainerProvider |___/\___/_|_|    Start time: 2023-02-01T10:24:45.030946560Z
2023-02-01 10:24:45.033 INFO  (main) [] o.a.s.s.CoreContainerProvider Solr Home: /var/solr/data (source: system property: solr.solr.home)
2023-02-01 10:24:45.034 INFO  (main) [] o.a.s.c.SolrXmlConfig solr.xml not found in SOLR_HOME, using built-in default
2023-02-01 10:24:45.034 INFO  (main) [] o.a.s.c.SolrXmlConfig Loading solr.xml from /opt/solr/server/solr/solr.xml
2023-02-01 10:24:45.070 INFO  (main) [] o.a.s.c.SolrResourceLoader Added 1 libs to classloader, from paths: [/opt/solr/lib]
2023-02-01 10:24:45.570 WARN  (main) [] o.a.s.u.StartupLoggingUtils Jetty request logging enabled. Will retain logs for last 3 days. See chapter "Configuring Logging" in reference guide for how to configure.
2023-02-01 10:24:45.571 WARN  (main) [] o.a.s.c.CoreContainer Not all security plugins configured!  authentication=disabled authorization=disabled.  Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal or external.  See https://s.apache.org/solrsecurity for more info
2023-02-01 10:24:45.659 INFO  (main) [] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /var/solr/data
2023-02-01 10:24:45.693 INFO  (main) [] o.e.j.s.h.ContextHandler Started o.e.j.w.WebAppContext@4e76dac{/solr,file:///opt/solr-9.1.1/server/solr-webapp/webapp/,AVAILABLE}{/opt/solr-9.1.1/server/solr-webapp/webapp}
2023-02-01 10:24:45.696 INFO  (main) [] o.e.j.s.RequestLogWriter Opened /var/solr/logs/2023_02_01.request.log
2023-02-01 10:24:45.700 INFO  (main) [] o.e.j.s.AbstractConnector Started ServerConnector@c5ee75e{HTTP/1.1, (http/1.1, h2c)}{0.0.0.0:8983}
2023-02-01 10:24:45.700 INFO  (main) [] o.e.j.s.Server Started @1337ms

Reply via email to