Re[2]: 2nd questions from PerlBal novice
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > Re[2]: 2nd questions from PerlBal novice




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re[2]: 2nd questions from PerlBal novice  
Brad Fitzpatrick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-15-07 06:12 PM

So sendfile (as implemented in Sys::Syscall) doesn't work on FreeBSD,
which is why it doesn't work in Perlbal.

Really, Perlbal should be updated to not use Sys::Syscall's sendfile and
instead use the better (and portable) implementation in IO::AIO, and then
we remove the older Linux::AIO support.


On Tue, 15 May 2007, Galtsev Igor wrote:

> "make test" procedure for Sys-Syscall-0.22 is failed too.
>
> # make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-use.........ok
> t/01-epoll.......skipped
>         all skipped: test good only for Linux 2.6+
> t/02-sendfile....ok 1/2got rv = -1 from sendfile at t/02-sendfile.t line 5
3.
> # Looks like you planned 2 tests but only ran 1.
> # Looks like your test died just after 1.
> t/02-sendfile....dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> Failed Test     Stat Wstat Total Fail  List of Failed
> --------------------------------------------------------------------------
-----
> t/02-sendfile.t  255 65280     2    2  2
> 1 test skipped.
> Failed 1/3 test scripts. 1/3 subtests failed.
> Files=3, Tests=3,  1 wallclock secs ( 0.27 cusr +  0.07 csys =  0.34 CPU)
> Failed 1/3 test programs. 1/3 subtests failed.
> *** Error code 255
>
> Stop in /usr/home/inst/Sys-Syscall-0.22.
>
>
> BF> Does "make test" succeed for Sys-Syscall and Perlbal?
> BF> I think it's a Sys-Syscall issue on FreeBSD.
>
>
> BF> On Mon, 14 May 2007, Galtsev Igor wrote:
> 
>
>
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register