Hi, >From your JAVA_OPTS I see you are allocating 4096 + 2048 megabytes of RAM to Tomcat right from the start. How much memory does your server have? This means your host must have AT LEAST 6GB of RAM just for Tomcat, let alone PostgreSQL, Solr, and the rest of the operating system. I wouldn't be surprised if you are encountering poor performance due to swapping.
For reference, we run a fairly large DSpace instance with ~55,000 items and a decent amount of traffic and these are our JAVA_OPTS: -Djava.awt.headless=true -Xms3072m -Xmx3072m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8 Our server has 8GB of physical memory. Unless you know you need all those JVM tweaks, I'd start by simplifying your JAVA_OPTS to something more simple (for testing at least). Regards, On Wed, Aug 10, 2016 at 7:03 PM, Evelthon Prodromou <[email protected]> wrote: > Hello, > > > I seem to be having an issue with tomcat. It takes ~38+ seconds to load > pages. I believe it's tomcat since i notice shell scripts ( > [dspace]/bin/dspace ) executing slow when tomcat is started, and very fast > (normal I presume) when tomcat is stopped. > > > The system is a new installation of DSpace 5.5 on CentOS7. Data and sql > migrated from an 1.7.0 installation. > > tomcat.conf includes the following JAVA_OPTS > > JAVA_OPTS="-Xmx4096m -Xms4096m -XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 > -XX:MaxHeapFreeRatio=70 -XX:+UseConcMarkSweepGC > -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled" > > index-discovery was executed and discovery facets show up. > > > Someone please point me to the right direction to investigate. > > > Thank you, > > > Evelthon > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. -- Alan Orth [email protected] https://englishbulgaria.net https://alaninkenya.org https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0 -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
