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 <cryth...@gmail.com>:

> 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 <wagha...@gmail.com> 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.
>>
>> 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->encode($Result);
>> ************************
>>
>> This encoding cause a 500. I have <:Apache2 IO write: (103) Software
>> caused connection abort> in apache logs.
>>
>> Is this a memory problem ? How could I solve it ?
>>
>> Regards,
>>
>> ---------------------------------------------------------------------
>> OTRS mailing list: otrs - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs
>> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>>
>
>
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to