Hi all,
since we are being flooded by search requests, several SOLR errors started occuring. These errors occurs both in search and statistics and it seems like these got corrupted. If I understand the manual correctly, the search solr index will repair itself because we enabled the respective cron tabs. Is there a way to repair the statistics index?
- Error opening new searcher Caused by: java.io.IOException: Map failed
- java.io.IOException: Map failed: statistics/data/index/_1p90_Lucene410_0.dvd
- auto commit error...:java.io.IOException: Map failed:
The files referenced in the log files (e.g./dspace/solr/statistics/data/index/_1p90_Lucene410_0.dvd) do exist and have the correct permissions.
Running DSpace 5.4, solr statistics, jspui, tomcat 7, java 7, Sles Linux, Oracle.
kind regards,
Francis Brouns
Errors thrown are:
2017-10-19 00:30:59,054 ERROR org.apache.solr.core.SolrCore @ org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1565)
...
Caused by: java.io.IOException: Map failed: MMapIndexInput(path="/dspace/solr/search/data/index/_ggq.fdt") [this may be caused by lack of enough unfragmented virtual address space or too restrictive virtual memory limits enforced by the operating system, preventing us to map a chunk of 623947081 bytes. Please review 'ulimit -v', 'ulimit -m' (both should return 'unlimited'), and 'sysctl vm.max_map_count'. More information:
http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html]
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:888)
at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:224)
2017-10-19 01:31:09,769 ERROR org.apache.solr.core.SolrCore @ java.io.IOException: Map failed: MMapIndexInput(path="/dspace/solr/statistics/data/index/_1osu_Lucene410_0.dvd") [this may be caused by lack of enough unfragmented virtual address space or too restrictive virtual memory limits enforced by the operating system, preventing us to map a chunk of 303329851 bytes. Please review 'ulimit -v', 'ulimit -m' (both should return 'unlimited'), and 'sysctl vm.max_map_count'. More information:
http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html]
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:888)
at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:224)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:199)
2017-10-26 01:45:11,641 INFO org.apache.solr.update.UpdateHandler @ start commit{,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}
2017-10-26 01:45:12,418 ERROR org.apache.solr.update.CommitTracker @ auto commit error...:java.io.IOException: Map failed: MMapIndexInput(path="/dspace/solr/statistics/data/index/_1p90_Lucene410_0.dvd") [this may be caused by lack of enough unfragmented virtual address space or too restrictive virtual memory limits enforced by the operating system, preventing us to map a chunk of 305990079 bytes. Please review 'ulimit -v', 'ulimit -m' (both should return 'unlimited'), and 'sysctl vm.max_map_count'. More information:
http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html]
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:888)
at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:224)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:199)
at org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:198)
at org.apache.lucene.codecs.lucene410.Lucene410DocValuesProducer.<init>(Lucene410DocValuesProducer.java:121)
at org.apache.lucene.codecs.lucene410.Lucene410DocValuesFormat.fieldsProducer(Lucene410DocValuesFormat.java:181)
at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsReader.<init>(PerFieldDocValuesFormat.java:238)