Perlbal 1.80

54 views
Skip to first unread message

dormando

unread,
Feb 27, 2012, 2:05:17 AM2/27/12
to per...@googlegroups.com, mog...@googlegroups.com
Yo,

Hachi's done a bunch of work to start rolling up even more of the
outstanding perlbal patches and bugfixes. I've given it as much of a
review as I can, but if a few more eyeballs could test this guy I'd be
thankful.

Inlucded is a one-liner for you mogilefs folks who have been having
instability issues with mogstored. Can you please test this version on one
or some of your mogstored's and let us know if it helps, or even if it
doesn't help :)

We're hoping to get the perlbal on a schedule of once every other month,
or once a month if possible. Then the changeset won't be so huge. Thanks
for all those who sent changes, and for those still waiting to get their
patches in.

thanks,
-Dormando

Ocular Bat

unread,
Feb 28, 2012, 3:23:27 PM2/28/12
to per...@googlegroups.com, mog...@googlegroups.com
perlbal working on bsd anytime?

Ocular Bat

unread,
Feb 28, 2012, 3:34:45 PM2/28/12
to per...@googlegroups.com, mog...@googlegroups.com


On Sunday, February 26, 2012 11:05:17 PM UTC-8, Dormando wrote:
I think you are very smart to make small release each month. 

dormando

unread,
Feb 28, 2012, 3:57:08 PM2/28/12
to per...@googlegroups.com
Are you having a specific problem with BSD? We can only fix reported bugs.

Ocular Bat

unread,
Mar 3, 2012, 12:13:46 PM3/3/12
to per...@googlegroups.com
When I try and use cpanm to install perlbal there are errors.    Is perlbal compatible with kqueue?

dormando

unread,
Mar 3, 2012, 1:30:41 PM3/3/12
to per...@googlegroups.com
Yes, it is. Can you show us the exact errors you are getting?

Ocular Bat

unread,
Mar 4, 2012, 2:28:52 PM3/4/12
to per...@googlegroups.com
So you have it working on freebsd? 

dormando

unread,
Mar 4, 2012, 2:30:02 PM3/4/12
to per...@googlegroups.com
> So you have it working on freebsd? 
>

Please show us the output of your errors

quiet_lad

unread,
Mar 7, 2012, 5:23:42 PM3/7/12
to perlbal


On Mar 4, 11:30 am, dormando <dorma...@rydia.net> wrote:
> > So you have it working on freebsd?
>
> Please show us the output of your errors


# uname -a
OpenBSD obsd1.home 5.0 GENERIC#43 i386
# cpanm Perlbal Perlbal IO::AIO Perlbal::XS::HTTPHeaders
--> Working on Perlbal
Fetching http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/Perlbal-1.80.tar.gz
... OK
Configuring Perlbal-1.80 ... OK
==> Found dependencies: Sys::Syscall, Danga::Socket, BSD::Resource
--> Working on Sys::Syscall
Fetching http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Sys-Syscall-0.23.tar.gz
... OK
Configuring Sys-Syscall-0.23 ... OK
Building and testing Sys-Syscall-0.23 ... OK
Successfully installed Sys-Syscall-0.23
--> Working on Danga::Socket
Fetching http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Danga-Socket-1.61.tar.gz
... OK
Configuring Danga-Socket-1.61 ... OK
Building and testing Danga-Socket-1.61 ... OK
Successfully installed Danga-Socket-1.61
--> Working on BSD::Resource
Fetching http://search.cpan.org/CPAN/authors/id/J/JH/JHI/BSD-Resource-1.2904.tar.gz
... OK
Configuring BSD-Resource-1.2904 ... OK
Building and testing BSD-Resource-1.2904 ... OK
Successfully installed BSD-Resource-1.2904
Building and testing Perlbal-1.80 ... FAIL
! Installing Perlbal failed. See /root/.cpanm/build.log for details.
--> Working on IO::AIO
Fetching http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-4.12.tar.gz
... OK
Configuring IO-AIO-4.12 ... OK
==> Found dependencies: common::sense
--> Working on common::sense
Fetching http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-3.4.tar.gz
... OK
Configuring common-sense-3.4 ... OK
Building and testing common-sense-3.4 ... OK
Successfully installed common-sense-3.4
Building and testing IO-AIO-4.12 ...
sticks for 1 hour

from /root/.cpanm/build.log


Manifying blib/man3/Perlbal::Manual::Install.3p
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ............... ok
t/10-testharness.t ....... ok
t/12-headers.t ........... ok
t/13-server-tokens.t ..... ok
t/15-webserver.t ......... ok
t/17-webserver-concat.t .. ok
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available
'
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available
'
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available
'
t/20-put.t ............... ok
# Writing: 500
# Writing: 5
# Writing: 5
# Writing: 5
# Writing: 100000
# Writing: 60000
# Writing: 1000
# Writing: 338485
t/22-chunked-put.t ....... ok
Attempt to free unreferenced scalar: SV 0x884b0ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
t/30-reverseproxy.t ...... ok
Attempt to free unreferenced scalar: SV 0x875e3ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
t/31-realworld.t ......... ok
Attempt to free unreferenced scalar: SV 0x7e535ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
# separator length 2
# separator length 0
500 response!
t/32-pipelining.t ........ ok
Attempt to free unreferenced scalar: SV 0x82101ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
t/32-selector.t .......... ok
Attempt to free unreferenced scalar: SV 0x7d3e0ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available
'
Didn't get a firstline in HTTP response.
Can't call method "header" on an undefined value at /root/.cpanm/work/
1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm line
168, <GEN0> line 164.
# Looks like your test exited with -1 just after 74.
t/35-reproxy.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
All 74 subtests passed
Attempt to free unreferenced scalar: SV 0x882d8ce0 at /root/.cpanm/
work/1331119895.16566/Perlbal-1.80/blib/lib/Perlbal/Test/WebClient.pm
line 200.
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available
'
Manage command failed: 'SERVER aio_mode = ioaio' 'ERROR: IO::AIO not
available

Jonathan Steinert

unread,
Mar 7, 2012, 6:27:27 PM3/7/12
to per...@googlegroups.com
Hello sir,

Thanks for the report

First, for the perlbal test failure I committed some changes to master
to hopefully fix this problem a few days ago. I was testing on obsd 5.0
amd64, so hopefully that's close enough.

If you could, please try applying the patch, or install from master to
see if it fixes the issue you see. This should be fixed in the next
release of perlbal, and I think we're aiming to have that out within a
few weeks (or earlier if we get lucky)

Second, the IO::AIO failure may just not work, it locks up for me as
well on obsd. You could try forcing the install with --force to cpanm,
but IO::AIO may just not work on obsd at all.

If you are only using perlbal for reverse-proxy (and not using the
static web server features) you can just skip installing IO::AIO and get
most of the benefits from perlbal despite problems with IO::AIO.

Again, thanks

--hachi

Reply all
Reply to author
Forward
0 new messages