GEARMAND-PERL(1p)
π NAME π
gearmand-perl β the Gearman client/worker connector, bestie edition β¨
πΈ SYNOPSIS πΈ
gearmand-perl --daemon
π¦ DESCRIPTION π¦
okay so listen. this right here? this is the main executable for Gearman::Server. it's the one that actually gets your whole gearman party started π
basically it hands you command-line control over the good stuff: port numbers, pidfiles, and daemonization. no config file drama, no digging around β you just tell it what you want at the prompt and it's giving main character energy the entire time π
β¨ OPTIONS β¨
--daemonize,-dβ makes the daemon run in the background. great forinit.dscripts, kinda bad for running underdaemontools/superviseπ so like, choose your vibe wisely.--port=4730,-p 4730β sets the port number. default is literally4730, like the legend it is π--listen hostname,-L hostnameβ the address the server should listen on.
default is
(yes bestie, that's it. that's the whole default. blank. iconic behaviour honestly π)
--pidfile=/some/dir/gearmand-perl.pidβ writes a pidfile when starting up. the little receipt of "yes i'm alive" π«Ά--debug=1β turns debugging on. and rn, the only debug output you get is a lil message when a client or worker connects. that's it. that's the whole show π--accept=10β number of new connections to accept each time we see a listening socket ready. girl, this does not usually need tuning by anyone π’ ...but in dire circumstances you may need to do it, and do it quickly. so keep it in your back pocket π--wakeup=3β number of workers to wake up per job inserted into the queue. let's break this down:- Zero (
0) is a perfectly acceptable answer, and it's for when you don't really care about job latency. this banks on the base idea of a worker checking in with the server every so often. lowkey chill of you π - Negative One (
-1) means all sleeping workers should be woken up. everyone up, we're going β¨ - All other negative numbers will cause the server to throw an exception and not start. so like. don't. π
- Zero (
--wakeup-delay=β the time interval before waking up more workers (the amount specified by--wakeup) while jobs are still sitting in the queue. two moods:- Zero (
0) means go as fast as possible β but not all at the same time. it's similar to-1on--wakeup, except it's way more cooperative in gearmand's multitasking model π€ - Negative One (
-1) means this event simply won't happen, so only the initial workers get woken up to handle the jobs in the queue. minimal effort, still slaying π
- Zero (
--versionβ displays the version and exits. short, sweet, to the point, obsessed β
π COPYRIGHT π
Copyright 2005-2007, Danga Interactive
you are granted a license to use it under the same terms as Perl itself.
π WARRANTY π
this is free software. IT COMES WITHOUT WARRANTY OF ANY KIND. no cap, no safety net, no refunds, no nothing π«
π AUTHORS π
- Brad Fitzpatrick
<brad@danga.com> - Brad Whitaker
<whitaker@danga.com>
π§ SEE ALSO π§
Gearman::ServerGearman::ClientGearman::WorkerGearman::Client::Async
and that's the whole page bestie, we ate and left no crumbs π½οΈβ¨ this was brought to you by perl v5.42.3, dated 2026-09-16, under the name GEARMAND-PERL(1p) β mwah, periodt π
π
π¦ where this page comes from
- ubuntu stonking: gearman-server 1.130.1-5build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms