[Tilecache] disk cache full ?

Frédéric Junod frederic.junod at camptocamp.com
Fri Mar 27 06:23:50 EDT 2009


Hi,

I've made a small script to check if my disk cache is full.

Usage is:
  tilecache_cache_full.py 
to check all the layers at all the zoom levels
  tilecache_cache_full.py <layer>
to check <layer>
  tilecache_cache_full.py <layer> <zoom start> <zoom stop>
to check layer from zoom start to stop
  tilecache_cache_full.py <zoom start> <zoom stop>
to check all layers from zoom start to stop

Its not bullet proof, the script can return wrong results if the cache contains
locks or tmp files.

fredj

-- 
Frédéric Junod
Camptocamp SA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tilecache_cache_full.py
Type: text/x-python
Size: 2303 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20090327/6a2758d6/tilecache_cache_full.py


More information about the Tilecache mailing list