From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200411162109.iAGL9ZJ08233@augusta.math.psu.edu> To: Russ Cox , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Weird timeout thing in smtpd? In-Reply-To: Your message of "Tue, 16 Nov 2004 07:31:15 EST." Date: Tue, 16 Nov 2004 16:09:35 -0500 From: Dan Cross Cc: Topicbox-Message-UUID: 0380e3d0-eace-11e9-9e20-41e7f4b1d025 Russ Cox writes: > > > So, the question is: what would cause send to take a *really* long > > time? I mean, on the order of seconds.... And, more to the point, > > how can I fix that? > > run send by hand and then run acid on it and look around. ;-) Following Russ's suggestion, we discovered that send was hanging out waiting for /mail/lib/qmail to finish, which was in turn waiting on runq. On systems with backlogged mail, runq can take a long time to complete. Running runq in the background makes the problem go away. The fix is now on sources. - Dan C.