• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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