Apache Prefork Configuration

Posted by user1618606 on Stack Overflow See other posts from Stack Overflow or by user1618606
Published on 2012-09-22T21:36:26Z Indexed on 2012/09/22 21:37 UTC
Read the original article Hit count: 274

Filed under:
|
|
|
|

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?

Big hug, Claudio.

© Stack Overflow or respective owner

Related posts about php

Related posts about linux