lsub.org is back again. Thanks to help from someone in the building.

On 8/13/07, Francisco J Ballesteros <[EMAIL PROTECTED]> wrote:
> That´s it. lsub.org is gone.
> I think our dns is out of procs, and nobody is in town. I don´t know
> if I´ll have
> to go back to madrid, or just wait until next Sat, when I had the plan
> to return.
>
> Thanks a lot for the script, that´ll be the first thing I´ll install
> upon return.
> (btw, [EMAIL PROTECTED] is still a way to reach me, should anyone have to).
>
>
> On 8/13/07, erik quanstrom <[EMAIL PROTECTED]> wrote:
> > assuming things are broken without external help ....
> >
> > i've been having trouble with dns infinitely extending
> > the life of queries when a "srvfail" is returned by an authoratitive
> > server.  eventually one query to a broken ns will hold up all the threads 
> > available
> > on the server.  this happends a lot on reverse lookups.  i fire this script
> > every 10 minutes to help ease the pain until i have the time figure out 
> > exactly
> > what's going wrong.
> >
> > - erik
> >
> > #!/bin/rc
> > rfork en
> > mailuser=guywhogetstocheckonthisstuff
> > fflag=0
> > nl='
> > '
> > fn usage{
> >         echo 'usage: restartdns [-f]' >[1=2]
> >         exit usage
> > }
> >
> > fn why{
> >         if(! ~ $#nbroken 0)
> >                 echo getting mediæval on $#nbroken broken dns processes.
> >         if not{
> >                 echo getting mediæval on $#nwait deadlocked dns processes.
> >                 for(i in $nwait)
> >                         echo $i
> >         }
> > }
> >
> > for(i)switch($i){
> > case -f
> >         fflag=1
> > case *
> >         usage
> > }
> >
> > if(~ $fflag 0){
> >         nbroken=`{ps -a | grep dns | grep Broken}
> >         ifs=$nl nwait=`{ps -a |sed -n 's/.* +dns \[query lock wait 
> > for(.*)\]/\1/gp' | sort | uniq -c | awk '$1>2'}
> >
> >         if(~ $#nbroken 0 && ~ $#nwait 0)
> >                 exit 'none broken'
> >         why
> >         if(~ $service rx)
> >                 {date; echo; why; echo; ps -a | grep dns}| mail 
> > $guywhogetstocheckonthisstuff
> > }
> >
> > slay dns | rc
> > ndb/dns -s
> > ndb/dns -Rrsx /net.alt -f /lib/ndb/external
> >
>

Reply via email to