Actually, it's running the exact same url, the only difference is they
are all post requests, and the data is different for each post. I just
checked the data and the only difference seems to be that the record
that it's failing on, one of the field's values contains a single quote
('). So perhaps it's it could be a problem with them not being escaped.
On Mon Mar 19 21:15:24 2012, SUNNAVY wrote:
Show quoted text> Does this issue only happen when at a very fast rate or with some
specific
Show quoted text> urls?
>
> sunnavy
>
> On 12-03-19 16:07, Cameron Jacobs via RT wrote:
> > Mon Mar 19 16:07:19 2012: Request 75888 was acted upon.
> > Transaction: Ticket created by cameronjacobs
> > Queue: Plient
> > Subject: CURL errors with many fast requests
> > Broken in: 0.03
> > Severity: Important
> > Owner: Nobody
> > Requestors: cameron@entitycoding.com
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=75888 >
> >
> >
> > Using the plient module, and I really like it because I use windows
and
Show quoted text> > linux machines in the same environment and prefer to use Curl where
> > available. But I am running into an issue when I am making curl
> > requests at a very fast rate. After approximately 610 requests in a
> > foreach loop, I receive an error:
> > sh: -c: line 0: unexpected EOF while looking for matching `''
> > sh: -c: line 1: syntax error: unexpected end of file
> >
> > And it looks like there is some form of an error reading the pipe
from
Show quoted text> > the pipe open for the curl request.
> >
> > However, when using LWP, this works perfectly. I can only expect
it's
Show quoted text> > because of the number of requests and the pipe open. What about
using
Show quoted text> > the WWW::Curl module instead of using the actual system command?
> >
> > System:
> > Fedora 16 x86_64
> > Perl 5.14
> > Plient 0.03
> >
> > Thanks!
> >