Thank you for comming back with your findings and solution...



> -----Ursprüngliche Nachricht-----
> Von: Eliot Kimber <eliot.kim...@servicenow.com.INVALID>
> Gesendet: Dienstag, 28. Januar 2025 23:25
> An: users@solr.apache.org
> Betreff: Re: Solo server restarting every 90 seconds for no clear reason
> 
> This solr.service file seems to be working as intended (no unwanted
> restarts):
> 
>    [Unit]
>    Description=Apache SOLR
> 
>    [Service]
>    Type=forking
>    User=solr
>    Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
>    ExecStart=/opt/solr/bin/solr start
>    ExecStop=/opt/solr/bin/solr stop
>    Restart=on-failure
>    LimitNOFILE=65000
>    LimitNPROC=65000
>    TimeoutSec=180s
> 
>    [Install]
>    WantedBy=multi-user.target
> 
> Cheers,
> 
> Eliot
> _____________________________________________
> Eliot Kimber
> Sr. Staff Content Engineer
> O: 512 554 9368
> 
> servicenow
> 
> servicenow.com<https://www.servicenow.com>
> LinkedIn<https://www.linkedin.com/company/servicenow> |
> X<https://twitter.com/servicenow> |
> YouTube<https://www.youtube.com/user/servicenowinc> |
> Instagram<https://www.instagram.com/servicenow>
> 
> From: Eliot Kimber <eliot.kim...@servicenow.com.INVALID>
> Date: Tuesday, January 28, 2025 at 4:13 PM
> To: users@solr.apache.org <users@solr.apache.org>
> Subject: Re: Solo server restarting every 90 seconds for no clear reason
> [External Email]
> 
> I found my issue: it was own fault: I had created a systemctl service for
> solr and that was causing the issue (see
> https://gist.github.com/hammady/3d7b5964c7b0f90997865ebef40bf5e1<https://g
> ist.github.com/hammady/3d7b5964c7b0f90997865ebef40bf5e1>)
> 
> The systemctl process starts Solr but then immediately shuts it down,
> which apparently takes 90 seconds, and then it helpfully restarts it.
> 
> Starting Solr using the solr command works fine and it stays up.
> 
> I was setting this server up very quickly without really knowing what I
> was doing, so there you go. I had forgotten that’d done this setup
> manually rather than through some Solr-supported process.
> 
> Sorry to have bothered the group but maybe somebody else will find this
> discussion useful in the future.
> 
> Cheers,
> 
> Eliot
> 
> _____________________________________________
> Eliot Kimber
> Sr. Staff Content Engineer
> O: 512 554 9368
> 
> servicenow
> 
> servicenow.com<https://www.servicenow.com<https://www.servicenow.com>>
> LinkedIn<https://www.linkedin.com/company/servicenow<https://www.linkedin.
> com/company/servicenow>> |
> X<https://twitter.com/servicenow<https://twitter.com/servicenow>> |
> YouTube<https://www.youtube.com/user/servicenowinc<https://www.youtube.com
> /user/servicenowinc>> |
> Instagram<https://www.instagram.com/servicenow<https://www.instagram.com/s
> ervicenow>>
> 
> From: Eliot Kimber <eliot.kim...@servicenow.com.INVALID>
> Date: Tuesday, January 28, 2025 at 12:53 PM
> To: users@solr.apache.org <users@solr.apache.org>
> Subject: Re: Solo server restarting every 90 seconds for no clear reason
> [External Email]
> 
> 
> Solr 9.7.0
> 
> I downloaded it and manually installed.
> 
> I have full control of this server and thus the cron jobs, and there are
> no cron jobs that should be interfering with Solr in any way and certainly
> none that run ever 90 seconds (my cron jobs run about once an hour on this
> server).
> 
> I found a Solr-specific directory under /tmp (jetty-127_0_0_1-8983-webapp-
> _solr-any-6912854890539458980) and it changes at the same 90 second
> interval, but I’m guessing that’s because the server restarts, not because
> something is interfering with it.
> 
> All the directories are the default locations (i.e. /var/solr/…) and I
> haven’t done anything like simlink the /data directory to a different file
> system (my /var file system is small but still has plenty of space at the
> moment).
> 
> This is a corporate managed VM so it’s possible that it’s being subjected
> to some regular command that has the effect of triggering Solr to restart.
> 
> Can someone confirm that there’s no aspect of a normal Solr configuration
> (and certainly nothing in the default configuration) that would cause this
> sort of periodic restart?
> 
> Since I didn’t find anything similar to this issue in my searching other
> than an out-of-memory condition triggering it, I’m thinking it must be
> something specific to my server and non-obvious.
> 
> Thanks,
> 
> Eliot
> _____________________________________________
> Eliot Kimber
> Sr. Staff Content Engineer
> O: 512 554 9368
> 
> servicenow
> 
> servicenow.com<https://www.servicenow.com<https://www.servicenow.com><http
> s://www.servicenow.com<https://www.servicenow.com>>>
> LinkedIn<https://www.linkedin.com/company/servicenow<https://www.linkedin.
> com/company/servicenow><https://www.linkedin.com/company/servicenow<https:
> //www.linkedin.com/company/servicenow>>> |
> X<https://twitter.com/servicenow<https://twitter.com/servicenow><https://t
> witter.com/servicenow<https://twitter.com/servicenow>>> |
> YouTube<https://www.youtube.com/user/servicenowinc<https://www.youtube.com
> /user/servicenowinc><https://www.youtube.com/user/servicenowinc<https://ww
> w.youtube.com/user/servicenowinc>>> |
> Instagram<https://www.instagram.com/servicenow<https://www.instagram.com/s
> ervicenow><https://www.instagram.com/servicenow<https://www.instagram.com/
> servicenow>>>
> 
> From: Andreas Mock <andreas.m...@drumedar.de>
> Date: Tuesday, January 28, 2025 at 9:46 AM
> To: users@solr.apache.org <users@solr.apache.org>
> Subject: AW: Solo server restarting every 90 seconds for no clear reason
> [External Email]
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Eliot Kimber <eliot.kim...@servicenow.com.INVALID>
> > Gesendet: Dienstag, 28. Januar 2025 14:43
> > An: users@solr.apache.org
> > Betreff: Solo server restarting every 90 seconds for no clear reason
> >
> 
> 
> > I have installed Solr on RHEL 9 and it is working fine except that it
> > restarts every 90 seconds.
> 
> Which version?
> Which kind of installation did you use? (dnf-driven, manual with tgz)
> 
> Best regards
> Andreas

Reply via email to