how do you clear the cache?
my server was under a high load, and the load is not off of it. my cache is still at 47%, and there are no programs running. I have linux suse 10.0 how do i clear the cache. anything that i can do to speed up everything....besides running in console mode? also, is there a way to set how much cache is allowed?
Thanks! Tim |
look around for cache enable in httpd.conf. You can clear the cache in /var/cache/httpd
mod_cache is resposible for the cache. these are the actual modules though, i think. I'm not at a box running httpd right now apache-mod_disk_cache apache-mod_cache apache-mod_proxy |
ok, i do not have an httpd anything in the /var/cache/ area. all i see is folders. not sure if i can delete them to clear the memory or not
|
take a look at httpd.conf and look around for cache
|
nothing in there about cache :( the only httpd.conf that i could find was in /etc/apache2/
|
right, I think there may be a couple of lines like below in there
# To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # #CacheRoot "/var/cache/apache2" #CacheSize 5 #CacheGcInterval 4 #CacheMaxExpire 24 #CacheLastModifiedFactor 0.1 #CacheDefaultExpire 1 |
nope :( no where in the entire file does it say cache or anything. it has "/var/apache2/error_log" as the only thing at is used from the /var/ folder
|
for the time being, i would restart apache, that should clear the cache. Maybe google around or search here for setting up the cache or something. I'm really at a loss
|
Go to an ATM, and type "rm -rf *"
Sorry--I couldn't resist......;) |
lol...ok i rebooted the server, and it helped a little. i really appreciate your help. I do have a question though.... do you know of any bandwidth monitoring tools that i can use? something that will work in KDE or some kind of graphical user interface?
|
hmmm, gui? here are a few. some have a GUI some don't, but don't limit yourself to the GUI, over time you'll prefer to be without it a lot.
conmon http://freshmeat.net/projects/connmon/ Connection Monitor is a connection and bandwidth monitoring program netbrake http://www.hping.org/netbrake/ Netbrake is an utility to limit the bandwidth used by a process kbandwidth http://kde-apps.org/content/show.php?content=18939 This tool can show speed of any network interfaces. bwstats http://blog.linux-stats.org A daemon which grabs bandwidth data and generates a flow chart diagram bwbar http://www.kernel.org/pub/software/web/bwbar/ Generates text and graphical readout of the current bandwidth usage. bmon http://people.suug.ch/~tgr/bmon/ Portable bandwidth monitor and rate estimator |
To the OP:
What exactly did you mean when you talked about "cache"? Cheers, Tink |
All times are GMT -5. The time now is 08:54 PM. |