Questions tagged [gearman]

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

Gearman is a service that allows for distributed processing and light message queueing. Written in C to be fast.

Possible uses:

  • Sending work to background processes
  • Running functions written in other languages
  • Messaging queue
17 questions
8
votes
3 answers

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 properly but when I run sudo pecl install gearman it…
PankajK
  • 203
  • 2
  • 7
7
votes
2 answers

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 the gearman job server. $echo 'status' | nc…
4
votes
2 answers

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 I have another EC2 instance running as a worker…
Phil Sturgeon
  • 291
  • 1
  • 3
  • 12
2
votes
1 answer

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 removed the installed Gearman packages and then…
Andrew Ellis
  • 423
  • 1
  • 5
  • 14
2
votes
2 answers

Compiling Gearman PHP Library for CentOS 5.8

I've been trying to get Gearman compiled on CentOS 5.8 all afternoon. Searches have said to install the following via yum: yum -y install --enablerepo=remi boost141-devel libgearman-devel e2fsprogs-devel e2fsprogs gcc44 gcc-c++ To get the Boost…
Andrew Ellis
  • 423
  • 1
  • 5
  • 14
2
votes
1 answer

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, there are Gearman workers still running (i.e.…
Jingo
  • 175
  • 2
  • 6
1
vote
1 answer

Supervisord - Supervisor exit status 255 not expected on A

I have no clue why this always happened. I tried to reload the supervisord process but still doesnt the same error appears The error show this.. FATAL Exited too quickly (process log may have details) and the supervisord.conf Supervisor config…
Snowbases
  • 111
  • 4
1
vote
2 answers

Gearman Not Listening on Right IP For Ubuntu

I have compiled Gearman on my ubuntu machine and it works fine in localhost mode but I get a connection error when connecting from another machine to add a new job to the queue. I have tried... Editing the config file located at…
1
vote
1 answer

Gearman Too many open files

This question started initially as disk space issue, however, we nailed it down to gearman problem. It bombs own logfile with the following message: ERROR 2015-10-29 13:05:37.000000 [ main ] accept(Too many open files) ->…
Alexey
  • 49
  • 2
  • 16
1
vote
0 answers

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 gearman-job-server defaults Into rc.local added (I…
Crusader
  • 111
  • 3
1
vote
1 answer

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... x86_64-unknown-linux-gnu checking target system type...…
Ghostcode
  • 11
  • 2
1
vote
1 answer

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 running one or more workers in separate shells works as…
Peter Kruithof
  • 87
  • 1
  • 11
1
vote
1 answer

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 for better readability:…
c2h5oh
  • 1,489
  • 10
  • 13
1
vote
1 answer

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 is to return the result of an ls -lh: $ gearman -w…
Luke
  • 3,756
  • 7
  • 35
  • 39
0
votes
0 answers

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 in the bash loop, after some time it becomes very…
Roman Newaza
  • 632
  • 4
  • 13
  • 22
1
2