On Mon 31 Mar 2003 at 11:29:35, Grant Robinson said: > I've noticed on both my gentoo desktop and my RedHat 7.3 laptop that > when I run a cronjob that uses updatedb to update the slocate database, > my memory usage (not cached memory, nor buffer memory, but memory > reported by the kernel as being used by programs) spikes to well over > 300 MB.
One of two things is happening -- and it's probably a combo of both. One, building a large database such as the slocate database just takes up quite a bit of memory. However, I doubt that updatedb itself is actually eating up all 300MB -- you can try running "ps aux | grep updatedb" while the process is running just to check how much RAM it is using. Most of the RAM being used is most likely disk cache. Since updatedb runs through almost the entire hard drive to look for the files, you'll end up with a lot cached. How much RAM do you have in this system? -- Soren Harward [EMAIL PROTECTED] ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
