I've improved my logging in the app, so it write dynamically, instead of writing all the logs when the script finishes (which isn't written if segfault occurs).
When queuing a job, firstly ping test is attempted 8 times and fails 8 times.
@$gmclient->ping(serialize("Ping Test"))
Run tasks is suppose to be attempted 8 times, after the first attempt it reports the following error, then segfaults.
error=send_packet(GEARMAN_TIMEOUT) Failed in receiving() -> libgearman/connection.cc:494
I have now been able to reproduce the error. System has been running for 9 days in production. After receiving the segfault notices, I proceeded to test the app (which is uploading and queuing images for resizing). I uploaded a batch of 6 images, 4 were queued successfully, and 2 segfaulted. I restarted gearmand and uploaded another batch of 10 images, all were queued successfully.
I've improved my logging in the app, so it write dynamically, instead of writing all the logs when the script finishes (which isn't written if segfault occurs).
When queuing a job, firstly ping test is attempted 8 times and fails 8 times. >ping(serialize ("Ping Test"))
@$gmclient-
Run tasks is suppose to be attempted 8 times, after the first attempt it reports the following error, then segfaults. packet( GEARMAN_ TIMEOUT) Failed in receiving() -> libgearman/ connection. cc:494
error=send_
I have now been able to reproduce the error. System has been running for 9 days in production. After receiving the segfault notices, I proceeded to test the app (which is uploading and queuing images for resizing). I uploaded a batch of 6 images, 4 were queued successfully, and 2 segfaulted. I restarted gearmand and uploaded another batch of 10 images, all were queued successfully.