What Apache2 configuration should I use on my server?

خرید بک لینک

I have a Debian based server which is used for web development (PHP projects, WordPress websites, Samba). The server is used only for these and is not a "public" server, it is just for inteal use. A few people work on it (under 15).

Case: Apache, sometimes, is creating instances/processes till it hung up.

For example, I woke up a "dormant" WordPress website and when logged into dashboard, Apache started to create many and many instances.

Questions:

What is the best configuration for my specs?

Details: I am not sure what details to post, but below are some details. Feel free to ask me anything you need to know.

Apache/2.2.22 (Debian) config:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

IfModule mpm_prefork_module

StartServers          1
MinSpareServers       1
MaxSpareServers       2
MaxClients           50
MaxRequestsPerChild   50000

IfModule mpm_worker_module

StartServers          1
MinSpareThreads       5
MaxSpareThreads      25 
ThreadLimit          25
ThreadsPerChild      25
MaxClients           50
MaxRequestsPerChild   0

Server specs:

model name  : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
cpu MHz     : 1000.000
cache size  : 512 KB

Mem:          3965       
-/+ buffers/cache:        770       3195
Swap:         3811  

 Linux server 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

- - , .
.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 280 تاريخ: چهارشنبه 23 تير 1395 ساعت: 18:01

صفحه بندی