Perlbal crash
Brad Fitzpatrick
brad at danga.com
Thu Aug 18 22:30:18 PDT 2005
Ah, so here's the bug:
lib/Perlbal/Socket.pm:use Danga::Socket '1.44';
That should read:
use Danga::Socket 1.44;
Without the quotes.
That's why it wasn't bitching and telling you that you need 1.44 and not
1.43.
Perlbal 1.35 requires the push_back_read() method in Danga::Socket that
never worked correctly until the other day in version 1.44.
- Brad
On Fri, 19 Aug 2005, Jacques Marneweck wrote:
> 2005-08-17 20:20:00.952861500 WARNING: AIO mode disabled or not available.
> 2005-08-17 20:20:00.952866500 Perlbal will run slowly under
> load if you're doing any
> 2005-08-17 20:20:00.952868500 disk operations. (e.g.
> web_server mode).
> 2005-08-18 17:20:36.844433500 Running.
> 2005-08-18 17:20:36.844438500 beginning run
> 2005-08-18 17:20:36.844440500 crash log: content_length_remain less than
> zero: self->{content_length_remain} at
> /usr/local/lib/perl5/site_perl/5.8.7/Perlbal/ClientProxy.pm line 579
> 2005-08-18 17:20:36.844442500 crash log:
> Perlbal::ClientProxy::event_read('Perlbal::ClientProxy=ARRAY(0x869de88)')
> called at /usr/local/lib/perl5/site_perl/5.8.7/Danga/Socket.pm line 433
> 2005-08-18 17:20:36.844445500 crash log:
> Danga::Socket::PostEventLoop() called at
> /usr/local/lib/perl5/site_perl/5.8.7/Danga/Socket.pm line 504
> 2005-08-18 17:20:36.852894500 crash log:
> Danga::Socket::PollEventLoop('Perlbal::Socket') called at
> /usr/local/lib/perl5/site_perl/5.8.7/Perlbal.pm line 999
> 2005-08-18 17:20:36.852898500 crash log: eval {...} called at
> /usr/local/lib/perl5/site_perl/5.8.7/Perlbal.pm line 997
> 2005-08-18 17:20:36.852900500 crash log: Perlbal::run() called at
> /usr/local/bin/perlbal line 74
> 2005-08-18 17:20:36.852902500 ending run
> 2005-08-18 17:20:37.506907500 WARNING: AIO mode disabled or not available.
> 2005-08-18 17:20:37.506912500 Perlbal will run slowly under
> load if you're doing any
> 2005-08-18 17:20:37.506914500 disk operations. (e.g.
> web_server mode).
>
> prometheus# pkg_info | grep Perlbal
> p5-Perlbal-1.35 Reverse-proxy load balancer and webserver
> prometheus# pkg_info | grep Danga
> p5-Danga-Socket-1.43 Perl API for memcached, a distributed memory cache
> daemon
> prometheus#
>
> I'll do some digging in the morning.
>
> Regards
> --jm
>
> --
> Jacques Marneweck
> http://www.powertrip.co.za/blog/
>
>
>
More information about the perlbal
mailing list