- increase realpath_cache_size (default 16k) to 128k(1M)
- optimize include_path variable for speedy search or use full path filenames
- exclude from /etc/updatedb.conf unneed path: large directories, many small files (uploads, users photos etc..)
- if you use ispmanager, directadmin disable awstats, webalizer
- use tmpfs for tmp/seesion directory
- xcache/apc
- mysqltuner.pl
- put mysql datadir and php files on different disks
- sysctl swappiness
- mount options: noatime (order, barrier ?)
Tuesday, October 18, 2011
linux server optimization
Tricks to optimize linux server :
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment