On 4/25/22 11:49, dmitri maziuk wrote:
On 2022-04-25 12:35 PM, Shawn Heisey wrote:
On 4/25/22 09:36, Fiz N wrote:

*SOLR-8.11.1: Unexpected status SERVICE_STOP_PENDING in response to STOP
control.*

Have you talked to the NSSM project to see what they can tell you about what their software is seeing from Solr?

It's seeing "stop pending": basically Solr takes too long to shut down, FVO "too long" = longer than NSSM's timeout. It's a bug in NSSM.

If the stop is being done correctly, the maximum amount of time it should take for a Windows system to shut Solr down is five seconds.  This is a fact that I actually consider to be a bug on our end ... after a hard-coded sleep of five seconds, solr.cmd will forcefully kill Solr, if it is still running.  For contrast, on POSIX systems the solr stop will wait for up to three minutes for it to stop gracefully before doing a forced kill, and if it takes less than three minutes, it returns as soon as the process stops.

Who knows what commands were given to NSSM for the stop and start actions.  They could be the wrong commands.  This project has not provided official instructions for setting up a service on Windows, so whatever the OP used is either third-party or something they created themselves.

Thanks,
Shawn

Reply via email to