We are currently working on the forum. For the short-term, all forum content will be in read-only format. We apologize for the interruption and look forward to collaborating with you shortly. All the best in your research!

Tomcat CPU usage hitting 100%

Whenever a CRF is viewed or edited, TOMCAT CPU usage increases to 100%. This is a recent problem. Is there any suggestions for tuning either TOMCAT or Postgres? The application is essentially unusable at the moment

Thanks

Patrick

Answers

  • kkristiansonkkristianson Posts: 24
    Have you added this to the tomcat JAVA configuration
    -XX:+UseParallelGC
    -XX:ParallelGCThreads=4
    -XX:MaxPermSize=180m
    -XX:+CMSClassUnloadingEnabled

    and added INITIAL MEMEORY POOL to 128
    MAXIMUM MEMORY POOL to 1280
  • Many thanks for your very prompt reply - checked the settings they are as recommended. I then discovered the problem - a few days ago we had a data extract issue - To try to discover the issue i changed the logging setting in the openclinica config file to debug to see if that would shed any light on the problem . This appears to be what was killing tomcat - Have put back to 'info' in the log file and all ok again :-)
  • kkristiansonkkristianson Posts: 24
    :)B):)
Sign In or Register to comment.