Linux 下Beanstalk安装

http://blog.163.com/haizai219@126/blog/static/4441255520151235847370/

php

http://my.oschina.net/u/698121/blog/157092

1.安装
# wget https://github.com/kr/beanstalkd/archive/v1.10.tar.gz
# tar xzvf v1.10
# cd beanstalkd-1.10/
# make && make install
# beanstalkd -v
beanstalkd 1.10

2.启动
beanstalkd -z 10000000 -b /opt/logs/beanstalkd &
----------------------------------------------------------
 beanstalkd -h
Use: beanstalkd [OPTIONS]

Options:
 -b DIR wal directory
 -f MS fsync at most once every MS milliseconds (use -f0 for "always fsync")
 -F never fsync (default)
 -l ADDR listen on address (default is 0.0.0.0)
 -p PORT listen on port (default is 11300)
 -u USER become user and group
 -z BYTES set the maximum job size in bytes (default is 65535)
 -s BYTES set the size of each wal file (default is 10485760)
            (will be rounded up to a multiple of 512 bytes)
 -c compact the binlog (default)
 -n do not compact the binlog
 -v show version information
 -V increase verbosity
 -h show this help

3.监控
telnet localhost 11300
stats



你可能感兴趣的:(beanstalk)