我正在使用Beanstalkd通过ffmpeg处理视频文件
我正在使用https://github.com/pda/pheanstalk PHP-Client
我面临以下问题
a)有时工作不会添加到Beanstalkd Tube,
b)如果工作被添加到管中,有时ffmpeg没有按预期处理。
任何想法, 等待回复
提前致谢 Karthi
答案 0 :(得分:0)
有三种情况可以解决作业失败的原因:
- "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。