The recent German Linux Magazin had a nice article about rules for server administration.
basics:
- use different machines for services which need the same performance resources
- monitor your services
- limit your swap processes
- do not waste memory installing unneeded applications
- separate partitions for system, logs and data
- log everything
- save the configuration before any change
- keep static content in the cache
- stop intruders at the firewall
- use port knocking
- choose the multi-processing module which fits your CPUs
- use caching
- limit usage of .htaccess
- do not use symbolic links
- do not use lookups
- optimize MaxClients
- do not log everything
- use sendfile
- use MMAP
- switch of server-status
- limit the number of instances
- use the spam filter enabled RAM disk
- cache DNS requests
- use postfix only once per mail
- use reject_unkown_sender_domain
- only use local data for postfix lookups
- use rate limiting for clients
- kick problematic mails
- use the correct index type
- delete an unneeded index
- optimize your tables
- optimize your SQL statements
- use soft parsing
- limit the size of your tables
- separate OLTP and DSS
- use persistent connections
- be careful with the timing of batch jobs
- monitor the number of connections
- do not touch your configuration
- provide enough RAM
- monitor the network
- activate Oplocks
- use Winbind
- deactivate "case sensitive"
No comments:
Post a Comment