Now i was about to sleep but feel guilty asking so many questions and giving nothing back to community... here is my contribution
My server used to consume like 3 GB of RAM in one hours calling and i was surprised, what possibly can be wrong as the number of agent and calls remain the same... but its caching that used most of the stuff... so i used this as a cron job to run every 20 minutes... i never use more than 7000 MB of RAM even with 30 Agents now.... I did not find any adverse effect of the same on my system... i face problems but none is new one... they are same i faced before i started to use this scripts... so i am sure this will benefit all...
#### Flush cache after every 20 minutes
29,59 * * * 1,2,3,4,5,6,7 sync; echo 3 > /proc/sys/vm/drop_caches
Works on CentOS 5 if does not work on other distros get soemthing similar.. idea is to flush the cache on a fixed time period....