1 .\" generated with Ronn-NG/v0.8.2
2 .\" http://github.com/apjanke/ronn-ng/tree/0.8.2
3 .TH "BEANSTALKD" "1" "June 2020" "" ""
5 \fBbeanstalkd\fR \- simple, fast work queue
7 \fBbeanstalkd\fR [\fIoptions\fR]
9 \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\.
11 When started, \fBbeanstalkd\fR opens a socket (or uses a file descriptor provided by the init(1) system, see \fI\%#ENVIRONMENT\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\.
15 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\.
18 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\.
20 A \fIms\fR value of 0 will cause \fBbeanstalkd\fR to call fsync every time it writes to the binlog\.
22 The default behavior is to sync every 50 ms\.
24 (This option has no effect without \fB\-b\fR\.)
27 Never call fsync(2)\. Equivalent to \fB\-f\fR with an infinite \fIms\fR value\.
29 (This option has no effect without \fB\-b\fR\.)
32 Show a brief help message and exit\.
35 Listen on address \fIaddr\fR (default is 0\.0\.0\.0)\.
37 When \fIaddr\fR starts with "unix:", the unprefixed value of it will be used as the local filesystem path to create a UNIX socket instead of a TCP socket\. In this case the value of \fB\-p\fR will be ignored\.
39 (Option \fB\-l\fR has no effect if sd\-daemon(5) socket activation is being used\. See also \fI\%#ENVIRONMENT\fR\.)
42 Listen on TCP port \fIport\fR (default is 11300)\.
44 (Option \fB\-p\fR has no effect if sd\-daemon(5) socket activation is being used\. See also \fI\%#ENVIRONMENT\fR\.)
47 The size in bytes of each binlog file\.
49 (This option has no effect without \fB\-b\fR\.)
52 Become the user \fIuser\fR and its primary group\.
55 Increase verbosity\. May be used more than once to produce more verbose output\. The output format is subject to change\.
58 Print the version string and exit\.
61 The maximum size in bytes of a job\.
64 This flag has no effect\. It is kept for historical compatibility only\.
67 This flag has no effect\. It is kept for historical compatibility only\.
70 \fBLISTEN_PID\fR, \fBLISTEN_FDS\fR
71 These variables can be set by init(1)\. See sd_listen_fds(3) for details\.
73 sd\-daemon(3), sd_listen_fds(3)
75 Files \fBREADME\.md\fR and \fBdoc/protocol\.txt\fR in the \fBbeanstalkd\fR distribution\.
77 \fI\%https://beanstalkd\.github\.io/\fR
79 \fBBeanstalkd\fR is written by Keith Rarick and maintained by the community at \fI\%https://github\.com/beanstalkd/beanstalkd/issues\fR