Comment 0 for bug 1241700

Revision history for this message
Eric Lambert (elambert) wrote :

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