You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by zeno <ze...@cgisecurity.net> on 2003/01/31 15:40:40 UTC

Re: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow in sending

> 
> hmm, took me 18 full installs of RH7.3 once to get a bootable install. 
> exact same system, Mandrake one install and bootable. since then I 
> refuse to work with RH, as it isn't reliable enough for installation. ( 
> would you be willing to pay someone for 36 hours, just to get a bootable 
> install on a computer? I wouldn't, costs way to much in time and money.

I think it is more of an issue of you're not a unix person. Mandrake holds your hand
while redhat holds a finger or two. While I am a BSD person myself I can say installing
redhat isn't difficult (making it bootable) and shouldn't take more then 1 hour if you decide
to install everything, and assuming your computer is pretty fast. If you are paying somebody
to install redhat on one machine and it takes them more then 5 hours (assuming you have
no hardware problems and if so this could add a day even for the more skilled unix user as far as finding
proper drivers) then you need to find somebody else.

- zeno@cgisecurity.com


> )
> Dima Rasnitsyn wrote:
> > 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" <in...@terranovum.com>
> > To: <us...@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 <ma...@3dretreat.com>
> >>>    *To:* users@httpd.apache.org <ma...@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 <ma...@3dretreat.com>
> >>>
> >>>
> >>>    -----Original Message-----
> >>>    From: Dima Rasnitsyn [mailto:rasnitsyn@usa.net]
> >>>    Sent: Thursday, January 30, 2003 2:08 AM
> >>>    To: users@httpd.apache.org <ma...@httpd.apache.org>
> >>>    Cc: shekhter_a@yahoo.com <ma...@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.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] Apache 2.0 @ RH8.0 is EXTREMELY slow in sending

Posted by "J. Greenlees" <ja...@shaw.ca>.

zeno wrote:
>>hmm, took me 18 full installs of RH7.3 once to get a bootable install. 
>>exact same system, Mandrake one install and bootable. since then I 
>>refuse to work with RH, as it isn't reliable enough for installation. ( 
>>would you be willing to pay someone for 36 hours, just to get a bootable 
>>install on a computer? I wouldn't, costs way to much in time and money.
> 
> 
> I think it is more of an issue of you're not a unix person. Mandrake holds your hand
> while redhat holds a finger or two. While I am a BSD person myself I can say installing
> redhat isn't difficult (making it bootable) and shouldn't take more then 1 hour if you decide
> to install everything, and assuming your computer is pretty fast. If you are paying somebody
> to install redhat on one machine and it takes them more then 5 hours (assuming you have
> no hardware problems and if so this could add a day even for the more skilled unix user as far as finding
> proper drivers) then you need to find somebody else.
> 
> - zeno@cgisecurity.com

switching from one *nix to a different one? with the hardware fully 
functional in one and no mountable root partition under RH7.3?
nope, bad coding on RH to not let it install on a systems that has, and 
is working perfectly under mandrake.
and it is a laptop, which is the worst to get *nix on.
(been using linux for 6 years now, this laptop issue wasn't that long ago. )


---------------------------------------------------------------------
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