我使用Beanstalkd通过ffmpeg处理视频文件。
我使用的是https://github.com/pda/pheanstalk PHP-Client。
我面临以下问题。
a) sometimes job is not adding to Beanstalkd Tube, b) if job is added to tube sometimes ffmpeg is not processing as expected.任何想法,等待答复
事先谢谢卡西
发布于 2014-06-26 18:24:43
作业可能失败的原因有三种:
- "EXPECTED_CRLF\r\n" The job body must be followed by a CR-LF pair, that is,
"\r\n". These two bytes are not counted in the job size given by the client
in the put command line.
- "JOB_TOO_BIG\r\n" The client has requested to put a job with a body larger
than max-job-size bytes.
- "DRAINING\r\n" This means that the server has been put into "drain mode"
and is no longer accepting new jobs. The client should try another server
or disconnect and try again later.很可能你还有第二个选择,我觉得它太大了。默认值为65k.
https://stackoverflow.com/questions/24428837
复制相似问题