Re: [otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Marwan Rabbâa
+ a TicketGet for each ticket, of course I can do a SOAP call for ticket search, but my original problem was to avoid HTTP request (TicketGet SOAP) foreach tickets found 2014-07-16 14:21 GMT+02:00 Marwan Rabbâa : > @crythias: Thanks to help me solving this pb ^^ > > What I want to do is encode

Re: [otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Marwan Rabbâa
@crythias: Thanks to help me solving this pb ^^ What I want to do is encode a large number of tickets obtained throught the search lib. I made the search with personalized params : $TicketObject->TicketSearch( 'StateType' => ['open', 'new', 'closed'], 'Result'

Re: [otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Gerald Young
How can one reproduce your experience? On Wed, Jul 16, 2014 at 8:03 AM, Marwan Rabbâa wrote: > Hi, > > In fact, I have made this CGI cause I need to parse / search (via a cron) > on tickets made since > > Regards, > > > 2014-07-16 13:48 GMT+02:00 Gerald Young : > > ddt... or more explanati

Re: [otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Marwan Rabbâa
Hi, In fact, I have made this CGI cause I need to parse / search (via a cron) on tickets made since Regards, 2014-07-16 13:48 GMT+02:00 Gerald Young : > ddt... or more explanation of why you need to get all your tickets via > JSON might be helpful. > > > On Wed, Jul 16, 2014 at 6:38 AM, M

Re: [otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Gerald Young
ddt... or more explanation of why you need to get all your tickets via JSON might be helpful. On Wed, Jul 16, 2014 at 6:38 AM, Marwan Rabbâa wrote: > Hi all, > > I've setup an OTRS (version 3.1.21) on a 3GB / 2 CPU virtual machine. > > I have made a CGI to return a ticket list into JSON. > > Fo

[otrs] Huge data to encode in JSON cuase Apache 500

2014-07-16 Thread Marwan Rabbâa
Hi all, I've setup an OTRS (version 3.1.21) on a 3GB / 2 CPU virtual machine. I have made a CGI to return a ticket list into JSON. For this, I use the method TicketSearch. There, I have a hge hash to output as JSON. use JSON; print "application/json"; print JSON->new->e