geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <>
Subject Re: buildup of files in var/cache
Date Sat, 23 Jul 2011 02:45:30 GMT
Suppose you mean the OSGi cache directory ? On the server runtime, the size
of this directory should be almost have the same size with the repository
folder, as all the files would be copied. For the 12 GB var/cache directory
size, there should be a leak issue somewhere,
a. In the deployment process, the deployer will deploy a temp bundle in the
cache for builder analysis, maybe it is not uninstalled correctly due to
some exceptions.
b. In the undeployment process, Geronimo did not invoke uninstall for the
undeployed application due to unknown reason ?
c. Some exported classes of the undeployed application are wired with other
bundles, so the OSGi runtime will keep it there until the framework is
restarted. Considering the current package generation mechanism, should not
Think that if we could reproduce the issue, it should be easy to fix. Also,
I am also thinking that there is no need to package the temp bundle, just
use the target directory. which mentioned in another thread in the mail

2011/7/23 Kevan Miller <>

> A while back we had a problem with files for undeployed applications were
> building up in a servers repository. This problem was fixed. We still,
> however, have files that will build up in var/cache until the server is
> restarted. I ran a deploy/undeploy test of a simple HelloWorld jsp app. Each
> deploy/undeploy cycle will consume 2 megabytes of disk space, until the
> server is restarted. In some long running tests (but not *that* long running
> tests), I've seen the server consume 12 GB of hard drive space.
> Would really like to see this addressed. Any ideas?
> --kevan


View raw message