Production Server Tuning - pulibrary/pul_library_drupal GitHub Wiki

library-prod.princeton.edu has 8G of memory available to it.

Apache

  • gzip compression enabled for most common mime/types with mod_deflate
  • MaxClients Set to 128

PHP

  • in php.ini max memory has been set to 256M

MySQL

  • Innodb buffer set to 256M - can hold current DB entirely in memory

Check total MySQL DB size

[PRINCETON\kr2@Library-Prod library]$ sudo du -hs /var/lib/mysql
164M	/var/lib/mysql

Varnish

Varnish currently has 2G of memory allocated to it.