Unable to reserve a job with beanstalkd
- by Brian Hogg
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?