<p dir="ltr">Hi Andrew,<br>
Both of the logs had anything reporting an error. Therefore I've checked the server side options.<br>
I've figure out the load-balancer caused the problem. It's strange that, different than php and apache, load-balancer config file keeps time values in miliseconds. So the server refuses answering connections very soon. That's why cqp completes the given task and displays the result in query history but gui is blocked.<br>
Best...</p>
<p dir="ltr">On 04/08/2016 01:00 PM,<a href="mailto:cwb-request@sslmit.unibo.it"> cwb-request@sslmit.unibo.it</a> wrote:<br>
</p>
<blockquote><p dir="ltr">><br>
</p>
</blockquote>
<p dir="ltr">> Send CWB mailing list submissions to<br>
>         <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>         <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
><br>
> You can reach the person managing the list at<br>
>         <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of CWB digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: 504 Gateway Error (Hardie, Andrew)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Fri, 8 Apr 2016 09:18:52 +0000<br>
> From: "Hardie, Andrew" <a href="mailto:a.hardie@lancaster.ac.uk"><a.hardie@lancaster.ac.uk></a><br>
> To: Open source development of the Corpus WorkBench<br>
>         <a href="mailto:cwb@sslmit.unibo.it"><cwb@sslmit.unibo.it></a><br>
> Subject: Re: [CWB] 504 Gateway Error<br>
> Message-ID:<br>
>         <a href="mailto:28078EC3FBF1B940A3EF3D0D19BE351D7FB16F50@EX-0-MB1.lancs.local"><28078EC3FBF1B940A3EF3D0D19BE351D7FB16F50@EX-0-MB1.lancs.local></a><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> The problem will not be a PHP timeout, since time expended by slave processes does not count towards the PHP timeout, and for big queries the time expenditure is in the CQP slave process.<br>
><br>
> Moreover, the Apache timeout on my server is set to 300, yet I frequently run processes that take longer than 5 minutes. So that cannot be the only thing at issue.<br>
><br>
> Is there anything enlightening in the Apache error log?<br>
><br>
> best<br>
><br>
> Andrew.<br>
><br>
> From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Taner Sezer<br>
> Sent: 08 April 2016 09:49<br>
> To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
> Subject: [CWB] 504 Gateway Error<br>
><br>
> Hello Everyone,<br>
><br>
><br>
> I've recently updated to 3.2.4.<br>
><br>
> Now, in a large corpus (over 550 M tokens), if complex queries hit a large number of results, for instance over 5 or 10 millions, I can see them completed in Query history, but the GUI returns 504 gateway error. I've checked apache and php config files and set max. timeout to 600 seconds.<br>
><br>
> Any suggestions for fixing this problem?<br>
><br>
><br>
><br>
> Best wishes<br>
><br>
> --<br>
><br>
> ______________________<br>
><br>
> Taner Sezer<br>
><br>
<a href="http://tscorpus.com">> http://tscorpus.com</a><br>
><br>
<a href="http://tanersezer.com">> http://tanersezer.com</a><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20160408/f2ffa641/attachment-0001.html"><http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20160408/f2ffa641/attachment-0001.html></a><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">> CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">> http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
><br>
><br>
> End of CWB Digest, Vol 111, Issue 9<br>
> ***********************************<br></p>
<p dir="ltr">-- <br>
______________________<br>
Taner Sezer<br>
<a href="http://tscorpus.com">http://tscorpus.com</a><br>
<a href="http://tanersezer.com">http://tanersezer.com</a></p>