Aller au contenu
Infogérance Linux Debian en France

Infogérance Linux Debian en France

Kogitae : Ingéniérie de l'hébergement Internet

  • Accueil
  • Parcours
  • Presse
  • Portfolio
  • Blog

APC + petit PC

  • Accueil » Blog » APC + petit PC
DansLighttpd

APC + petit PC

<span class="html">Want to avoid segmentation with  apc.shm_segments?If your linux server limits the shared memory block  size and you're forced to use apc.shm_segments instead, change the  setting by using (here is 512M but change it as you like):
# sysctl -w kernel.shmmax=536870912

(but if you want the change to be permanent after a restart you would have to add the following line in /etc/sysctl.conf

kernel.shmmax=536870912)

and updating apc.ini

apc.shm_segments="1"
apc.shm_size="512"

apc.stat is an extremely important setting for a production server,  especially if many files are accessed on every request, which is quite  normal on complicated web applications.

Always aspire to use:
apc.stat="0"
so that APC does not try to check that each and every file exists on  every request you make. It also means you can update files on your  server without crashing incoming requests on that time fragment.  Whenever you wish to force APC to re-read all the files, simply clear  the cache or restart your server.</span>

administrateur-systeme-en-freelance apc apc-shm_segments centos-install-mpg123 centos-mpg123 debian-bash-vider-apc debian-squeeze-apc-shm_size ffmpeg-segmenter-lenny freelance-administrateur-systeme-paris-linux freepbx-deb info-gerence-avec-ubuntu install-jappix-centos kogitae kogitae-fr segmentation shared-memory-block-size-know-linux-apc-shm_size shm source-postfix-debian tarifs-infogerance-freelance www-kogitae-fr

Étiquettes

administrateur-systeme-freelance (9) amazon (3) apache (14) asterisk (9) auth (3) bash (6) blog-administrateur-systeme (14) blog-administration-systeme (4) collectd (5) cpu (3) debian (30) dovecot (4) duplicate (3) f (6) freelance-asterisk (3) google (3) infogerance-linux (5) infogérance (4) ipv6 (7) kernel (4) kogitae (30) kogitae-com (3) kogitae-fr (6) lamp-or-linux-or-developpement-web-and-apache-or-php-or-mysql-or-adobe-or-eclipse-or-zend-or-mozilla-or-firefox (17) lenny (4) lighttpd (5) limit (4) linux (26) mail (7) mdadm (6) mysql (14) openvz (9) optimiser (4) php (5) postfix (11) privvmpages-openvz (3) pxe (3) raid (3) SEO (5) ssh (8) ssl (3) test (3) voip (4) wordpress (6) www-kogitae-fr (7)