Re: Cache problem

2016-04-13 Thread Shawn Heisey
On 4/13/2016 4:34 AM, Bastien Latard - MDPI AG wrote: > Thank you all again for your good and detailed answer. > I will combine all of them to try to build a better environment. > > *Just a last question...* > /I don't remember exactly when I needed to increase the java heap.../ > /but is it

Re: Cache problem

2016-04-13 Thread Bastien Latard - MDPI AG
Thank you all again for your good and detailed answer. I will combine all of them to try to build a better environment. *Just a last question...* /I don't remember exactly when I needed to increase the java heap.../ /but is it possible that this was for the DataImport.../ *Would the DIH work if

Re: Cache problem

2016-04-13 Thread Shawn Heisey
On 4/13/2016 12:57 AM, Bastien Latard - MDPI AG wrote: > Thank you Shawn & Reth! > > So I have now some questions, again > > > Remind: I have only Solr running on this server (i.e.: java + tomcat). > > /BTW: I needed to increase previously the java heap size because I > went out of memory.

Re: Cache problem

2016-04-13 Thread Bastien Latard - MDPI AG
Thank you Shawn & Reth! So I have now some questions, again Remind: I have only Solr running on this server (i.e.: java + tomcat). /BTW: I needed to increase previously the java heap size because I went out of memory. Actually, you only see here 2Gb (8Gb previously) for JVM because I

Re: Cache problem

2016-04-12 Thread Shawn Heisey
On 4/12/2016 3:35 AM, Bastien Latard - MDPI AG wrote: > Thank you both, Bill and Reth! > > Here is my current options from my command to launch java: > */usr/bin/java -Xms20480m -Xmx40960m -XX:PermSize=10240m > -XX:MaxPermSize=20480m [...]* > > So should I do *-Xms20480m -Xmx20480m*? > Why? What

Re: Cache problem

2016-04-12 Thread Reth RM
This has answers about why giving enough memory to OS is important: https://wiki.apache.org/solr/SolrPerformanceProblems#OS_Disk_Cache And as per solr admin dashboard, the os cache (physical memory is almost utilized where as memory allocated to jvm is not used) so its best to lower jvm memory.

Re: Cache problem

2016-04-12 Thread Bastien Latard - MDPI AG
Thank you both, Bill and Reth! Here is my current options from my command to launch java: */usr/bin/java -Xms20480m -Xmx40960m -XX:PermSize=10240m -XX:MaxPermSize=20480m [...]* So should I do *-Xms20480m -Xmx20480m* ? Why? What would it change? Reminder: the size of my main index is 46Gb...

Re: Cache problem

2016-04-12 Thread Reth RM
As per solr admin dashboard's memory report, solr jvm is not using memory more than 20 gb, where as physical memory is almost full. I'd set xms=xmx=16 gb and let operating system use rest. And regarding caches: filter cache hit ratio looks good so it should not be concern. And afaik, document

Re: Cache problem

2016-04-11 Thread billnbell
You do need to optimize to get rid of the deleted docs probably... That is a lot of deleted docs Bill Bell Sent from mobile > On Apr 11, 2016, at 7:39 AM, Bastien Latard - MDPI AG > wrote: > > Dear Solr experts :), > > I read this very interesting post