<?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: DL380 extremely slow performance with postfix+amavisd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008303#M64206</link>
    <description>Great news, I have finally tracked down the problem! I simply don't know how to solve it yet. Thank you for your insight about the reverse DNS problems, it helped me give some ideas, although it doesn't seem to directly be the problem (actual DNS queries are fast).&lt;BR /&gt;&lt;BR /&gt;The culprit was actually syslog. Once I told amavisd to not use syslog and write to the logfile directly, the speed went up wonderfully. We have the two machines in a cluster, and they both cross-log syslog events, so that may be a likely bottleneck. I have triple-checked that syslog will not reverse DNS lookup, though... However, I have never seen this behavior before, and I verified that these DL380 machines have syslog configured just like other machines where this problem doesn't appear.&lt;BR /&gt;&lt;BR /&gt;I think I can try to find a workaround or track down the problem. This certainly was an interesting problem, what really stumped me was that this only happened on these machines.&lt;BR /&gt;&lt;BR /&gt;Once again, thanks for your help. Things are looking much better now.</description>
    <pubDate>Tue, 29 May 2007 02:57:47 GMT</pubDate>
    <dc:creator>Jouni Harjunmaa</dc:creator>
    <dc:date>2007-05-29T02:57:47Z</dc:date>
    <item>
      <title>DL380 extremely slow performance with postfix+amavisd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008301#M64204</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;We have received and configured new Proliant DL380 servers which will soon be sent to customers. Unfortunately, the performance of sending e-mail is so slow as to render the system nearly unusable. CPU usage is very low, and there is no clear bottleneck that we can find. I suspect there is an I/O problem somewhere. Here is an example of amavis.log:&lt;BR /&gt;&lt;BR /&gt;May 28 13:45:05 server amavis[16685]: (16685-03-4) TIMING [total 25269 ms] - loo&lt;BR /&gt;kup_sql: 3274 (13%)13, SMTP pre-DATA-flush: 1960 (8%)21, SMTP DATA: 284 (1%)22, &lt;BR /&gt;check_init: 816 (3%)25, digest_hdr: 0 (0%)25, digest_body: 270 (1%)26, gen_mail_&lt;BR /&gt;id: 247 (1%)27, mime_decode: 1392 (6%)33, get-file-type1: 870 (3%)36, decompose_&lt;BR /&gt;part: 1601 (6%)42, get-file-type1: 738 (3%)45, parts_decode: 91 (0%)46, check_he&lt;BR /&gt;ader: 924 (4%)49, spam-wb-list: 4267 (17%)66, update_cache: 180 (1%)67, decide_m&lt;BR /&gt;ail_destiny: 1720 (7%)74, fwd-connect: 2487 (10%)84, fwd-mail-pip: 1407 (6%)89, &lt;BR /&gt;fwd-rcpt-pip: 114 (0%)90, fwd-data-chkpnt: 144 (1%)90, write-header: 121 (0%)91,&lt;BR /&gt; fwd-data-contents: 0 (0%)91, fwd-end-chkpnt: 935 (4%)94, prepare-dsn: 696 (3%)9&lt;BR /&gt;7, main_log_entry: 204 (1%)98, update_snmp: 135 (1%)98, SMTP pre-response: 79 (0&lt;BR /&gt;%)99, SMTP response: 196 (1%)100, unlink-2-files: 118 (0%)100, rundown: 0 (0%)10&lt;BR /&gt;0&lt;BR /&gt;&lt;BR /&gt;As you can see, the process is uniformly slow. Using dmesg, I was able to find something interesting and think this could lead to a solution:&lt;BR /&gt;&lt;BR /&gt;Buffer I/O error on device hda, logical block 4&lt;BR /&gt;Buffer I/O error on device hda, logical block 5&lt;BR /&gt;...&lt;BR /&gt;hda: tray open&lt;BR /&gt;end_request: I/O error, dev hda, sector 256&lt;BR /&gt;&lt;BR /&gt;We are using RHEL5 with the latest amavisd and postfix. The hardware is a Proliant DL380 G5 with a RAID1+0 setup. The CCISS driver seems to be loaded and working. Also, this problem occurs with both our DL380 machines, but other models (and manufacturers) with the same setup run without problem.&lt;BR /&gt;&lt;BR /&gt;Are there any good ideas on how I should continue in tracking down this problem?</description>
      <pubDate>Mon, 28 May 2007 06:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008301#M64204</guid>
      <dc:creator>Jouni Harjunmaa</dc:creator>
      <dc:date>2007-05-28T06:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: DL380 extremely slow performance with postfix+amavisd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008302#M64205</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Most common cause of this is host name resolution.&lt;BR /&gt;&lt;BR /&gt;An example story.&lt;BR /&gt;&lt;BR /&gt;I changed my firewalls and the systems /etc/resolv.conf was the firewall.&lt;BR /&gt;&lt;BR /&gt;Due to the changes host name resolution slowed to a crawl. There were lots of messages in the mail logs about no host name resolution.&lt;BR /&gt;&lt;BR /&gt;I changed /etc/resolv.conf to the outside ISP's name servers and everything perked up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This message is critical, though not to performance:&lt;BR /&gt;&lt;BR /&gt;end_request: I/O error, dev hda, sector 256&lt;BR /&gt;&lt;BR /&gt;Thats a bad sector and needs to be resolved. hda has a bad section and you should get a new disk. If there is a degradation of raid performance due to this error, it cold be contributing to the problem.&lt;BR /&gt;&lt;BR /&gt;Check the speed and accuracy of outside host name resolution and if its slow, see what can be done to speed it up.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 28 May 2007 08:41:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008302#M64205</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-28T08:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: DL380 extremely slow performance with postfix+amavisd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008303#M64206</link>
      <description>Great news, I have finally tracked down the problem! I simply don't know how to solve it yet. Thank you for your insight about the reverse DNS problems, it helped me give some ideas, although it doesn't seem to directly be the problem (actual DNS queries are fast).&lt;BR /&gt;&lt;BR /&gt;The culprit was actually syslog. Once I told amavisd to not use syslog and write to the logfile directly, the speed went up wonderfully. We have the two machines in a cluster, and they both cross-log syslog events, so that may be a likely bottleneck. I have triple-checked that syslog will not reverse DNS lookup, though... However, I have never seen this behavior before, and I verified that these DL380 machines have syslog configured just like other machines where this problem doesn't appear.&lt;BR /&gt;&lt;BR /&gt;I think I can try to find a workaround or track down the problem. This certainly was an interesting problem, what really stumped me was that this only happened on these machines.&lt;BR /&gt;&lt;BR /&gt;Once again, thanks for your help. Things are looking much better now.</description>
      <pubDate>Tue, 29 May 2007 02:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dl380-extremely-slow-performance-with-postfix-amavisd/m-p/4008303#M64206</guid>
      <dc:creator>Jouni Harjunmaa</dc:creator>
      <dc:date>2007-05-29T02:57:47Z</dc:date>
    </item>
  </channel>
</rss>

