HowTo Check Software Raid Status with Mdstat

[root@dc1 /]# cat /proc/mdstat
Personalities : [raid1] 
md0 : active raid1 sda2[0] sdb2[1]
      204736 blocks super 1.0 [2/2] [UU]
      
md5 : active raid1 sdb8[1] sda8[0]
      901087040 blocks super 1.1 [2/2] [UU]
      [=======>.............]  check = 37.4% (337859904/901087040) finish=132.8min speed=70676K/sec
      bitmap: 3/7 pages [12KB], 65536KB chunk

md4 : active raid1 sdb7[1] sda7[0]
      2096064 blocks super 1.1 [2/2] [UU]
      	resync=DELAYED
      bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sdb1[1] sda1[0]
      20955008 blocks super 1.1 [2/2] [UU]
      	resync=DELAYED
      bitmap: 0/1 pages [0KB], 65536KB chunk

md1 : active raid1 sdb5[1] sda5[0]
      41910144 blocks super 1.1 [2/2] [UU]
      	resync=DELAYED
      bitmap: 1/1 pages [4KB], 65536KB chunk

md3 : active raid1 sdb6[1] sda6[0]
      2096064 blocks super 1.1 [2/2] [UU]
      	resync=DELAYED
      bitmap: 0/1 pages [0KB], 65536KB chunk

unused devices: <none>

PHP Optimization

Default Setting

realpath_cache_size=16K
realpath_cache_ttl=120

Optimized Setting

realpath_cache_size=1M
realpath_cache_ttl=86400

Check Current Real Path Cache Size and Content

<?php
var_dump(realpath_cache_size());
var_dump(realpath_cache_get());
?>

Reference:

eAccelerator Optimized Settings

php.ini location for cPanel

/usr/local/lib/php.ini

eAccelerator caching in SHM only. SHM size = All scripts total sizes.

eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.check_mtime="1"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.debug="0"
eaccelerator.enable="1"
eaccelerator.filter=""
eaccelerator.optimizer="1"
eaccelerator.shm_max="0"
eaccelerator.shm_only="1"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_size="128"
eaccelerator.shm_ttl="0"

eCommerce, Server Admin & Web Apps