httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dima Rasnitsyn <rasnit...@usa.net>
Subject Re: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow in sending responses generated by php or cgi pages...
Date Fri, 31 Jan 2003 05:37:02 GMT
Tom and everybody who have responded me:

thank you very much with your help!

After compiling Apache 2.0.44 from sources I have got the same results...
Then I have downloaded and installed Apache 1.3.27, and got the same
problem!!!

The same code is working in the same configuration on Red Hat 7.3, so this
is RedHat Linux 8.0 problem rather then Apache's...

I will solve it by downgrading our target machine to RH7.3 :-( and opening a
bug against 8.0 in RedHat bugzilla.

Thanks again,
Dima.

----- Original Message -----
From: "Thomas Bolioli" <info@terranovum.com>
To: <users@httpd.apache.org>
Sent: Thursday, January 30, 2003 11:52 AM
Subject: Re: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow in sending
responses generated by php or cgi pages...


> It's an issue with too much data going out STDERR and deadlocking with
> STDIN (search the archives for "deadlock pipes read write mod_cgi"). I
> do not know if it is fixed but I think it is still an issue with the
> latest RH blessed apache rpm. To get around the problem for now,
> eliminate most, if not all, of your STDERR output (yeah, it makes
> debugging a bitch if you use it for that) and things will work fine.
> Tom
>
> Dima Rasnitsyn wrote:
>
> > Alex,
> >
> > the problem was first encountered with shell script CGI-BIN (not
> > perl), therefore I do not think it's related to php.
> > I have 2 computers in the same 100Mb Ethernet 3 host lan connected
> > with a bridge. The server is 850Mhz P-III machine with RH8.0.
> >
> > 6.5 Mb html file is loaded to the browser running on the second
> > computer in about 10 seconds, but it gets stuck after sending about
> > 2-3K of html generated by php or shell cgi-bin.
> >
> > What's strange is that if CGI script's stdin output is small, but a
> > lot of data is written to stderr (which is supposed to go to
> > error_log), then behaviour is the same - the browser gets only part of
> > the page, then times out...
> >
> > THE SAME CGI-BIN SCRIPTS AND PHP PAGES ARE WORKING FINE UNDE
> > apache-1.3.x on RedHat 7.3!
> >
> > I will try to follow Jeff Cohen's suggestion and install the latest
> > apache from source and try to run it from a separate directory...
> >
> > Thanks,
> > Dima.
> >
> >
> >     ----- Original Message -----
> >     *From:* Alex "Sniper" Togstad <mailto:sniper@3dretreat.com>
> >     *To:* users@httpd.apache.org <mailto:users@httpd.apache.org>
> >     *Sent:* Thursday, January 30, 2003 2:31 AM
> >     *Subject:* Re: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow
> >     in sending responses generated by php or cgi pages...
> >
> >     What version of PHP?
> >
> >     What version of perl?
> >
> >     What's the specs of the server?
> >
> >     What type of connection is server on?
> >
> >     Behind any routers? Hubs etc?
> >
> >     See where I'm coming from?
> >
> >     We need more info about your server, and version of software
> >     installed on server.
> >
> >     Of course things will be fast from a local server within your
> >     network. There is non, or hardely any traffic from client to server.
> >
> >     ----
> >     Alex Togstad
> >     Web Developer
> >     alextogstad@3dretreat.com <mailto:alextogstad@3dretreat.com>
> >
> >
> >     -----Original Message-----
> >     From: Dima Rasnitsyn [mailto:rasnitsyn@usa.net]
> >     Sent: Thursday, January 30, 2003 2:08 AM
> >     To: users@httpd.apache.org <mailto:users@httpd.apache.org>
> >     Cc: shekhter_a@yahoo.com <mailto:shekhter_a@yahoo.com>
> >     Subject: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow in
sending
> >     responses generated by php or cgi pages...
> >
> >     Dear Apache Users,
> >
> >     I am experiencing a very strange problem with Apache 2.0.40
> >     running under
> >     RedHat 8.0
> >
> >     When the server is accessed from another LAN host http files are
> >     returned
> >     with no problems. If a CGI or PHP page is requested, then it takes
> >     tremendous time for the server to send the response. The first few
> >     Kb of the
> >     generated html are sent pretty fast, then the server stops for a
> >     while, and
> >     continues to send responses in small chunks with large
> >     intervals... strace
> >     shows
> >     read(5, 0xbffffd27, 1) = -1 EAGAIN (Resource temporarily
> >     unavailable)...
> >
> >     When the server is accessed from the browser running locally on
> >     the same
> >     host, then everything is fine and the same PHP/CGI pages are
> >     received very
> >     fast...
> >
> >     The hosts are in a local 192.168.0.xxx subnetwork...
> >
> >     Has anybody experienced the same problem? If so your help will be
> >     greatly
> >     appreciated.
> >
> >
> >     Thanks a lot,
> >     Dima.
> >
>
> --
> -----------------------------------------------------
> Terra Novum Research
> info@terranovum.com
> www.terranovum.com
> (617) 923-4132
>
> PO Box 362
> Watertown, MA 02471-0362
>
> Have you no sense of decency, sir?
> At long last, have you left no sense of decency?
>    -- Joseph Welch to Sen. McCarthy
> 1954. Army-McCarthy Hearings.
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message