Hi all,

Our DSpace installation takes many seconds (up to minutes sometimes) to load, 
after adding records to a specific collection. It is very slow loading of a 
collection (or owing community).

What changed
1187 records were added to specific collection 
(https://gnosis.library.ucy.ac.cy/handle/7/39699). Each record has a very large 
number of metadata (Examples: https://gnosis.library.ucy.ac.cy/handle/7/61606 
and https://gnosis.library.ucy.ac.cy/handle/7/61622 ).

 Result
The specified collection takes ~1 minute+ to load. It also affects communities 
that include this collection.
At the same time I'm seeing high cpu loads in tomcat ( each call requires ~100% 
up to or more  ~400%)


What was tried to solve this
Added more ram to tomcat and java :

  *   JAVA_OPTS=-Djava.awt.headless=true -Xmx10240m -Xms10240m 
-XX:MaxPermSize=5120m -Dfile.encoding=UTF-8 -XX:MaxHeapFreeRatio=70
  *   -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
-XX:+CMSClassUnloadingEnabled
CATALINA_OPTS=-Djava.awt.headless=true -Xms8192m -Xmx8192m 
-XX:MaxPermSize=2048m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8


Added more ram to postgresql

  *     shared_buffers = 1024MB

Also note that postgresql is on a different box.

Increased  db connections number: db.maxconnections = 90
Set community cache to 12 hours: xmlui.community-list.cache = 12 hours

System details for DSpace:

  *   java version "1.7.0_241", OpenJDK Runtime Environment 
(rhel-2.6.20.0.el7_7-x86_64 u241-b01)
  *   Tomcat 7.0.76
  *   DSpace 5.5 XMLUI



Has anyone faced a similar situation? Any ideas are most welcome :)

Thank you,
Evelthon






-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1b8a9152-ca5a-c9b2-e85d-62e6dafcb080%40ucy.ac.cy.

Reply via email to