Unable to reserve a job with beanstalkd
Posted
by Brian Hogg
on Stack Overflow
See other posts from Stack Overflow
or by Brian Hogg
Published on 2010-05-12T11:10:32Z
Indexed on
2010/05/12
11:14 UTC
Read the original article
Hit count: 326
beanstalkd
I have tried on two different servers to get beanstalkd up and running and do a couple tests (locally on MacOSX compiled from source, and on a CentOS server installed with yum)
I can get the server running either with
sudo beanstalkd -d -p 11300
or
sudo beanstalkd -p 11300 &
I then tried using the php lib and it just froze. Connecting directly:
telnet localhost 11300
I do the following to mimic the PHP test script:
use foo
USING foo
put 0 0 120 5
hello
INSERTED 1
reserve-with-timeout 0
TIMED_OUT
If I just run
reserve
It's stuck indefinitely. Any ideas?
© Stack Overflow or respective owner