向beanstalk添加工作



我使用Beanstalkd通过ffmpeg处理视频文件。
我正在使用https://github.com/pda/pheanstalk PHP-Client
我面临着以下问题:
a)有时工作不添加到豆茎管,
B)如果作业被添加到管道中,有时ffmpeg没有按预期处理。

的任何想法,等待回复

提前感谢Karthi

作业失败的原因有三种:

- "EXPECTED_CRLFrn" The job body must be followed by a CR-LF pair, that is,
   "rn". These two bytes are not counted in the job size given by the client
   in the put command line.
 - "JOB_TOO_BIGrn" The client has requested to put a job with a body larger
   than max-job-size bytes.
 - "DRAININGrn" 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

相关内容

  • 没有找到相关文章

最新更新