From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jay R. Wren" Newsgroups: gmane.os.tru64.managers Subject: Summary: slow tcp response from sendmail Date: Thu, 09 May 2002 17:32:39 -0400 Organization: Oakland University - IT Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3CDAEAF7.3020805@oakland.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1020981063 31790 127.0.0.1 (9 May 2002 21:51:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 May 2002 21:51:03 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 175voV-0008Gd-00 for ; Thu, 09 May 2002 23:51:03 +0200 Original-Received: (qmail 968 invoked by uid 5); 9 May 2002 21:31:02 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 960 invoked from network); 9 May 2002 21:31:02 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 9 May 2002 21:31:02 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVV00GE353PQD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 09 May 2002 17:31:02 -0400 (EDT) Original-Received: from cliff.acs.oakland.edu (cliff.acs.oakland.edu [141.210.10.111]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVV00GBW53IVF@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 09 May 2002 17:30:55 -0400 (EDT) Original-Received: from oakland.edu ([141.210.167.189]) by cliff.acs.oakland.edu (8.12.2/8.12.2) with ESMTP id g49LUsAv122783 for ; Thu, 09 May 2002 17:30:54 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417 Xref: main.gmane.org gmane.os.tru64.managers:131 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:131 Well, I recieved some excellent responses, most of which could have been eliminated if I had been more descriptive in my original email. Suggestions where: Reverse DNS was slow or not available, thus causing the problem. Our sendmail was using ORBS and its DNS lookups were unavailable. Slow network due to mismatched autonegotiation. High Load average causing sendmail to stop responding. The QueueLA, RefuseLA options. Unfortunately none of these were the problem. What I did finally notice was that 'sysconfig -q socket' showed sobacklog_drops as counting upward very quickly. I hunted down this in the Performance Tuning manual and the Internet Server Best Practices docs. It was unclear, but I got the impression that I should increase and max out somaxconn and sominconn. somaxconn was already at the maximum value of 65535, so I set sominconn to 65535. This didn't seem to help. I called Compaq Support. We have a silver agreement, I had better use it. After some discussion they agreed that maxing out sominconn and somaxconn were good steps, but I was still having this problem. It turns out that there is a known bug with closing a socket. I have no idea why it reared it ugly head. We were running fine for months with no changes recently. We moved to PK1 and applied a special patch refered to us by Compaq Support. This fixed the problem. It turns out the sendmail 'server' process that listens on the socket was going into state 'U' as specified by ps output. Using dbx the phone support person helpped me verify that the process was hung on the soclose call. Unfortunately I don't remember the exact dbx commands to verify this. something along the lines of : # dbx /vmunix (dbx) set $pid=8080 (dbx) t ....output here... where 8080 is the pid of the uninteruptable process Thanks to all for suggestions. -- Jay R. Wren Systems Programmer Oakland University Rochester, Michigan Jay R. Wren wrote: >> Hello, >> Today we started noticing slow tcp response from sendmail running on >> Tru64 5.1A. The behavior is basically slow to no(timed out) response >> on tcp port 25. The logs don't show anything. It is a 2 processor DS20 >> with a load avg of around 1. The CPU's don't do much. >> >> vmstat, iostat, netstat all show normal, expected information. There >> are no page outs. Disk IO seems normal. There are no network errors or >> collisions. >> >> The mailq has about 1700 messages waiting in it, but most are to >> deferred hosts, etc. There is usually around 21 sendmail processes >> running, processing the queue at any given time. >> >> Even a 'telnet localhost 25' will occasionally time out, even though >> now it is 5:30pm, off our peak hours, so our load is under .5. >> >> If anyone has any clues or pointers I would appreciate it. >> >> -- >> Jay R. Wren >> Systems Programmer >> Oakland University >> Rochester, Michigan >> > >