Setelah install Ubuntu Server sebagai Web Server resource yang terpakai begitu besar untuk CPU yaitu 9999%, fuser using 100% CPU Ubuntu Server setelah usut punya usut :hammer ternyata fuser yang banyak memakan resource. Sebenarnya sih kurang begitu paham dengan fungsi fuser ini, tapi setelah search google dari sudut ke sudut menemukan solusi
Silahkan edit di /etc/cron.d/php5 dengan script seperti berikut
Ubuntu Server 11.04
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
Ubuntu Server 11.10
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete
berikut perbedaan yang sangat terlihat pada penggunaan resource CPU Ubuntu dilihat dari Cacti
[SOLVED] fuser using 100% CPU Ubuntu Server
Baca Juga : Install DNS Bind9 Ubuntu 12.04 TLS