Perlbal listening but not processing requests
Brett Hoerner
bretthoerner at gmail.com
Wed Jan 2 02:49:53 UTC 2008
I'm seeing a weird issue trying to get Perlbal working on a new dev
machine, I was hoping someone could spot the problem (probably
something simple I'm missing).
Ubuntu 7.10
Kernel 2.6.22
Perl 5.8.8
Perlbal 1.60 (from cpan with any dependencies + IO:AIO + XS)
A very basic test server,
CREATE SERVICE test
SET listen = 0.0.0.0:8000
SET role = web_server
SET docroot = /home/brett/Desktop/
SET dirindexing = 1
SET persist_client = on
ENABLE test
I can start it fine with no warnings / errors,
$ perlbal --config=webserver.conf
Running.
beginning run
$ lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
perlbal 27990 brett 4u IPv4 164318 TCP *:8000 (LISTEN)
If I make a request with a browser or curl it just hangs,
$ curl http://127.0.0.1:8000/
<nothing>
No output in the Perlbal console, seems to just be looping waiting for
a request,
$ strace -p 27990
Process 27990 attached - interrupt to quit
epoll_wait(5, {}, 1000, 1000) = 0
epoll_wait(5, {}, 1000, 600) = 0
epoll_wait(5, {}, 1000, 1000) = 0
epoll_wait(5, {}, 1000, 1000) = 0
<and on and on>
Any ideas? I run it just fine on Ubuntu 6.06 (installed through cpan
and all that jazz).
Thanks,
Brett
More information about the perlbal
mailing list