<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Performance problems on ML350G3 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506099#M16723</link>
    <description>Kristof, Steven, &lt;BR /&gt;&lt;BR /&gt;I have found some answers to my problem. Following your advice I detected Apache is not freeing memory. I decided to start taking services down (Steven's suggestion); one by one, betting postgres would be the problem, but no. &lt;BR /&gt;When I stop Apache almost all swap is freed and RAM also. I wonder why that is. The best explanation I've heard so far is problems in the Tomcat&amp;lt;-&amp;gt;Apache interaction, connections between them live forever. I'm upgrading apache from 1.3.31 to 2.0.53 and tomcat 4 to tomcat 5.5, we'll see.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
    <pubDate>Tue, 22 Mar 2005 14:34:30 GMT</pubDate>
    <dc:creator>Rodrigo_33</dc:creator>
    <dc:date>2005-03-22T14:34:30Z</dc:date>
    <item>
      <title>Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506093#M16717</link>
      <description>Hello there, &lt;BR /&gt;&lt;BR /&gt;I'm having a strange and serious performance problem with Redhat 7.3&lt;BR /&gt;running on a HP ML350 G3 dual Xeon server with 1.5 GB of RAM and three&lt;BR /&gt;RAID disks on a 641 controller.&lt;BR /&gt;&lt;BR /&gt;Server seems to work all right for three, four, even six days. Then it&lt;BR /&gt;becomes absolutely unresponsive but it does not crash. It will not&lt;BR /&gt;even display a console screen.&lt;BR /&gt;&lt;BR /&gt;I decided to run via cron the free command every 10 minutes, log this&lt;BR /&gt;information and create line graphics to analyze the problem. After&lt;BR /&gt;rebooting the server I can see:&lt;BR /&gt;1. It takes 2.5 hours for free memory to drop from 1.2 GB to 11 MB.&lt;BR /&gt;2. Cached memory grows to almost all free memory and then starts a 45&lt;BR /&gt;degree decrease which ends in around 75 MB then it becomes&lt;BR /&gt;unresponsive.&lt;BR /&gt;3. Between 12 and 24 hours before becoming unresponsive memory buffers&lt;BR /&gt;suffer a strong decrease and then a steady decrease, reaching values&lt;BR /&gt;of 1120K.&lt;BR /&gt;&lt;BR /&gt;This server runs apache, tomcat, postgres, AWStats and tapeware backup&lt;BR /&gt;software.&lt;BR /&gt;Any help will be greatly appreciated, since I really do not know were&lt;BR /&gt;to start.&lt;BR /&gt;Could it be Postgres memory settings?&lt;BR /&gt;Kernel memory settings?&lt;BR /&gt;&lt;BR /&gt;I have these graphics and memory value table in Excel, see attachment.&lt;BR /&gt;&lt;BR /&gt;thank you all</description>
      <pubDate>Wed, 16 Mar 2005 12:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506093#M16717</guid>
      <dc:creator>Rodrigo_33</dc:creator>
      <dc:date>2005-03-16T12:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506094#M16718</link>
      <description>Can you have a look at the output of 'top' ?&lt;BR /&gt;Maybe you can find the process that is taking up the resources.&lt;BR /&gt;&lt;BR /&gt;I had a similar problem with my swap file being filled up completely. (makeing the system unresponsive because disk access is 'so' slow compared to RAM access)&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2005 16:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506094#M16718</guid>
      <dc:creator>KristofH</dc:creator>
      <dc:date>2005-03-16T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506095#M16719</link>
      <description>I do not think, based on hardware you should be having any problem based on the software set.&lt;BR /&gt;&lt;BR /&gt;Checklist:&lt;BR /&gt;* Make sure patches are installed.&lt;BR /&gt;* Run up2date or yum and be on the latest patch set and kernel&lt;BR /&gt;&lt;BR /&gt;I do believe that there could be an interaction  between the postgres database and the kernel.&lt;BR /&gt;&lt;BR /&gt;I'm wondering if ussage is heavy. In this circumstance, I would lean toward thinking an application has a memory leak. The key to isolating it is shutting down various components and see if memory stops leaking.&lt;BR /&gt;&lt;BR /&gt;Also, check your httpd logs for strange entries that could indicate a denial of service attack. I've recently been forced to harden my servers again due to the latest attack.&lt;BR /&gt;&lt;BR /&gt;This attack is an attempt to force a buffer overflow in apache and gain root access. It has the effect of cluttering up the logs with http gets and posts for sites you don't host.&lt;BR /&gt;&lt;BR /&gt;I've seen it crash the kernel on Linux machines.&lt;BR /&gt;&lt;BR /&gt;I've developed a protection setup against it that works. Let me know what is in the access_log for the httpd server.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 16 Mar 2005 20:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506095#M16719</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-16T20:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506096#M16720</link>
      <description>Steven and Kristof, &lt;BR /&gt;&lt;BR /&gt;First of all thanks for your replies. &lt;BR /&gt;&lt;BR /&gt;Kristof, after rebooting the server all swap seems to be in use, but this level of usage suffers a steady decrease to 0 while Buffer/cache memory grows to use almost all available memory. So it is not a problem of swap being filled up. It seems swap is not being used and only RAM is used. &lt;BR /&gt;&lt;BR /&gt;Steven:&lt;BR /&gt;Starting from your answer I decided to focus on Postgres - Redhat interaction. Found some documents for tuning and performance and compared with my installation. In /etc/sysctl.conf I found&lt;BR /&gt;&lt;BR /&gt;kernel.shmmax=268435456&lt;BR /&gt;kernel.shmall=268435456&lt;BR /&gt;&lt;BR /&gt;And &lt;BR /&gt;&lt;BR /&gt;vm.bdflush = 100 1200 128 0 500 5000 80 50 0&lt;BR /&gt;&lt;BR /&gt;These settings are not present in another RedHat 7.3 installation I have and values are certainly not these. Could this be the problem?&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 11:42:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506096#M16720</guid>
      <dc:creator>Rodrigo_33</dc:creator>
      <dc:date>2005-03-17T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506097#M16721</link>
      <description>Kristof, &lt;BR /&gt;&lt;BR /&gt;You are right! swap is full, 1GB full and all the available RAM too.&lt;BR /&gt;My mistake, the excel table I sent has the free and used column names (for swap) swapped. So the graphics I made were lying. I'm attaching the file again.&lt;BR /&gt;More and more I start thinking the problem may be at the Virtual Memory management.&lt;BR /&gt;&lt;BR /&gt;thank you</description>
      <pubDate>Thu, 17 Mar 2005 13:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506097#M16721</guid>
      <dc:creator>Rodrigo_33</dc:creator>
      <dc:date>2005-03-17T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506098#M16722</link>
      <description>Well, that could be for different reasons (that your swap is filling up). My guess is, some application is driving crazy and eating up all the memory. Best luck could be by doing a 'top' regularly to see wich application is eating up the swap. (and thus the cpu, wich makes your system go slow as hell)&lt;BR /&gt;&lt;BR /&gt;Also a very good tool to use as replacement to op can be htop, you can find it at: &lt;A href="http://htop.sourceforge.net/" target="_blank"&gt;http://htop.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;good luck, and keep us posted.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 13:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506098#M16722</guid>
      <dc:creator>KristofH</dc:creator>
      <dc:date>2005-03-17T13:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506099#M16723</link>
      <description>Kristof, Steven, &lt;BR /&gt;&lt;BR /&gt;I have found some answers to my problem. Following your advice I detected Apache is not freeing memory. I decided to start taking services down (Steven's suggestion); one by one, betting postgres would be the problem, but no. &lt;BR /&gt;When I stop Apache almost all swap is freed and RAM also. I wonder why that is. The best explanation I've heard so far is problems in the Tomcat&amp;lt;-&amp;gt;Apache interaction, connections between them live forever. I'm upgrading apache from 1.3.31 to 2.0.53 and tomcat 4 to tomcat 5.5, we'll see.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 22 Mar 2005 14:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506099#M16723</guid>
      <dc:creator>Rodrigo_33</dc:creator>
      <dc:date>2005-03-22T14:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance problems on ML350G3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506100#M16724</link>
      <description>I would say focus on apache and get it patched.&lt;BR /&gt;&lt;BR /&gt;There has to be a patch for this, even if you have to compile apache anew.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://httpd.apache.org" target="_blank"&gt;http://httpd.apache.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 22 Mar 2005 16:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/performance-problems-on-ml350g3/m-p/3506100#M16724</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-22T16:03:05Z</dc:date>
    </item>
  </channel>
</rss>

