🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48849

Re: ovdb2 vs. STABLE-20001006 and following

#48849
From: Bill Cole
Date: Sun, 22 Oct 2000 00:00
67 lines
4252 bytes
In article <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-PPro-4@netscum.dQ>,
The Evil Fluffy <meowbot@Free-N0RP.NetScum.dQ> wrote:

>(Sorry for the delay, I've pretended to sleep)
>On 48 Sep 19100, Andrew Gierth wrote:
>
>>  [stuff about ovdb2 deadlocks]
>> what version of Berkeley DB are you using?
>
>This is 3.1.17.  I saw similar locking problems with 2.2.7, but I'm
>no longer seeing any of the other problems I had seen with that.
>
>BerzerkDB is compiled out-of-the-box on this Slowaris (5.7) machine.

[lotsa snipping]


>Attempts to truss a new nnrpd, once things freeze up, get stuck in
>lwp_mutex_lock after opening and closing one of the /news/overview
[...]
>What I have noticed is that most of the stuck processes are shown by
>`truss' to be in lwp_mutex_lock, although I haven't done an exhaustive
>search to see if there are any other SunOS 5.7 threading bugs that
>might appear as this.  However, last time everything went down, before
>I killed off all the other processes, I did a `truss' on all of them
>and one of the nnrpd processes was in `lwp_sema_wait', having been
>started many hours earlier in the day, and present in the process table
>but inactive since then according to the logs.
[...]
>Hmmm, interesting, I got one reader who connected and is sitting idly,
>yet `truss' reveals a slight difference from the other idle connections
>I've made -- those are in `poll' and then `lwp_sema_wait', while this
>nnrpd is in `poll' and `lwp_cond_wait'.  After a few minutes this nnrpd
>should timeout, so I'll see if it goes away or if anything weird happens
>here.  Well, maybe not -- a newer nnrpd shows the same...
>
>No, I don't know anything about threads other than that if others are
>not seeing these same locking problems with other OSen, then it's
>probably either a Slowaris bug or a BerkeleyDB bug, maybe, else not.

FWLIW, this is poking at nightmares I thought I had forgotten. 

I would bet on Solaris being the culprit here. I have seen and passed
along to Greater Minds multiple cases of various large beast applications
landing themselves in unpleasant states that truss says involves copious
but fruitless 'poll' and 'lwp_<foo>' calls, as the large beast becomes
completely useless. All  involving Solaris 2.6 and 2.7, all fixable by
reverting to 2.5.1. 

Now of course I must add that when I saw such things, even doing that much
analysis was considered above and beyond the call of duty for me, and
chasing down the details or dealing with Sun was very much NMJ, but what I
saw was the Greater Minds pondering over these tea leaves, consulting with
Sun and various major app vendors, and then backing off the relevant boxes
to 2.5.1. Whether that proves Solaris 7 to be at fault, I do not know. It
has been 6 months since I saw this and 5 since I gave a damn about
Solaris, so maybe there is some deeper explanation and/or a fix for what I
witnessed, however if I was working on a Solaris 2.>5 system and saw
mysterious failures involving the lwp threading stuff, I'd try backreving
the OS....

-- 
Bill Cole                                   
Record holder: lamest news server in the Freenix top 10k
MAPS worker bee geek, but definitely NOT speaking for MAPS

Technical Details
Message-ID: <bill-2210002302260001@fireproof.scconsult.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-386-4-100000@netscum.dQ> <slrn8u808b.9h3.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-486-4-100000@netscum.dQ> <slrn8uc3cn.f4a.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-586-4-100000@netscum.dQ> <87em1ezkd5.fsf@erlenstar.demon.co.uk> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-PPro-4@netscum.dQ>

Show Full Headers
Complete Article Headers
Message-ID: <bill-2210002302260001@fireproof.scconsult.com>
Subject: Re: ovdb2 vs. STABLE-20001006 and following
Date: Sun, 22 Oct 2000 00:00:00 +0000
From: bill@scconsult.com (Bill Cole)
References: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-386-4-100000@netscum.dQ> <slrn8u808b.9h3.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-486-4-100000@netscum.dQ> <slrn8uc3cn.f4a.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-586-4-100000@netscum.dQ> <87em1ezkd5.fsf@erlenstar.demon.co.uk> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-PPro-4@netscum.dQ>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 684648804
Sender: bill@scconsult.com
Organization: scconsult.com is not organized
Newsgroups: news.software.nntp
X-Posting-Server: RumorMill 1.3d22