<p dir="ltr">Hi Andrew,<br>
Both of the logs had anything reporting an error. Therefore I&#39;ve checked the server side options.<br>
I&#39;ve figure out the load-balancer caused the problem. It&#39;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&#39;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">&gt;<br>
</p>
</blockquote>
<p dir="ltr">&gt; Send CWB mailing list submissions to<br>
&gt;         <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;         <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;         <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;         <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of CWB digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;    1. Re: 504 Gateway Error (Hardie, Andrew)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Fri, 8 Apr 2016 09:18:52 +0000<br>
&gt; From: &quot;Hardie, Andrew&quot; <a href="mailto:a.hardie@lancaster.ac.uk">&lt;a.hardie@lancaster.ac.uk&gt;</a><br>
&gt; To: Open source development of the Corpus WorkBench<br>
&gt;         <a href="mailto:cwb@sslmit.unibo.it">&lt;cwb@sslmit.unibo.it&gt;</a><br>
&gt; Subject: Re: [CWB] 504 Gateway Error<br>
&gt; Message-ID:<br>
&gt;         <a href="mailto:28078EC3FBF1B940A3EF3D0D19BE351D7FB16F50@EX-0-MB1.lancs.local">&lt;28078EC3FBF1B940A3EF3D0D19BE351D7FB16F50@EX-0-MB1.lancs.local&gt;</a><br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Is there anything enlightening in the Apache error log?<br>
&gt;<br>
&gt; best<br>
&gt;<br>
&gt; Andrew.<br>
&gt;<br>
&gt; 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>
&gt; Sent: 08 April 2016 09:49<br>
&gt; To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
&gt; Subject: [CWB] 504 Gateway Error<br>
&gt;<br>
&gt; Hello Everyone,<br>
&gt;<br>
&gt;<br>
&gt; I&#39;ve recently updated to 3.2.4.<br>
&gt;<br>
&gt; 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&#39;ve checked apache and php config files and set max. timeout to 600 seconds.<br>
&gt;<br>
&gt; Any suggestions for fixing this problem?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Best wishes<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; ______________________<br>
&gt;<br>
&gt; Taner Sezer<br>
&gt;<br>
<a href="http://tscorpus.com">&gt; http://tscorpus.com</a><br>
&gt;<br>
<a href="http://tanersezer.com">&gt; http://tanersezer.com</a><br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20160408/f2ffa641/attachment-0001.html">&lt;http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20160408/f2ffa641/attachment-0001.html&gt;</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">&gt; CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">&gt; http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
&gt;<br>
&gt;<br>
&gt; End of CWB Digest, Vol 111, Issue 9<br>
&gt; ***********************************<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>