From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7da7d9e46bf05346,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2004-02-28 08:50:56 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!skynet.be!skynet.be!louie!tjb!not-for-mail From: "Geert Van Pamel" Newsgroups: comp.unix.tru64 Subject: Impact of the number of TCP/IP connections on the same port on Apache web server performance Date: Sat, 28 Feb 2004 17:50:53 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <4040c6ed$0$1925$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 217.136.75.121 X-Trace: 1077987054 reader3.news.skynet.be 1925 217.136.75.121:1612 X-Complaints-To: usenet-abuse@skynet.be Xref: archiver1.google.com comp.unix.tru64:11254 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,