* Impact of the number of TCP/IP connections on the same port on Apache web server performance
@ 2004-02-28 16:50 Geert Van Pamel
2004-03-03 0:54 ` Rick Jones
0 siblings, 1 reply; 2+ messages in thread
From: Geert Van Pamel @ 2004-02-28 16:50 UTC (permalink / raw)
I have some practical questions about Apache web server network performance
on Tru64 UNIX 4.0F
- I am running an intranet Apache web server with PHP scripts and Oracle
DBI.
- I get typically 20 hits /s (mix of pure html, JPG/GIF, others are PHP
scripts)
- I have e.g. 100 open connections on one and the same TCP/IP port.
Question [1]
Could I have a better performance if I used multiple ports with multiple
Listen instructions in httpd.conf instead of listening to only 1 port 80
vi /usr/local/apache/conf/httpd.conf
...
Listen 2001
Listen 2002
Listen 2003
Listen 2004
Listen 2005
...
Could the performance be better when having 5 x 20 active connections
instead of 1 x 100 ?
Question [2]
Does there exist (kernel or other) parameters that I can tune for better
performance.
Question [3]
Does anybody have experience with persistent database connections? The
problem is that creating an Oracle process every (?) second generates up to
10 % of (unproductive) system CPU... and extra delays in processing the
queries of course.
Thanks,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Impact of the number of TCP/IP connections on the same port on Apache web server performance
2004-02-28 16:50 Impact of the number of TCP/IP connections on the same port on Apache web server performance Geert Van Pamel
@ 2004-03-03 0:54 ` Rick Jones
0 siblings, 0 replies; 2+ messages in thread
From: Rick Jones @ 2004-03-03 0:54 UTC (permalink / raw)
There are some old SPECweb99 and SPECweb96 disclosures for Tru64 at
http://www.spec.org/ . They are likely all for Zeus, rather than
Apache, but perhaps some of the settings might be germane.
I cannot speak directly to Tru64, but on HP-UX, if there were only 20
hits per second, I don't think that splitting things across multiple
listen endpoints would make much of a difference. At least not so far
as networking is concerned.
BTW, as far as having 100 connections on one and the same port, that
is only the local port. The TCP connections themselves are "named"
with the four-tuple of local/remote port, local/remote IP, and about
the only place I can think of in a TCP/IP stack where the one
well-known port could be a bottleneck is during connection
establishment as that is the only time things feed just through the
listen socket.
rick jones
--
Process shall set you free from the need for rational thought.
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-03 0:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-28 16:50 Impact of the number of TCP/IP connections on the same port on Apache web server performance Geert Van Pamel
2004-03-03 0:54 ` Rick Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox