2

I got an exception while adding many emails to the queue on a Laravel 4.2 app.

exception 'Pheanstalk_Exception' with message 'JOB_TOO_BIG: job data exceeds server-enforced limit'

I am confused whether this error is due to a single job or because the queue is too long. As the job is an email, I don't think this is different than any other email jobs which get added to the queue before it throws this exception.

Debiprasad
  • 5,895
  • 16
  • 67
  • 95

2 Answers2

0

After sending the command line and body, the client waits for a reply, which may be:

  • "JOB_TOO_BIG\r\n" The client has requested to put a job with a body larger than max-job-size bytes. protocol.txt

see also: Change max-job size of beanstalkd

Alister Bulman
  • 34,482
  • 9
  • 71
  • 110
-2

it could be related to the queue driver that you are using, if you are using sync driver the jobs are executed directly on the main thread. if it is the case try with database or redis driver.