12 Jul 2016 07:48:29 UTC
- Distribution: Gearman-Server
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- KwaliteeBus factor: 0
- 11.83% Coverage
- License: unknown
- Activity24 month
- Download (17.17KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:4 non-PAUSE usersPALIK Алексей Пастуховand 1 contributors
- Brad Fitzpatrick (firstname.lastname@example.org), Brad Whitaker (email@example.com)
gearmand - Gearman client/worker connector.
This is the main executable for Gearman::Server. It provides command-line configuration of port numbers, pidfiles, and daemonization.
- --daemonize / -d
Make the daemon run in the background (good for init.d scripts, bad for running under daemontools/supervise).
- --port=4730 / -p 4730
Set the port number, defaults to 4730.
- --listen hostname / -L hostname
Address the server should listen on.
Write a pidfile when starting up
Enable debugging (currently the only debug output is when a client or worker connects).
Number of new connections to accept each time we see a listening socket ready. This doesn't usually need to be tuned by anyone, however in dire circumstances you may need to do it quickly.
Number of workers to wake up per job inserted into the queue.
Zero (0) is a perfectly acceptable answer, and can be used if you don't care much about job latency. This would bank on the base idea of a worker checking in with the server every so often.
Negative One (-1) indicates that all sleeping workers should be woken up.
All other negative numbers will cause the server to throw exception and not start.
Time interval before waking up more workers (the value specified by --wakeup) when jobs are still in the queue.
Zero (0) means go as fast as possible, but not all at the same time. Similar to -1 on --wakeup, but is more cooperative in gearmand's multitasking model.
Negative One (-1) means that this event won't happen, so only the initial workers will be woken up to handle jobs in the queue.
Display the version and exit.
Copyright 2005-2007, Danga Interactive
You are granted a license to use it under the same terms as Perl itself.
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
Brad Fitzpatrick <firstname.lastname@example.org>
Brad Whitaker <email@example.com>
Module Install Instructions
To install Gearman::Server, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Gearman::Server
For more information on module installation, please visit the detailed CPAN module installation guide.