perlbal crashes

Brad Fitzpatrick brad at danga.com
Mon Aug 15 07:07:40 PDT 2005


There should be no warnings or crashes, ever.

For now, everybody should stop using Perlbal 1.3.  It's apparently screwed
in more ways than one.  I was probably overconfident in its then-fledgling
test suite when I released it.  Future releases will go back to 1.2's
quality.

- Brad


On Mon, 15 Aug 2005, Jacques Marneweck wrote:

> Brad Fitzpatrick wrote:
>
> >What version?  1.2, 1.3, cvs?
> >
> >I'm pretty sure that bug was both introduced and fixed in cvs.  If it's
> >present in an actual release, uh, that'd suck.  You might try updating to
> >the latest cvs?  cvs should be stable right now, except for
> >buffered-to-disk uploads which are undergoing some refactoring right
> >now.
> >
> >
> >
> That bug is in 1.3.1 from the site, I got bit by that one as well.
>
> Also is it normal for perlbal to crash when connection is reset by peer?
>
> prometheus# tail -10 current | tai64nlocal
> 2005-08-11 10:13:49.457163500 WARNING:  AIO mode disabled or not available.
> 2005-08-11 10:13:49.457168500           Perlbal will run slowly under
> load if you're doing any
> 2005-08-11 10:13:49.457170500           disk operations. (e.g.
> web_server mode).
> 2005-08-11 23:31:36.978209500 Running.
> 2005-08-11 23:31:36.978214500 beginning run
> 2005-08-11 23:31:36.978216500 crash log: setsockopt: Connection reset by
> peer at /usr/local/lib/perl5/site_perl/5.8.7/Danga/Socket.pm line 641.
> 2005-08-11 23:31:36.978218500 ending run
> 2005-08-11 23:31:37.453415500 WARNING:  AIO mode disabled or not available.
> 2005-08-11 23:31:37.453420500           Perlbal will run slowly under
> load if you're doing any
> 2005-08-11 23:31:37.453422500           disk operations. (e.g.
> web_server mode).
>
> Regards
> --jm
>
> >- Brad
> >
> >On Sat, 13 Aug 2005, Kevin Lewandowski wrote:
> >
> >
> >
> >>Hello,
> >>
> >>I'm running Perlbal in reverse proxy mode and it is crashing quite
> >>frequently. I get the crash message:
> >>
> >>crash log: Can't call method "request_method" on an undefined value
> >>at /usr/local/share/perl/5.8.4/Perlbal/HTTPHeaders.pm line 367.
> >>
> >>My Perlbal config is:
> >>
> >>--
> >>CREATE POOL apache
> >>   POOL apache ADD 10.10.10.23:81
> >>
> >>CREATE SERVICE proxy
> >>   SET proxy.listen = 10.10.10.23:80
> >>   SET proxy.role = reverse_proxy
> >>   SET proxy.pool = apache
> >>   SET proxy.persist_client = on
> >>   SET proxy.persist_backend = on
> >>   SET proxy.verify_backend = on
> >>ENABLE proxy
> >>--
> >>
> >>This Perlbal is feeding Apache behind it. I looked into the code and
> >>it has something to do with Keepalive. The crash happens after a few
> >>hours when keepalive is disabled in apache, and almost immediately
> >>when keepalive is enabled in Apache.
> >>
> >>Any ideas on what is wrong? thanks
> >>
> >>Kevin
> >>
> >>
> >>
> >>
> >
> >
> >
>
>
> --
> Jacques Marneweck
> http://www.powertrip.co.za/blog/
>
>
>


More information about the perlbal mailing list