[jira] [Commented] (SOLR-9698) Fix bin/solr script calculations - start/stop wait time and RMI_PORT on Windows

2019-03-08 Thread Shawn Heisey (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16788202#comment-16788202
 ] 

Shawn Heisey commented on SOLR-9698:


Oh, the patch just submitted has an echo (for debugging) that needs to be 
removed before it is committed.

> Fix bin/solr script calculations - start/stop wait time and RMI_PORT on 
> Windows
> ---
>
> Key: SOLR-9698
> URL: https://issues.apache.org/jira/browse/SOLR-9698
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: scripts and tools
>Reporter: Erick Erickson
>Priority: Major
> Attachments: SOLR-9698.patch
>
>
> Killing the Solr process after 5 seconds is too harsh. See the discussion at 
> SOLR-9371.
> SOLR-9371 fixes the *nix versions, we need to do something similar for 
> Windows.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-9698) Fix bin/solr script calculations - start/stop wait time and RMI_PORT on Windows

2019-03-08 Thread Shawn Heisey (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16788174#comment-16788174
 ] 

Shawn Heisey commented on SOLR-9698:


Something that would be immensely useful for testing this sort of thing would 
be a URL endpoint that creates a thread deadlock within Solr, so that it will 
never gracefully stop.

> Fix bin/solr script calculations - start/stop wait time and RMI_PORT on 
> Windows
> ---
>
> Key: SOLR-9698
> URL: https://issues.apache.org/jira/browse/SOLR-9698
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: scripts and tools
>Reporter: Erick Erickson
>Priority: Major
>
> Killing the Solr process after 5 seconds is too harsh. See the discussion at 
> SOLR-9371.
> SOLR-9371 fixes the *nix versions, we need to do something similar for 
> Windows.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-9698) Fix bin/solr script calculations - start/stop wait time and RMI_PORT on Windows

2018-08-24 Thread Danny Shih (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592039#comment-16592039
 ] 

Danny Shih commented on SOLR-9698:
--

When run in a non-interactive context, the "timeout" command produces this 
error:

{{"ERROR: Input redirection is not supported, exiting the process 
immediately."}}

I work on a product where we call out to solr.cmd from a java control 
application to start/stop SOLR, and this breaks us.  It'd be good if you could 
replace the "timeout" command with something else. One slightly hacky solution 
that is suggested all over the internet is to use the "ping" command on an 
unreachable address:

{{PING 1.1.1.1 -n 30 >NUL (to wait for 30 s)}}

 

> Fix bin/solr script calculations - start/stop wait time and RMI_PORT on 
> Windows
> ---
>
> Key: SOLR-9698
> URL: https://issues.apache.org/jira/browse/SOLR-9698
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: scripts and tools
>Reporter: Erick Erickson
>Priority: Major
>
> Killing the Solr process after 5 seconds is too harsh. See the discussion at 
> SOLR-9371.
> SOLR-9371 fixes the *nix versions, we need to do something similar for 
> Windows.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org