I am experencing that ROOT file is not cllosed correctly when program run on a batch system at CERN. Then I run my program llocally and found that it takes looong time to close the root file (I have to kill the process) which produced by the program. I think because of this, the batch system kill my jobs. Now I am wondering why the root file can’t be closed.
I am not sure I can re-produce the problem when I shorten the program so I send you the
whole package I used, compile it with Makefile. The root version I use as in the afs is
5.12/00
thank you very much. Then that’s something related to data acquisition system—DATE,
that’s strange there are two start of run events in one single run.
OK, I understand the problem now. Your directory contains more than
100,000 histograms. I have improved the situation in the CVS version
when closing a directory with a huge number of objects and when
this directory does not contain other subdirs.
In your case, you can simply bypass the problem by callng
fOutputFile->GetList()->Clear();
just before
fOutputFile->Close();
in your function TPHOSMonitor::Close