Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2003 23:40:32 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ths@katjusha.de
Cc:        current@FreeBSD.org
Subject:   Re: qmail uses 100% cpu after FreeBSD-5.0 to 5.1 upgrade
Message-ID:  <200306160640.h5G6eWM7048102@gw.catspoiler.org>
In-Reply-To: <Pine.BSF.4.55.0306160817250.48094@typhaon.so36.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Jun, Thorsten Schroeder wrote:
> Hi,
> 
> On Mon, 15 Jun 2003, Chris Shenton wrote:
> 
>>     [...] qmail is run under daemontools and all work fine (the configuration
>>     is 2 years old!), but when I delivery the first mail (localy or remote)
>>     the qmail-send process fire up to 100% of CPU infinitely
>>
>>     All other mail are right delivery, and the CPU use is the only problem, I
>>     see in qmail-send.c that select() function, after the first message,
>>     allways return 1
> 
> same here too.
> I don't know what it could be - perhaps a problem with named pipes
> ("lock/trigger")?
> 
> You can find my ktrace output here: http://cs.so36.net/~ths/kdump.txt
> 
> Would be nice if anyone have an idea :)
> 
>> A truss shows me it's running in a tight loop over this code:
>>     close(9)                                         = 0 (0x0)
>>     select(0x9,0xbfbffcbc,0xbfbffc3c,0x0,0xbfbffc24) = 1 (0x1)
> 
>> Anyone else seen this or know what in FreeBSD-5.1 might have changed to cause
>> this?  Any thoughts on how I might go about diagnosing this any better?

Which version of fifo_vnops.c?  If the problem is present in
5.1-RELEASE, then the problem is likely to be the change made in 1.79
and 1.85.  If the problem didn't show up until after the 5.1-RELEASE,
then the problem could be the changes in 1.87 or 1.88.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306160640.h5G6eWM7048102>