Quantcast
Channel: WebHostingTalk.pl - wszystkie tematy
Viewing all articles
Browse latest Browse all 10536

Optymalizacja serwera www

$
0
0

Witam, proszę o pomoc w optymalizacji apache na serwerze dedykowanym z ovh.

Intel® Atom™ CPU N2800   @ 1.86GHz 2gb ram
 
Aktualnie mam zainstalowany panel vestacp.
Korzystam z apace+phpfcgid
 
config
<IfModule mod_fcgid.c>
  AddHandler    fcgid-script .fcgi
  FcgidConnectTimeout 20
  FcgidMinProcessesPerClass 0
  FcgidMaxProcessesPerClass 10
  FcgidMaxProcesses 50
  FcgidIdleTimeout 60
  FcgidProcessLifeTime 120
  FcgidIdleScanInterval 30


  # Change the rate at which new FastCGI processes are spawned under load. Higher=faster
  FcgidSpawnScoreUpLimit 10

  # Higher number = spawning more FastCGI processes decreases the spawn rate (controls runaway
  FcgidSpawnScore 2

  # Higher number = terminating FastCGI processes decreases the spawn rate (controls runaway)
  FcgidTerminationScore 2

  # Increase the FastCGI max request length for large file uploads (needed for some sites)
  FcgidMaxRequestLen 1073741824

  FcgidMaxRequestsPerProcess 100000
  FcgidIOTimeout 1800
</IfModule>

Przy odświeżaniu strony rośnie zużycie procesora i pamięci ram do 100%

 


Viewing all articles
Browse latest Browse all 10536