1GEARMAND(1)           User Contributed Perl Documentation          GEARMAND(1)
2
3
4

NAME

6       gearmand - Gearman client/worker connector.
7

SYNOPSIS

9        gearmand --daemon
10

DESCRIPTION

12       This is the main executable for Gearman::Server.  It provides command-
13       line configuration of port numbers, pidfiles, and daemonization.
14

OPTIONS

16       --daemonize / -d
17           Make the daemon run in the background (good for init.d scripts, bad
18           for running under daemontools/supervise).
19
20       --port=4730 / -p 4730
21           Set the port number, defaults to 4730.
22
23       --listen hostname / -L hostname
24           Address the server should listen on.
25
26           Default is
27
28       --pidfile=/some/dir/gearmand.pid
29           Write a pidfile when starting up
30
31       --debug=1
32           Enable debugging (currently the only debug output is when a client
33           or worker connects).
34
35       --accept=10
36           Number of new connections to accept each time we see a listening
37           socket ready. This doesn't usually need to be tuned by anyone,
38           however in dire circumstances you may need to do it quickly.
39
40       --wakeup=3
41           Number of workers to wake up per job inserted into the queue.
42
43           Zero (0) is a perfectly acceptable answer, and can be used if you
44           don't care much about job latency.  This would bank on the base
45           idea of a worker checking in with the server every so often.
46
47           Negative One (-1) indicates that all sleeping workers should be
48           woken up.
49
50           All other negative numbers will cause the server to throw exception
51           and not start.
52
53       --wakeup-delay=
54           Time interval before waking up more workers (the value specified by
55           --wakeup) when jobs are still in the queue.
56
57           Zero (0) means go as fast as possible, but not all at the same
58           time. Similar to -1 on --wakeup, but is more cooperative in
59           gearmand's multitasking model.
60
61           Negative One (-1) means that this event won't happen, so only the
62           initial workers will be woken up to handle jobs in the queue.
63
64       --version
65           Display the version and exit.
66
68       Copyright 2005-2007, Danga Interactive
69
70       You are granted a license to use it under the same terms as Perl
71       itself.
72

WARRANTY

74       This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
75

AUTHORS

77       Brad Fitzpatrick <brad@danga.com>
78
79       Brad Whitaker <whitaker@danga.com>
80

SEE ALSO

82       Gearman::Server
83
84       Gearman::Client
85
86       Gearman::Worker
87
88       Gearman::Client::Async
89
90
91
92perl v5.36.0                      2023-01-20                       GEARMAND(1)
Impressum