Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 12:45:16 -0400
From:      "John Straiton" <jsmailing@clickcom.com>
To:        "'Eric Anderson'" <anderson@centtech.com>
Cc:        freebsd-performance@freebsd.org
Subject:   RE: Performance Problems.. Server hardware smoked by $500 box?
Message-ID:  <00ab01c37884$17459c40$1916c60a@win2k.clickcom.com>
In-Reply-To: <3F6080CC.30909@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Don't toss the hardware.  I don't think it has anything to do 
> with your 
> hardware.  I think it's either an apache conf issue, or possibly DNS 
> issues.  I'd like to see the following for each machine:
 
Thanks for looking into this. I'll put the requested information below:

John Straiton
jks@ clickcom.com
Clickcom, Inc
704-365-9970x101 

> /etc/resolv.conf
# Production Web
domain  clickcom.com
nameserver      209.198.22.5
nameserver      216.189.17.4
# Production DB
search clickcom.com
nameserver 209.198.22.5
nameserver 216.189.17.4
# Development Web
search clickcom.com
nameserver 209.198.22.5
nameserver 216.189.17.4


> /etc/hosts
# Production Web
127.0.0.1               localhost localhost.my.domain
# Production DB
127.0.0.1     localhost localhost.my.domain
209.198.22.23 depot depot.clickcom.com
209.198.22.12 chasm chasm.clickcom.com
# Development Web
127.0.0.1       chasm        chasm.clickcom.com
209.198.22.12   chasm        chasm.clickcom.com
209.198.22.21   chasm        chasm.clickcom.com


> /etc/host.conf (or /etc/nsswitch.conf) 
# Production Web (5.1-C)
[host.conf]
hosts
Bind
[nsswitch.conf]
hosts: files dns 
# Production DB (4.8-S)
[host.conf]
hosts
Bind
[nsswitch.conf does not exist]
# Development Web (5.0-R)
[host.conf does not exist]
[nsswitch.conf does not exist]


> /usr/local/etc/apache/httpd.conf
They all used to use the similiar configuration files with the exception
of the IP's placed in the VirtualHost entries until we upgraded the
Production Web machine to use apache2 and the Min/Max/Start servers
entries. I'll put the relavent stuff below...Keep in mind that things
were slow on the production machine before we upgraded it to apache2,
which is still slow.
 
[/usr/local/etc/apache/httpd.conf] 
(DEV Server)
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
Listen 80
Listen 443
Listen 8000  
BindAddress *:80
BindAddress *:443
BindAddress *:8000
Port 80

(DB Server + Former Production Web when it was apache1.3)
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 20
MaxSpareServers 30
StartServers 15
MaxClients 250
MaxRequestsPerChild 0
Listen 80
Listen 8000
Listen 443
BindAddress *:80
BindAddress *:443
BindAddress *:8000

(Production WEB now that it's using apache2. Since we're new to apache2,
it's gonna be certainly hokie)
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers         20
MinSpareServers      10
MaxSpareServers     40
MaxClients         150
MaxRequestsPerChild  0
</IfModule>
<IfModule worker.c>
StartServers         20   
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75  
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>
<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
</IfModule>
Listen 80
Listen 8000
Listen 443





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ab01c37884$17459c40$1916c60a>