File system cache becomming way to large and hanging the system...please help
ive been noticing lately that some times when i try to access my server via samba all my computers hang and xp locks up for no reason. i realized that since it occurs simultaniously (the lock ups) on more then one computer that it has to be something with the server. low and behold when i run top on my server i see that of the 2gig ram i have almost 1.9 gig is being used up. thinking it was a program that had a memory hole or something i proceded to shut EVERYTHING off. when that didnt work i got curious and unmounted my raid5 array (approx 2TB in size if that matters). almost instantly it droped from 1.9gig to ~300meg used. upon remounting and restarting samba everything works like a charm. since then i have been monitoring this and it seems that over time somethings filling up the ram to the point that the system is having problems operating. the system was ext3 but i have downgraded it to ext2 in an attempt to see if that was the cause (it started as an ext2 file system that i upgraded to ext3 at some point a while back). i have been told that the system loves to create a cache as big as it can on the system while its working to speed up the transactions but having a buffer thats larger then 1.5gig i find crazy! i have yet to find the option to set a max buffer size so if anyone can help me out with this problem i would be very appreciative. thanks very much.
Last edited by morph166955; 16th December 2005 at 08:14 PM.