Liferay7-GA3 Tomcat Server get down after a certain time period.Liferay7-GA3 Tomcat Server get down after a certain time period.https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=932694032024-03-29T06:51:25Z2024-03-29T06:51:25ZRE: Liferay7-GA3 Tomcat Server get down after a certain time period.Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=952576382017-09-21T08:33:00Z2017-09-21T08:33:00Z<div class="quote-title">scott E mitchell:</div><blockquote><br />And for this like we have set around 4gb assign to CATALINA_OPTS, but it's again not working please have look setenv.sh file<br />CATALINA_OPTS = -Xmx4096m -XX:MaxPermSize=384m is that correct because previously we have -Xmx1024m -XX:MaxPermSize=384m configuration,please suggest.</blockquote><br /><br />The MaxPermSize doesn't help much, as you say you're on Liferay7 which requires Java8, which doesn't support this option any more. Any you're running out of HeapSpace to begin with - so this is just FYI.<br /><br />I'd say: Run a profiler or take a heap dump and identify where the memory goes. Or attach jconsole (through JMX) and monitor the memory usage of your portal - see if you can identify any correlations. <br /><br />Plus, make extra-extra-<em>extra</em> sure that you don't have custom components - do you not even have a theme? All right out-of-the-box? It's not like there's no possibility that Liferay could contain memory leaks - just if it did, more people would have this issue.Olaf Kock2017-09-21T08:33:00ZRE: Liferay7-GA3 Tomcat Server get down after a certain time period.scott E mitchellhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=946551812017-09-08T06:45:20Z2017-09-08T06:45:20ZHello Olaf,<br /><br /><div class="quote-title">Olaf Kock:</div><blockquote><br />There are two permanent solutions:<br /><ul><li>Figure out if you have a memory leak in one of your (most likely custom) components - if yes: Fix it, redeploy, done</li></ul></blockquote><br />As suggest for this point actually we don't have any custom components so there is no possibility of memory leakage.<br /><br /><blockquote><li>If Liferay legitimately needs this memory, just raise the memory configuration. If you're running Tomcat, this is best done in tomcat/bin/setenv.sh - unless you're running a service on Windows, then it's in the service's configuration</li></blockquote><br />And for this like we have set around 4gb assign to CATALINA_OPTS, but it's again not working please have look setenv.sh file<br />CATALINA_OPTS = -Xmx4096m -XX:MaxPermSize=384m is that correct because previously we have -Xmx1024m -XX:MaxPermSize=384m configuration,please suggest.<br /><br />TIA......scott E mitchell2017-09-08T06:45:20ZRE: Liferay7-GA3 Tomcat Server get down after a certain time period.scott E mitchellhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=933188862017-08-18T06:59:29Z2017-08-18T06:59:29ZHey Olaf,<br />Thank you so much for your reply I will check both the use cases.<br /><br />Thanks.scott E mitchell2017-08-18T06:59:29ZRE: Liferay7-GA3 Tomcat Server get down after a certain time period.Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=932824592017-08-17T14:06:23Z2017-08-17T14:06:23Z<div class="quote-title">scott E mitchell:</div><blockquote>Error logs:-<br /><strong><u><u></u></u>16-Aug-2017 05:37:21.931 SEVERE [ajp-nio-8009-ClientPoller-1] org.apache.tomcat.util.net.NioEndpoint$Poller.run <br /><strong> java.lang.OutOfMemoryError</strong>: Java heap space</strong></blockquote><br /><br />There are two permanent solutions:<br /><ul><li>Figure out if you have a memory leak in one of your (most likely custom) components - if yes: Fix it, redeploy, done</li><li>If Liferay legitimately needs this memory, just raise the memory configuration. If you're running tomcat, this is best done in tomcat/bin/setenv.sh - unless you're running a service on Windows, then it's in the service's configuration</li></ul>Olaf Kock2017-08-17T14:06:23ZLiferay7-GA3 Tomcat Server get down after a certain time period.scott E mitchellhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=932694022017-08-17T09:15:53Z2017-08-17T09:15:53ZHello Every one,<br /><br />I am using <strong>LF7-GA3</strong>, actually we have facing some problem with our public web site and find the reason behind this is due to OutOfMemoryError this is happening after every 10 to 12 days time period.<br /><br />Error logs:-<br /><strong><u><u></u></u>16-Aug-2017 05:37:21.931 SEVERE [ajp-nio-8009-ClientPoller-1] org.apache.tomcat.util.net.NioEndpoint$Poller.run <br /><strong> java.lang.OutOfMemoryError</strong>: Java heap space</strong><br /><br />showing java heap is overload we are deal with this manually like