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

Mike Drob commented on SOLR-15469:
----------------------------------

Can you be more specific as to what fails?
{noformat}
mdrob-imp:~/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT $ bin/solr start 
-c
*** [WARN] *** Your open file limit is currently 256.
 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 solr.in.sh
*** [WARN] ***  Your Max Processes Limit is currently 11136.
 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 solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983 [/]
Started Solr server on port 8983 (pid=92205). Happy searching!
mdrob-imp:~/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT $ bin/solr start 
-c -p 8984 -z localhost:9983
*** [WARN] *** Your open file limit is currently 256.
 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 solr.in.sh
*** [WARN] ***  Your Max Processes Limit is currently 11136.
 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 solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8984 [-]
Started Solr server on port 8984 (pid=92557). Happy searching!

mdrob-imp:~/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT $ bin/solr status
Found 2 Solr nodes:Solr process 92557 running on port 8984
{
  
"solr_home":"/Users/mdrob/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT/server/solr",
  "version":"9.0.0-SNAPSHOT af13d556f411b32b65fb993bc33044fe5ecd229c [snapshot 
build, details omitted]",
  "startTime":"2021-06-14T17:56:13.955Z",
  "uptime":"0 days, 0 hours, 0 minutes, 11 seconds",
  "memory":"153.1 MB (%29.9) of 512 MB",
  "cloud":{
    "ZooKeeper":"localhost:9983",
    "liveNodes":"2",
    "collections":"0"}}
Solr process 92205 running on port 8983
{
  
"solr_home":"/Users/mdrob/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT/server/solr",
  "version":"9.0.0-SNAPSHOT af13d556f411b32b65fb993bc33044fe5ecd229c [snapshot 
build, details omitted]",
  "startTime":"2021-06-14T17:55:34.793Z",
  "uptime":"0 days, 0 hours, 0 minutes, 51 seconds",
  "memory":"115.8 MB (%22.6) of 512 MB",
  "cloud":{
    "ZooKeeper":"localhost:9983",
    "liveNodes":"2",
    "collections":"0"}} 

mdrob-imp:~/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT $ bin/solr stop 
-p 8984
Sending stop command to Solr running on port 8984 ... waiting up to 180 seconds 
to allow Jetty process 92557 to stop gracefully.
mdrob-imp:~/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT $ bin/solr 
statusFound 1 Solr nodes:Solr process 92205 running on port 8983
{
  
"solr_home":"/Users/mdrob/code/solr/solr/packaging/build/solr-9.0.0-SNAPSHOT/server/solr",
  "version":"9.0.0-SNAPSHOT af13d556f411b32b65fb993bc33044fe5ecd229c [snapshot 
build, details omitted]",
  "startTime":"2021-06-14T17:55:34.793Z",
  "uptime":"0 days, 0 hours, 1 minutes, 58 seconds",
  "memory":"120.2 MB (%23.5) of 512 MB",
  "cloud":{
    "ZooKeeper":"localhost:9983",
    "liveNodes":"1",
    "collections":"0"}}{noformat}
 

> start/stop script fails on multiple instance
> --------------------------------------------
>
>                 Key: SOLR-15469
>                 URL: https://issues.apache.org/jira/browse/SOLR-15469
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools, SolrCLI
>            Reporter: Danilo
>            Priority: Minor
>              Labels: cluster, instances
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> When more instances of solr run on the same machine. The bash script solr 
> fail to get correct pid of process. This cause problems to get status 
> information or when stop/restart solr instance.
> In optical to use solr like a cluster service this is essential for the 
> cluster to know the healt of service.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to