<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay performance issue</title>
  <link rel="self" href="https://liferay.dev/ar/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103981736" />
  <subtitle>Liferay performance issue</subtitle>
  <id>https://liferay.dev/ar/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103981736</id>
  <updated>2026-05-04T22:03:55Z</updated>
  <dc:date>2026-05-04T22:03:55Z</dc:date>
  <entry>
    <title>RE: Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104363374" />
    <author>
      <name>Nor EL MALKI</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104363374</id>
    <updated>2018-02-22T11:27:01Z</updated>
    <published>2018-02-22T11:27:01Z</published>
    <summary type="html">Thanks Deependra, it works perfecly !</summary>
    <dc:creator>Nor EL MALKI</dc:creator>
    <dc:date>2018-02-22T11:27:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104358254" />
    <author>
      <name>Deependra Singh</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104358254</id>
    <updated>2018-02-22T10:47:16Z</updated>
    <published>2018-02-22T10:47:16Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;To improve the page performance you can enable the SPA engine as it is disabled by default. &lt;br /&gt;Steps to enable SPA engine -&lt;br /&gt;Go to System Settings -&amp;gt; Foundation -&amp;gt; Fronted SPA Infrastructure. The Cache Expiration Time is -1 by default. &lt;br /&gt;Update the cache expiration and provide value as 10(This value can vary as per your requirement)</summary>
    <dc:creator>Deependra Singh</dc:creator>
    <dc:date>2018-02-22T10:47:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104358400" />
    <author>
      <name>Nor EL MALKI</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104358400</id>
    <updated>2018-02-22T09:33:08Z</updated>
    <published>2018-02-22T09:33:08Z</published>
    <summary type="html">Thanks Christoph,&lt;br /&gt;&lt;br /&gt;I enabled debugging on &amp;#34;org.hibernate.loader.Loader&amp;#34; to check on database calls.  I noticed that the processServicePre method on MainServlet is generating too much databases calls : &lt;br /&gt;&lt;ul&gt;&lt;li&gt;When accessing to Content -&amp;gt; Document and Media, it generates 80337 calls. &lt;/li&gt;&lt;li&gt;When accessing to Configuration -&amp;gt; Application Display Template, it generates 15564 calls. &lt;/li&gt;&lt;li&gt;When publishing a new Web Content, it generates 15796 calls. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Is there a way to overcome this issue (maybe some Liferay caching) ? or is it a bug that should be raised ?&lt;br /&gt;&lt;br /&gt;PS. I also tried disabling any extra modules in our liferay instance, but it didn&amp;#39;t improve performances.&lt;br /&gt;&lt;br /&gt;Thanks again for your help !&lt;br /&gt;&lt;br /&gt;Nor</summary>
    <dc:creator>Nor EL MALKI</dc:creator>
    <dc:date>2018-02-22T09:33:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104117759" />
    <author>
      <name>Nor EL MALKI</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104117759</id>
    <updated>2018-02-16T14:36:30Z</updated>
    <published>2018-02-16T14:36:30Z</published>
    <summary type="html">Thanks Christoph</summary>
    <dc:creator>Nor EL MALKI</dc:creator>
    <dc:date>2018-02-16T14:36:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104058311" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104058311</id>
    <updated>2018-02-15T14:30:45Z</updated>
    <published>2018-02-15T14:30:45Z</published>
    <summary type="html">You need to find the root cause, I&amp;#39;d suggest you enable some logging.&lt;br /&gt;&lt;br /&gt;But before you do that, stop Liferay, delete osgi/state, both work folders and the tomcat/temp folder and start it again. You might also try to undeploy all your own modules to find if it also happens without any of your code.&lt;br /&gt;&lt;br /&gt;To enable logging:&lt;br /&gt;Go to Control Panel -&amp;gt; Configuration -&amp;gt; Server Administration -&amp;gt; Log Levels&lt;br /&gt;A good start is to set &amp;#34;com.liferay.portal.servlet.MainServlet&amp;#34; to all. Maybe this gives you a hint.&lt;br /&gt;&lt;br /&gt;Also, you could enable slow query log in mysql.&lt;br /&gt;&lt;br /&gt;Also, try to get some stacktraces: &amp;#34;kill -3 &amp;lt;Tomcat_PID&amp;gt;&amp;#34; should give you a hint in which methods it waits. Look for locks. If CPU is used, you might also do a &amp;#34;top -H&amp;#34; to find the thread that uses the CPU. You can then convert the pid to hex and look into the stacktrace to find it. This article describes the idea:&lt;br /&gt;http://www.nurkiewicz.com/2012/08/which-java-thread-consumes-my-cpu.html&lt;br /&gt;&lt;br /&gt;With those stacktraces you might get an idea which part of the code gets stuck and enable logging for those classes to get a clearer picture.&lt;br /&gt;&lt;br /&gt;hth</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2018-02-15T14:30:45Z</dc:date>
  </entry>
  <entry>
    <title>Liferay performance issue</title>
    <link rel="alternate" href="https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103981735" />
    <author>
      <name>Nor EL MALKI</name>
    </author>
    <id>https://liferay.dev/ar/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103981735</id>
    <updated>2018-02-14T13:29:39Z</updated>
    <published>2018-02-14T13:29:39Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;We are encountering  a performance issue when trying to access Liferay management pages, each page call is taking up to 50 seconds.&lt;br /&gt;&lt;br /&gt;The performances were good at the Liferay setup time.&lt;br /&gt;&lt;br /&gt;Is there any advice to boost the load time?&lt;br /&gt;&lt;br /&gt;Here is our Liferay installation characteristics  :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Liferay version: 7.0.3 GA4&lt;/li&gt;&lt;li&gt;VM settings: debian 8.9 / 16 G RAM / 4 Processors Intel Xeon&lt;/li&gt;&lt;li&gt;Elastic search version :  2.2.0&lt;/li&gt;&lt;li&gt;MySQL version :  5.7.17&lt;/li&gt;&lt;li&gt;MySQL directory size (/var/lib/mysql) : 1.4 G&lt;/li&gt;&lt;li&gt;Data directory size (liferay-ce-portal-7.0-ga4/data) : 24 G&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;TIA</summary>
    <dc:creator>Nor EL MALKI</dc:creator>
    <dc:date>2018-02-14T13:29:39Z</dc:date>
  </entry>
</feed>
