[ 
https://issues.apache.org/jira/browse/SOLR-9560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohit updated SOLR-9560:
------------------------
    Attachment: SOLR-9560.patch

Adding patch with following features:

OS: Linux
Basic checks for
1. max open file (-n)
2. Max memory size and virtual memory size

It logs a warning in case the parameters are less than the recommended values:

_{color:#707070}WARN: Current Settings[User=Username]: Open File(-n)=10240, max 
memory size(-m)=unlimited, virtual memory(-v)=unlimited
WARN: Please ensure max open file(-n) is more than 32768 and [max memory(-m), 
virtual memory(-v) are set to unlimited], refer ULIMIT man page or, Solr Ref 
Guide
{color}_

Please review and let me know for any suggestions.

> Solr should check max open files and other ulimits and refuse to start if 
> they are set too low
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9560
>                 URL: https://issues.apache.org/jira/browse/SOLR-9560
>             Project: Solr
>          Issue Type: Wish
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Shalin Shekhar Mangar
>              Labels: newdev
>             Fix For: 7.0, 6.7
>
>         Attachments: SOLR-9560.patch
>
>
> Solr should check max open files and other ulimits and refuse to start if 
> they are set too low. Specifically:
> # max open files should be at least 32768
> # max memory size and virtual memory should both be unlimited



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to