[ https://issues.apache.org/jira/browse/SOLR-14335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062704#comment-17062704 ]
Jan Høydahl commented on SOLR-14335: ------------------------------------ Ok, I started a POC in [GitHub Pull Request #1364|https://github.com/apache/lucene-solr/pull/1364] The PR introduces a SolrBootstrap class and then replaces {{-jar start.jar}} with {{-cp ".:solr.jar:start.jar"}} in bin/solr. All it does so far is to demonstrate that we can start Solr with out own bootstrap class which then delegates to Jetty's Main class. The SolrBootstrap class currently just prints a line to stdout. Next steps (help welcome): * hook in some JNA code to lock memory * ivy support (needs to place the solr.jar in server folder) * replace all -jar start.jar in both bin/solr and bin/solr.cmd * add a sys param and env.var to control memory locking on/off (or should we always attempt to lock?) > Lock Solr's memory to prevent swapping > -------------------------------------- > > Key: SOLR-14335 > URL: https://issues.apache.org/jira/browse/SOLR-14335 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Jan Høydahl > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Followup from SOLR-10306. While sometimes you are able to disable or reduce > swap on the host, other times that is not so easy. Having a native option to > lock Solr's memory would be beneficial. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org