Back to DaliCMSDeveloperPages DaliCMS Developer Pages.

High load on the server.

In some cases the performance of dynamic sites and/or the admin tool might be lower than expected. If this happens, it is important to know what exactly is going on.

First of all, you should check which process is using many resources. On linux-systems, you can use the "top" command for this. Most issues are caused by either a high load in a "cp" process or a high load in a "java" process.

  • a high load in a "cp" process is probably due to an export that is currently running. Files are being copied to a static location.
  • a high load in a "java" process may be caused by the Application Server being very active. The guidelines below allow you to inspect the Application Server.

First of all, you should check what the Application Server is doing. In case you are using glassfish, you can use this command:

asadmin generate-jvm-report --type=thread

This will give you a list of threads that are currently executing. Most of these threads are appserver-specific threads. If you check for occurences of "dali" in this report, you will see what Dali-specific tasks are being executed.

In some cases, you will see something containing Thread "p: thread-pool-1; w: 3793" thread-id 20,572 thread-stateRUNNABLERunning in native

[skip]

at: javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at: javax.xml.parsers.SAXParser.parse(SAXParser.java:255) at: com.lodgon.util.RssReader?.parse(RssReader?.java:42) at: com.lodgon.dali.ejb.message.ExternalRssHandler?.process(ExternalRssHandler?.java:24) at: com.lodgon.dali.ejb.message.ExternalRssHandler?.process(ExternalRssHandler?.java:11) at: com.lodgon.dali.ejb.message.InternalProcessingBean?.onMessage(InternalProcessingBean?.java:49) at: sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)

[skip]

This means that the Application Server is currently processing external RSS streams. This is typically initiated by a cron-job. You can check the settings of this cron-job, or inspect the external RSS streams to see whether all of them are still needed.