lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binoy Dalal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8803) OOM killer for Windows
Date Wed, 09 Mar 2016 16:14:41 GMT

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

Binoy Dalal commented on SOLR-8803:
-----------------------------------

The only difference between *.bat and *.cmd files I could find is the way in which the scripts
return.
For cmd files, certain commands like `set` set the return code while for bat files, the return
code is only set on errors.
So I do not think that changing the file extension will make any difference.
I'll do that and run a small test to see if everything works fine and upload the updated files.

Source for the difference info.: http://stackoverflow.com/questions/148968/windows-batch-files-bat-vs-cmd

> OOM killer for Windows
> ----------------------
>
>                 Key: SOLR-8803
>                 URL: https://issues.apache.org/jira/browse/SOLR-8803
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Binoy Dalal
>            Priority: Minor
>         Attachments: SOLR-8803.patch, oom_win.bat
>
>
> Solr on windows does not currently have a script to kill the process on OOM errors.
> The idea is to write a batch script that works like the OOM kill script for Linux and
kills the solr process on OOM errors while creating an OOM log file like the one on Linux
systems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message