• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Settings and How-to for apache config file?

Garindan

New Pleskian
Hi all, I recently set up my first vitual dedicated server with Plesk 11.

The apache server seems to have had a few problems and has gone down a few times. I've looked into the apache settings etc but have never done it before, so am hoping for some clarification on what to do and which settings might be best for the server?

Firstly, is '/etc/httpd/conf/httpd.conf' the correct file for the apache settings? Some sites I have read suggest a path that is using the domain name such as '/var/www/vhosts/example.com/conf/httpd.include', I'm confused.

The settings in /etc/httpd/conf/httpd.conf are...

Timeout 60
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 1
MinSpareServers 1
MaxSpareServers 5
ServerLimit 50
MaxClients 50
MaxRequestsPerChild 4000
</IfModule>

<IfModule worker.c>
StartServers 1
MaxClients 50
MinSpareThreads 1
MaxSpareThreads 4
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

The server is very modest at this stage - CentOS 6.2, 40Gb storage, 1Gb Ram, Intel Xeon CPU L5609 @ 1.87GHz. It is showing as using 60% of the memory.

The server only gets about 50 hits a day? It's quite small traffic wise.

I'm new to Plesk etc so any help with recommended settings and clarification on how to add a vhosts file would be very welcome :)

Many thanks for any help!
 
Back
Top