I just saw another weird exception:

Error Message:
Beanstalk::UnexpectedResponse: SERTED 85851

Where:
/usr/local/rvm/gems/ruby-1.9.2-p290/gems/beanstalk-client-1.1.1/lib/
beanstalk-client/connection.rb, line 212

It looks like the response was truncated. I assume the response should
have been "INSERTED 85851". This is likely related to the other
exceptions I've been seeing.


On Nov 15, 5:16 pm, Carl <[email protected]> wrote:
> Hi,
>
> I just made a change to our application (Defensio) and we now write
> more data and faster to Beanstalkd. These new jobs are usually between
> 10k and 100k.
>
> The problem I have is that it works ~90-95% of the time. When it
> doesn't, I get random BAD_FORMAT, EXPECTED_CRLF and UNKNOWN_COMMAND
> errors on the same line of code.
>
> Since part of the job is user-generated content, I thought I was
> putting bad UTF8 or invalid characters in Beanstalkd, so I started
> encoding everything as Base64, but I still get these random errors.
>
> I am using the Ruby client 1.1.1 and Beanstalkd 1.4.6. Is this a known
> bug? Any idea what could be causing this? If it was a consistent
> problem, it would be easy to debug, but since it seems to happen
> randomly, I'm a little bit lost.
>
> Thanks!
>
> Carl

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to