Hi Monika,

You didn't mention what version of DSpace you are using, nor what activities (if any) were going on at the time (if you can narrow that down at all).

If you are not yet on 5.4, there were two significant Solr memory leaks/spikes resolved in 5.4:
https://jira.duraspace.org/browse/DS-2869
https://jira.duraspace.org/browse/DS-2832
(Though these were both on the search/browse side of things, not on Solr Statistics)

There was also a Solr logging issue resolved, which seemed to be causing Solr to do odd things with its logs:
https://jira.duraspace.org/browse/DS-2790

Anything appear in your DSpace or Solr logs during this time? I'm assuming you are likely seeing an OutOfMemory error in one/both?

- Tim

On 1/21/2016 8:39 AM, Monika Mevenkamp wrote:
Looking at the output of jstack  I  see 7 blocks of

"ajp-bio-8009-exec-224" daemon prio=10 tid=0x00007f159c9ad000 nid=0x5076 runnable [0x00007f14a3343000]
   java.lang.Thread.State: RUNNABLE

….
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
at *org.dspace*.statistics.SolrLogger.postView(SolrLogger.java:229)
at *org.dspace*.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:42) at *org.dspace*.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:144) at *org.dspace*.services.events.SystemEventService.fireEvent(SystemEventService.java:86) at *org.dspace*.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:116) at *org.dspace*.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:130) at *org.dspace*.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:75)
...
at *org.dspace*.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

….


Theses are the only dspace related entries in the stack dump

Looking at the Solr Admin UI I see

    JVM 35% full 351.18 MBof 989.88 MB
    Physical Mem 95.8%  1.72GB of  1.79GB


The JVM args shown in the solr admin UI are

    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
    -Djava.io.tmpdir=/var/cache/tomcat/temp
    -Djava.endorsed.dirs=
    -Dcatalina.home=/usr/share/tomcat
    -Dcatalina.base=/usr/share/tomcat
    -Dfile.encoding=UTF-8
    -XX:MaxPermSize=128M
    -Xmx1024M
    -Xms1024M

To give you a sense of the solr index; running a du -hm on the /dspace/solr dir I get
du -s -hm  solr
3495solr
So that is about 5.5GB

The stats core has 3579463 docs
The search core has 70372 docs

I am not sure what solr means with physical memory here
I probably should increase it - but how ?

Monika


________________
Monika Mevenkamp
mo.me...@gmail.com <mailto:mo.me...@gmail.com>

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com <mailto:dspace-tech+unsubscr...@googlegroups.com>. To post to this group, send email to dspace-tech@googlegroups.com <mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to