Perlbal - Re: Perlbal crash

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > August 2005 > Re: Perlbal crash





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Perlbal crash
Brad Fitzpatrick

2005-08-19, 2:45 am

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('Perlba
l::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::S
ocket') 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/
>
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com