[elbe-devel] Disk space leaks from the initvm

Lukasz Walewski lwalewski at s-can.at
Fri Mar 17 09:10:41 CET 2017


Hi,

I run the initvm in /opt/elbe as an operating system service and 'elbe submit' build jobs without rebuilding the VM itself to minimize the build time. However, I noticed that the VM image in /opt/elbe/initvm/buildenv.img grows after each build by about 2 GB (roughly 4x the size of the resulting RFS image). This is potentially a serious problem, since after sufficiently large number of builds arbitrarily large partition dedicated to the initivm will run out of space bringing the build system down, so some countermeasure must be taken.

The file size does not drop back to what it was before the build even after removing the project with 'elbe control del_project'. The filesystem usage reported by df inside the initvm (after 'elbe initvm attach') shows the / partition taking up roughly half the size of the image file seen from the host. The symptom resembles memory leaking from a program, thus the notion of a 'disk space leak'.

Is there a way to keep the initvm image size constant/limited?

Best,
Lukasz

---
Dr. Lukasz Walewski
s::can Messtechnik GmbH
Brigittagasse 22-24, A-1200 Wien




----------------------------------------

scan Messtechnik GmbH
Brigittagasse 22-24
A-1200 Wien/Vienna
tel. +43 1 219 73 93 - 0
fax +43 1 219 73 93 - 12
http://www.s-can.at
office at s-can.at

Geschaeftsfuehrer/President: DI Andreas Weingartner
Firmenbuchnummer/Incorporation No: FN178880i
Gerichtsstand/Court of Jurisdiction: Wien/Vienna

----------------------------------------

s::can - intelligent, optical, online

i::scan - compact, precise and affordable!
UV254::NTU::FTU::TOC::DOC::COD::BOD::Colour ...and many more to come!
http://www.i-scan.at
----------------------------------------
"YES WE SCAN !"




More information about the elbe-devel mailing list