Liferay terribly slowLiferay terribly slowhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1141102112024-03-29T15:36:10Z2024-03-29T15:36:10ZRE: Liferay terribly slowRaphael Bongominhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1141852672019-07-02T23:19:04Z2019-07-02T23:19:04Z<p>Thanx Olaf. Since I was in a developement environment, I turned off the LDAP setting in Liferay and everything went back to normal for now.<br /><br />We are now checking what the deal with the developement LDAP server is.</p><br /><br /><p>Cheers</p>Raphael Bongomin2019-07-02T23:19:04ZRE: Liferay terribly slowOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1141118902019-06-25T07:44:49Z2019-06-25T07:44:49Z<div class="quote-title">Raphael Bongomin:</div><blockquote><br />I have implemented liferay community edition 7.1 GA2 with Microsoft SQL 2016 server as the backend. It is a small instance with 1 website and is connected to LDAP. The initial LDAP import came with 3,000 users but only 3 or 4 users are logged in at any point in time.<br />The problem is that liferay is horendously slow. Even the login screen takes really long.<br />I have attached the log file, does anyone have any insights??</blockquote>I can't see any particular reason for slowness in that logfile, but I can see that <em>a lot</em> of user-account related messages might hide other relevant output:<br /><ul style="list-style: disc outside;"><li><em>All</em> your users seem to have invalid email addresses (null)</li><li><em>All</em> your users seem to have illegal screen names</li><li><em>All</em> your users seem to have the same first- and family-name</li></ul>This points to a problem in the configuration of your LDAP connection that you should fix first. Maybe it's even this inability to handle the users correctly that causes some slowness - I don't know.<br />Then there are a few problems of rendering assets: For those you should find out the root cause: E.g. if it's a certain page, article, or configuration that's causing it. <br />What you can do is: Trigger a few Thread Dumps during the login period, to see where the code is stuck. Also: Check if you're running out of some resources: CPU, Memory, I/O. If any of those are saturated (for whatever reason), you'll have to work on it. If you're running other software on the same CPU, it might claim all resources.<br />Further, I'm assuming that you're using Antonio's SQL-Server driver, as 7.1 out-of-the-box wouldn't work with SQL-Server. But I wouldn't expect anything on that side, as it just passes statements back and forth. However, the missing support for this database might also mean that you might need to create more indices on the database, but as I don't run this configuration I can't tell if this is more than a wild guess.Olaf Kock2019-06-25T07:44:49ZLiferay terribly slowRaphael Bongominhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1141102102019-06-25T06:31:08Z2019-06-25T06:31:08ZI have implemented liferay community edition 7.1 GA2 with Microsoft SQL 2016 server as the backend. It is a small instance with 1 website and is connected to LDAP. The initial LDAP import came with 3,000 users but only 3 or 4 users are logged in at any point in time.<br />The problem is that lif