For the last week, sites on my VPS have been loading extremely slowly, sometimes even timing out. Could you please take a look at my Apache2 'server-status' output and let me know if you see anything interesting? I see a lot of "OPTIONS * HTTP/1.0" requests where the client is localhost (127.0.0.1). I really have no idea what is going on.
http://news.sweetboxing.com/server-status
Any help would be greatly appreciated.
Nick.
For first reply:
apache2.conf extract:
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 2
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 1
MinSpareServers 1
MaxSpareServers 5
MaxClients 40
MaxRequestsPerChild 500
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 1
MaxClients 40
MinSpareThreads 1
MaxSpareThreads 4
ThreadsPerChild 25
MaxRequestsPerChild 500
mod_statusis really not a complete picture of your server's status. What kind of content is it serving that's slow? If it's dynamic content, then that's the first place I'd look. What do load average numbers look like? – Shane Madden Jan 21 at 23:14OPTIONScall from localhost is most likely apache's internal signaling ... check the user agent in your access log, and it should mention 'internal dummy connection'. – Joe H. Jan 21 at 23:30