Forum Moderators: phranque

Message Too Old, No Replies

Getting mod_cache info on status page

How can I get the status of memory cache in the server-status page !?

         

mikecouk

11:18 am on Jul 15, 2004 (gmt 0)

10+ Year Member



Hello people,

I've seen the /server-status page in apache give information regarding the cache module, using apache 1.3.x, under Oracle OAS, like so ;

SSL/TLS Session Cache Status:
cache type: SHMCB, shared memory: 512000 bytes, current sessions: 0
sub-caches: 32, indexes per sub-cache: 133
index usage: 0%, cache usage: 0%
total sessions stored since starting: 0
total sessions expired since starting: 0
total (pre-expiry) sessions scrolled out of the cache: 0
total retrieves since starting: 0 hit, 0 miss
total removes since starting: 0 hit, 0 miss

Is there anyway I can get this in a standalone build of apache 2.0.x, or do you reckon this is some custom code written by Oracle, or something just for Apache 1.3.x?

regards,

Mike

gergoe

4:59 pm on Jul 15, 2004 (gmt 0)

10+ Year Member



This is not the cache status of the mod_proxy, actually I never heard about any stats for mod_proxy. This is the ssl session cache, which I think you can have on apache 2 also, if you have the ssl support enabled in your build/box.

mikecouk

9:46 am on Jul 16, 2004 (gmt 0)

10+ Year Member



Well it was worth a shot :)

I'm really after any stats for MOD_CACHE, so we can see how many objects are in memory, how much memory is being taken up etc.
Does anyone know if this is possible?

Mike