gearman worker shuts-down after a few hours

Bug #1241700 reported by Eric Lambert on 2013-10-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman Java
Undecided
Unassigned

Bug Description

Last night I created a project with a single class that creates a single worker with two function factories. It died during the night for no apparent reason (nothing in log file I could see).

Here's the java class with all the code: https://gist.github.com/bxgrant/5388ab9a1781ac598800

Here's the log file from the server: https://gist.github.com/bxgrant/0328028283e0b9050b32

Attached is a zip file with the eclipse maven project I used to build and run it. In the zip file's target directory it's ready to run with this command (change Gearman host/port of course)...

java -jar GearmanTest-1.0.jar ec2-XXXX.compute-1.amazonaws.com 4730 &

This will create a log file in the same directory named "debug.log"

Here's info about our environment:

-- OS
Amazon Linux AMI release 2013.09
Linux version 3.4.43-43.43.amzn1.x86_64 (mockbuild@gobi-build-31003) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) )

-- Java
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (amazon-62.1.11.11.90.55.amzn1-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

-- Gearman-Java
Version 0.6, jar file obtained from public maven repo

I forgot to mention we're running Gearman version 1.1.9.

Eric Lambert (elambert) wrote :
description: updated
Eric Lambert (elambert) wrote :

Hi Bruce .. last we "spoke" about this you said that this might be due to the fact that you were not nohuping the java process .. so I am going to close this bug than. Please reopen if you are still seeing this.

Changed in gearman-java:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments