Hi,
I am currently working on a CGI deployed on an Apache server, which,
given an arbitrary SQL, fetches raw data from a remote DB server and
return them in a HTML page. This CGI works fine on quick SQLs.
But when I try to run a slow SQL on this CGI, through a Squid Proxy, I
always get the Error message from Squid: Zero Sized Reply, after 5
minutes.
The SQL itself is correct, since I have tried it directly on the DB
server. So what do you think might cause the problem? Thank you. 4 1331
On Nov 9, 8:33 pm, Bighead <Xue.Huic...@gmail.comwrote:
Hi,
I am currently working on a CGI deployed on an Apache server, which,
given an arbitrary SQL, fetches raw data from a remote DB server and
return them in a HTML page. This CGI works fine on quick SQLs.
But when I try to run a slow SQL on this CGI, through a Squid Proxy, I
always get the Error message from Squid: Zero Sized Reply, after 5
minutes.
The SQL itself is correct, since I have tried it directly on the DB
server. So what do you think might cause the problem? Thank you.
Slow SQL = query that takes a long time? How long does the query take
if you run it on the same machine as the DB server without a Squid
Proxy?
On 10 Nov, 04:33, Bighead <Xue.Huic...@gmail.comwrote:
Hi,
I am currently working on a CGI deployed on an Apache server, which,
given an arbitrary SQL, fetches raw data from a remote DB server and
return them in a HTML page. This CGI works fine on quick SQLs.
But when I try to run a slow SQL on this CGI, through a Squid Proxy, I
always get the Error message from Squid: Zero Sized Reply, after 5
minutes.
The SQL itself is correct, since I have tried it directly on the DB
server. So what do you think might cause the problem? Thank you.
This sounds a lot like an apache server configuration problem. From
the squid FAQ;
11.51 Why do I sometimes get ``Zero Sized Reply''?
This happens when Squid makes a TCP connection to an origin server,
but for some reason, the connection is closed before Squid reads any
data. Depending on various factors, Squid may be able to retry the
request again. If you see the ``Zero Sized Reply'' error message, it
means that Squid was unable to retry, or that all retry attempts also
failed.
The apache server has a default TimeOut of 300 seconds.
This question might be more usefully answered by the apache user
group.
Regards, Paul Clinch
On Nov 10, 7:18 pm, TheFlyingDutchman <zzbba...@aol.comwrote:
On Nov 9, 8:33 pm, Bighead <Xue.Huic...@gmail.comwrote:
Hi,
I am currently working on a CGI deployed on an Apache server, which,
given an arbitrary SQL, fetches raw data from a remote DB server and
return them in a HTML page. This CGI works fine on quick SQLs.
But when I try to run a slow SQL on this CGI, through a Squid Proxy, I
always get the Error message from Squid: Zero Sized Reply, after 5
minutes.
The SQL itself is correct, since I have tried it directly on the DB
server. So what do you think might cause the problem? Thank you.
Slow SQL = query that takes a long time? How long does the query take
if you run it on the same machine as the DB server without a Squid
Proxy?
It takes 10 minutes to run this SQL. Squid's error message pops up in
about 5 minutes.
On Nov 11, 6:20 am, paulC <pcli...@gmail.comwrote:
On 10 Nov, 04:33, Bighead <Xue.Huic...@gmail.comwrote:
Hi,
I am currently working on a CGI deployed on an Apache server, which,
given an arbitrary SQL, fetches raw data from a remote DB server and
return them in a HTML page. This CGI works fine on quick SQLs.
But when I try to run a slow SQL on this CGI, through a Squid Proxy, I
always get the Error message from Squid: Zero Sized Reply, after 5
minutes.
The SQL itself is correct, since I have tried it directly on the DB
server. So what do you think might cause the problem? Thank you.
This sounds a lot like an apache server configuration problem. From
the squid FAQ;
11.51 Why do I sometimes get ``Zero Sized Reply''?
This happens when Squid makes a TCP connection to an origin server,
but for some reason, the connection is closed before Squid reads any
data. Depending on various factors, Squid may be able to retry the
request again. If you see the ``Zero Sized Reply'' error message, it
means that Squid was unable to retry, or that all retry attempts also
failed.
The apache server has a default TimeOut of 300 seconds.
This question might be more usefully answered by the apache user
group.
Regards, Paul Clinch
Thank you.
TimeOut of 300 seconds, does it mean that the connection will be
closed by remote Apache server if the server does not provide any data
in 300 seconds? So I can just let the server generate data
continuously, and the connection will not be cut off, right? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: George Stout |
last post by:
First off I do not know alot about writing queries to an Access
Database from an ASP page. This is why I need help.
I have an Events database for 6 colleges in our metro area. On the
homepage I...
|
by: JC |
last post by:
I am using Mysql version: 4.0.18-max-log
and trying to populate a database from a text file using source option from
inside the mysql environment.
The population run OK but when creating the...
|
by: visionstate |
last post by:
Hi there,
Is there a way of searching a sub-form (reading from a query) without
writing what is exactly contained in the query field.
For example if I had a 'Finance Manager' in the query but just...
|
by: acdevteam |
last post by:
Hello Everyone,
We are a dev team very new to Access, and so far we have gotten
excellent support from this group. We have a question about writing a
query. Here is the situation:
We have a...
|
by: laverdir |
last post by:
<?
$query = "SELECT " . $this->tabela3 . ".id, " . $this->tabela3 .
".naziv, " . $this->tabela3 . ".spisatelj, " . $this->tabela3 .
".najava, " . " DATE_FORMAT(" . $this->tabela3 ....
| |
by: Thorben Grosser |
last post by:
Hello Newsgroup,
I am doing some archive database and therefore got one table indexing
every folder and one table storing which rack belongs to which
department, eg:
table folders :...
|
by: Mark Braithwaite |
last post by:
Hi
We are attempting to create a dynamic spreadsheet which will extract information from CRM / SQL.
We have very limited expierence in creating SQL queries and we would really appreciate any...
|
by: danielandalexa |
last post by:
I'm wondering if it's possible to cleanly open multiple connections to
an Excel file (through Microsoft.Jet.OLEDB.4.0), for writing query
results.
I'm running multiple queries, and they're set...
|
by: vapanchamukhi |
last post by:
hi....
i want to write the query
select * from user where name = "richard"; in perl
the string richard i have taken that in the variable $name.
i have written the query as below
$sth =...
|
by: yappy77 |
last post by:
I need an expression that will calculate the last day of a quarter based on a specific date.
For example: Expiration date = 1/15/11; Last day of quarter = 3/31/11.
I am not that great at...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |