Apache Prefork Configuration
Posted
by
user1618606
on Server Fault
See other posts from Server Fault
or by user1618606
Published on 2012-09-22T21:56:44Z
Indexed on
2012/09/23
9:39 UTC
Read the original article
Hit count: 487
I'm newbie on VPS configuration. So, I've installed apache, php and mysql and now I need to know how to configure Prefork to optimize Apache.
The system configuration is:
CPU Cores 2 x 2 Ghz @ 4 Ghz
RAM Memory 2304 MB DDR3
Burst Memory 3 GB DDR3
Disk Space 30 GB SSD
Bandwidth 3 TB
SwitchPort 1 Gbps
Actually, after linux, mysql, apache and php, there are 250 MB memory in use.
Well, I don't have idea to calculate. I saw in some websistes, some vars like:
KeepAlive On
KeepAliveTimeout 1
MaxKeepAliveRequests 100
StartServers 15
MinSpareServers 15
MaxSpareServers 15
MaxClients 20
MaxRequestsPerChild 0
or
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
How I could to do: Prefork or worker? Where and how the vars are placed? In httpd.conf?
© Server Fault or respective owner