Re: Assertion error

From: Kevin Fink (kevin@n2h2.com)
Date: Wed Apr 07 1999 - 11:06:18 MDT


On Wed, 7 Apr 1999, Kevin Fink wrote:

> On Wed, 7 Apr 1999, Alex Rousskov wrote:
>
> > On Wed, 7 Apr 1999, Kevin Fink wrote:
> >
> > > I'm getting an assertion error when trying to run polysrv:
> > >
> > > > ./polysrv --goal 5000 --port 5000
> > > StatPhase.cc:78: assertion failed: '!theMgr'
> > > IOT trap/Abort (core dumped)
> > >
> > > This is Polygraph 1.0p5
> >
> > Does it happen immediately after start? You may want to try
> > ./polysrv --goal 5000 --port 5000 --verb_lvl 4
> > to give us a bit more info. We have a few people running Poly on Linux so
> > something weird must be going on.
>
> Yes, it does happen immediately after start. Adding the verb_lvl doesn't
> change the output:
>
> > ./polysrv --goal 5000 --port 5000 --verb_lvl 4
> StatPhase.cc:78: assertion failed: '!theMgr'
> IOT trap/Abort (core dumped)
>
> ... Some Time Passes ...
>
> Whoops - figured it out. Removing the compiler optimization (-O3) fixed
> the problem.

Nope, I take it back. This allows it to work for a bit, but then I get
that same assertion error later:

> ./polysrv --goal 5000 --port 5000 --verb_lvl 4
923504382.569028| Command: ./polysrv --goal 5000 --port 5000 --verb_lvl 4
923504382.569028| Configuration:
        verb_lvl: 4
        prn_reqs: off
        prn_reps: off
        fd_limit: 2900
        console: -
        log: <none>
        log_size: 10485760
        linger_tout: <none>
        nagle: on
        xact_think: <none>
        goal: 5000:<none>:-1
        rng_seed: 1
        port: 5000
        accept_lmt: -1
        idle_tout: <none>
        rep_sz: exp(13312.00)
923504382.569028| FDs: 3000 out of 3000 FDs can be used; safeguard limit: 2900
923504382.569028| run-id: 11158704.95768227:2 pid: 20131
923504382.576561| waiting for requests; goal: 5000:<none>:-1
923504383.577361| i-warm 106 105.92 -1.00 0 2
923504384.577475| i-warm 213 106.99 -1.00 0 2
923504385.688366| i-warm 306 83.72 -1.00 0 2
923504386.688606| i-warm 413 106.97 -1.00 0 2
923504387.519707| p-warm 500 101.00 -1.00 0
StatPhase.cc:78: assertion failed: '!theMgr'
IOT trap/Abort (core dumped)

It always happens when I see the first "p-warm" entry. I can run 4
clients at a goal of 100 without any problem, and the 5th one finishes ok,
but the server then crashes. If I move the server goal up, the p-warm
point moves up, as well - it's always 10% of the server goal. So
everything seems to work ok if I use an enormous server goal...

Kevin

------------------------------------------------------------------------------
 Kevin Fink <kevin@n2h2.com> N2H2, Creators of Bess and Searchopolis
 Chief Technology Officer 900 Fourth Avenue, Suite 3400
 http://www.n2h2.com/ Seattle, WA 98164
 VOICE: 206-336-1501 / 800-971-2622 FAX: 206-336-1556
------------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:05 MDT