[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anshum Gupta updated SOLR-8145: --- Fix Version/s: 5.5.1 > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Assignee: Timothy Potter >Priority: Minor > Fix For: 6.0, 5.5.1 > > Attachments: SOLR-8145.patch, SOLR-8145.patch, SOLR-8145.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurian Broertjes updated SOLR-8145: --- Attachment: SOLR-8145.patch SOLR_PORT and SOLR_LOGS_DIR are arguments for the oom_solr.sh script and are required for proper OOM handling. I've updated your patch and verified that it's working now. > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Priority: Minor > Attachments: SOLR-8145.patch, SOLR-8145.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurian Broertjes updated SOLR-8145: --- Attachment: SOLR-8145.patch Updated patch with proper svn diff instead of just diff > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Priority: Minor > Attachments: SOLR-8145.patch, SOLR-8145.patch, SOLR-8145.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nate Dire updated SOLR-8145: Attachment: bin_solr_5_2.patch > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Priority: Minor > Attachments: bin_solr_5_2.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nate Dire updated SOLR-8145: Attachment: SOLR-8145.patch > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Priority: Minor > Attachments: SOLR-8145.patch, bin_solr_5_2.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-8145) bin/solr script oom_killer arg incorrect
[ https://issues.apache.org/jira/browse/SOLR-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nate Dire updated SOLR-8145: Attachment: (was: bin_solr_5_2.patch) > bin/solr script oom_killer arg incorrect > > > Key: SOLR-8145 > URL: https://issues.apache.org/jira/browse/SOLR-8145 > Project: Solr > Issue Type: Bug > Components: scripts and tools >Affects Versions: 5.2.1 >Reporter: Nate Dire >Priority: Minor > Attachments: SOLR-8145.patch > > > I noticed the oom_killer script wasn't working in our 5.2 deployment. > In the {{bin/solr}} script, the {{OnOutOfMemoryError}} option is being passed > as an arg to the jar rather than to the JVM. I moved it ahead of {{-jar}} > and verified it shows up in the JVM args in the UI. > {noformat} ># run Solr in the background > nohup "$JAVA" "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -jar start.jar \ > "-XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT > $SOLR_LOGS_DIR" "${SOLR_JETTY_CONFIG[@]}" \ > {noformat} > Also, I'm not sure what the {{SOLR_PORT}} and {{SOLR_LOGS_DIR}} args are > doing--they don't appear to be positional arguments to the jar. > Attaching a patch against 5.2. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org