Gearman is a service that allows for distributed processing and light message queueing.

learn more… | top users | synonyms

0
votes
0answers
116 views

Maintaining a progress counter across multiple PHP worker threads using Gearman

I've set up an Amazon EC2 instance running Gearman and 10 worker threads written in PHP. I'm also utilising MySQL and Redis. For each user that signs up to my website up to 1,000 Gearman jobs are ...
0
votes
0answers
196 views

How to install gearman on Ubuntu12.04 and php54?

I am trying to install gearman on my Ubuntu12.04 machine. I have upgraded php to version 5.4 via the ppa php5-oldstable. I downloaded the source of gearmand-1.1.12 and compiled it and installed it ...
0
votes
0answers
187 views

Gearman too many processes issue

I use Net_Gearman from PECL, Gearmand 1.1.11 and Gearman Manager. Every time I add background job, I can see new worker listed with no Function, nor Id in Ggearman-Monitor: If I add many messages ...
0
votes
1answer
85 views

Supervisord spawns only 1 instance

I have the following problem: This is my supervisord.conf-addition: [program:gearman-test-worker] process_name=%(program_name)s_%(process_num)02d command=/usr/bin/php ...
1
vote
0answers
220 views

Gearmand autostart at system boot

Gearman server is installed and working fine on Ubuntu 12.04. But it won`t start at system boot. I try this: Startup applications (/etc/init.d/gearman-job-server owned by root), sudo update-rc.d ...
8
votes
3answers
4k views

Not able to install Gearman on Ubuntu 12.04

I am trying to install Gearman on my Ubuntu 12.04 machine by following command sudo apt-get install gearman-job-server libgearman-dev sudo apt-get install php-pear php5-dev Above commands run ...
0
votes
1answer
469 views

Installing Gearman with PHP Extension on Debian 6.0.5 leads to error

What I have tried ... # apt-get install php5-dev # apt-get install gearman-job-server libgearman-dev # pecl install gearman Result ... ... configure: error: Please install libgearman ERROR: ...
1
vote
0answers
464 views

gcc46 and no c compiler found on Amazon EC2

I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this: checking build system type... x86_64-unknown-linux-gnu checking host system type... ...
1
vote
1answer
779 views

Gearman not working when running with Supervisord

I'm testing Gearman on a dedicated job-server (Ubuntu 12.04) for my PHP project (using pecl/gearman as the PHP impementation). Manually this works fine: starting up the client, adding jobs and ...
2
votes
1answer
478 views

Installing Gearman from PPA on Ubuntu does not install libdrizzle?

I am attempting to install Gearman from the PPA. However, once installed running gearmand --help shows no libdrizzle options. My understanding is libdrizzle should be installed with Gearman. I have ...
2
votes
2answers
2k views

Compiling Gearman PHP Library for CentOS 5.8

I've been trying to get Gearman compiled on CentOS 5.8 all afternoon. Unfortunately I am restricted to this version of CentOS by my CTO and how he has our entire network configured. I think it's ...
1
vote
1answer
251 views

Gearman persistent queue not saved in Postgres

I have a problem with Gearman 0.32 (ppa:gearman-developers/ppa)- it doesn't save queue in Postgres for queue persistence. Gearman is running, I can add jobs (example with DEBUG verbosity on pastebin ...
2
votes
1answer
698 views

Gearman workers still running after the job server and Supervisor have been shutdown

I have shutdown Gearman, using the (echo shutdown ; sleep 0.1) | netcat 127.0.0.1 4730 -w 1 command. I've also stopped Supervisor using /etc/init.d/supervisord stop. However, when I run a ps -aux, ...
4
votes
2answers
2k views

Gearman Job Server / Ubuntu

I have Gearman installed, running and passing jobs around perfectly fine but only when I manually start up the job queue with this command: /usr/sbin/gearmand -p 4730 -vvvv -u gearman If I do this ...
2
votes
2answers
996 views

nginx: can I show output of a shell command on a specific url?

I'm not sure if this is even possible but can I show the stdout of a linux command via webserver? The command I want to run is echo 'status' | nc localhost 4730 which returns a string with status of ...
1
vote
1answer
500 views

Passing parameters to a Gearman worker

I've been looking into Gearman lately and I'm trying to figure out how I can pass a parameter to a Gearman worker that is started on the command line. E.g. I can start a Gearman worker who's job it ...