1 .\" generated with Ronn/v0.7.3
2 .\" http://github.com/rtomayko/ronn/tree/0.7.3
4 .TH "BEANSTALKD" "1" "April 2012" "" ""
7 \fBbeanstalkd\fR \- simple, fast work queue
10 \fBbeanstalkd\fR [\fIoptions\fR]
13 \fBBeanstalkd\fR is a simple work\-queue service\. Its interface is generic, though it was originally designed for reducing the latency of page views in high\-volume web applications by running time\-consuming tasks asynchronously\.
16 When started, \fBbeanstalkd\fR opens a socket (or uses a file descriptor provided by the init(1) system, see \fIENVIRONMENT\fR) and listens for incoming connections\. For each connection, it reads a sequence of commands to create, reserve, delete, and otherwise manipulate "jobs", units of work to be done\. See file \fBdoc/protocol\.txt\fR in the \fBbeanstalkd\fR distribution for a thorough description of the meaning and format of the \fBbeanstalkd\fR protocol\.
22 Use a binlog to keep jobs on persistent storage in directory \fIpath\fR\. Upon startup, \fBbeanstalkd\fR will recover any binlog that is present in \fIpath\fR, then, during normal operation, append new jobs and changes in state to the binlog\.
26 Perform online, incremental compaction of binlog files\. Negates \fB\-n\fR\. This is the default behavior\.
29 (Do not use this option, except to negate \fB\-n\fR\. Both \fB\-c\fR and \fB\-n\fR will likely be removed in a future \fBbeanstalkd\fR release\.)
33 Call fsync(2) at most once every \fIms\fR milliseconds\. Larger values for \fIms\fR reduce disk activity and improve speed at the cost of safety\. A power failure could result in the loss of up to \fIms\fR milliseconds of history\.
36 A \fIms\fR value of 0 will cause \fBbeanstalkd\fR to call fsync every time it writes to the binlog\.
39 (This option has no effect without \fB\-b\fR\.)
43 Never call fsync(2)\. Equivalent to \fB\-f\fR with an infinite \fIms\fR value\.
46 This is the default behavior\.
49 (This option has no effect without \fB\-b\fR\.)
53 Show a brief help message and exit\.
57 Listen on address \fIaddr\fR (default is 0\.0\.0\.0)\.
60 (Option \fB\-l\fR has no effect if sd\-daemon(5) socket activation is being used\. See also \fIENVIRONMENT\fR\.)
64 Turn off binlog compaction, negating \fB\-c\fR\.
67 (Do not use this option\. Both \fB\-c\fR and \fB\-n\fR will likely be removed in a future \fBbeanstalkd\fR release\.)
71 Listen on TCP port \fIport\fR (default is 11300)\.
74 (Option \fB\-p\fR has no effect if sd\-daemon(5) socket activation is being used\. See also \fIENVIRONMENT\fR\.)
78 The size in bytes of each binlog file\.
81 (This option has no effect without \fB\-b\fR\.)
85 Become the user \fIuser\fR and its primary group\.
89 Increase verbosity\. May be used more than once to produce more verbose output\. The output format is subject to change\.
93 Print the version string and exit\.
97 The maximum size in bytes of a job\.
102 \fBLISTEN_PID\fR, \fBLISTEN_FDS\fR
103 These variables can be set by init(1)\. See sd_listen_fds(3) for details\.
106 sd\-daemon(5), sd_listen_fds(5)
109 Files \fBREADME\fR and \fBdoc/protocol\.txt\fR in the \fBbeanstalkd\fR distribution\.
112 \fIhttp://kr\.github\.com/beanstalkd/\fR
115 \fBBeanstalkd\fR is written and maintained by Keith Rarick with the help of many others\.