[
https://issues.apache.org/jira/browse/SOLR-8803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223130#comment-15223130
]
Binoy Dalal commented on SOLR-8803:
-----------------------------------
That's not the issue. Here's the process string from windows using the command:
{code:xml}
wmic path win32_process where (Caption='java.exe') get commandline,processid |
findstr start.jar | findstr 8983
{code}
Here's the result:
{code:xml}
"C:\Program Files\Java\jdk1.8.0_11\bin\java" -server -Xms512m -Xmx512m
-Duser.timezone=UTC -XX:NewRatio=3 -XX:SurvivorRatio=4
-XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4
-XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m
-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50
-XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled
-XX:+ParallelRefProcEnabled -verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails
-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution
-XX:+PrintGCApplicationStoppedTime -Xss256k
-Xloggc:"E:\SOFTWARE\solr-5.4.1\server\logs"/solr_gc.log
-XX:OnOutOfMemoryError="oom_win.bat 8983 E:\SOFTWARE\solr-5.4.1\server/logs"
-Dlog4j.configuration="file:E:\SOFTWARE\solr-5.4.1\server\resources\log4j.properties"
-DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Djetty.port=8983
-Dsolr.solr.home="E:\SOFTWARE\solr-5.4.1\server\solr"
-Dsolr.install.dir="E:\SOFTWARE\solr-5.4.1"
-Djetty.home="E:\SOFTWARE\solr-5.4.1\server"
-Djava.io.tmpdir="E:\SOFTWARE\solr-5.4.1\server\tmp" -jar start.jar
"--module=http" 4652
{code}
> 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, SOLR-8803.patch, oom_win.bat,
> oom_win.cmd
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]