The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Keep alive on or off
Hi Everyone,
I am trying to make my website better and i noticed in my apache global file that the option keep alive was turned off. Would you suggest i turn this on or not.I am with interserver and they are really good Many thanks |
#2
|
||||
|
||||
I would turn it on and see if you see improvements. You will have to enable it in your includes/config file as well.
|
#3
|
|||
|
|||
Quote:
Its turned off for now but i did turn it on before and ran a test on that website and all the red x turned to green so all looked ok. I could not see an option for this though in my config.php file though Many thanks |
#4
|
||||
|
||||
Yeah, my bad.. do not think that is in there any more.
|
#5
|
||||
|
||||
Depends on memory and other Apache config.
If you have the resources turn it on. You need to balance Server Limit / Max Request Workers and Keep-Alive |
#6
|
||||
|
||||
I figured if he turned it on and saw improvements that would be a start.
|
#7
|
|||
|
|||
These are my settings below
Start Servers [?] 5 default Minimum Spare Servers [?] 5 default Maximum Spare Servers [?] 10 default Server Limit (Maximum: 20,000) [?] 256 default Max Clients [?] 150 default Max Requests Per Child [?] 10000 default Keep-Alive [?] On Keep-Alive Timeout [?] 5 default Max Keep-Alive Requests [?] Unlimited 100 default Timeout [?] 300 default All the above are set to the default is this ok or would you suggest anything else Many thanks |
#8
|
|||
|
|||
Here is what I have for my vps (it has 1GB ram)
Code:
# # 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 15 ## ## 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 # ServerLimit: maximum value for MaxClients for the lifetime of the server # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule prefork.c> StartServers 5 MinSpareServers 10 MaxSpareServers 20 ServerLimit 10 MaxClients 150 MaxRequestsPerChild 300 </IfModule> # 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 <IfModule worker.c> StartServers 5 MaxClients 75 MinSpareThreads 1 MaxSpareThreads 4 ThreadsPerChild 150 MaxRequestsPerChild 300 </IfModule> |
#9
|
|||
|
|||
Quote:
Many thanks i have 75 gb ram so i hope i am getting the most from it |
#10
|
||||
|
||||
Turn it on, there isnt any good reason not to.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|