Friday, July 15, 2005

Saving memory


Since I have been having problem with what appears to be a memory leak, I have been taking a look at what has been taking all of the memory. I create a cron job that every five minutes gets the status of the computer. It is running the following command.


ps -auxw; cat /proc/meminfo


I don't have a monitor connected to this computer, but I do run a vnc server.  This had been configured to start KDE.  I changed the window manager for this vnc server to fvwm.  This is a window manager that is smaller than KDE.





I also changed the number of requests that each apache thread can handle before it quits to 25. And, I went through the modules that had were included in apache, and removed ones that I didn't need.  I removed these modules:




mod_auth_mysql

mod_auth_anon

mod_auth_dbm

mod_cern_meta

mod_expires

mod_headers

mod_unique_id

mod_usertrack

mod_unique_id

mod_imap

mod_speling

mod_proxy

mod_proxy_ftp

mod_proxy_http

mod_proxy_connect

No comments:

Post a Comment

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...