This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Neels Hofmeyr nhofmeyr at sysmocom.deOn Sat, Sep 02, 2017 at 10:03:24AM +0200, Harald Welte wrote: > the question is why does it need that much quota? Right now I can see > that it only uses only 2.1GB on disk: > > root at cgit:/ # df -h > Filesystem Size Used Avail Capacity Mounted on > tank/jails/cgit 8.4G 2.1G 6.3G 25% / > What has grown beyond that existing 10GB limit? When this happened, the root fs was on 4.1G, with a 'quota' of 10G, i.e. probably ~6G taken up by snapshots. Something must have shrunk since then. I've now changed to refquota=5G (so the root fs can be up to 5G, chose 5 since I saw it hit 4G) and removed the quota (i.e. the snapshots will not cause us to limit disk space on the jail). > Did you (or somebody else) clear the cgit cache (it's currently 1.8GB)? Maybe someone cleared it and that's why we have more space now? Wasn't me. Looking at /var/chache/cgit it doesn't look like it was cleared. I now see NAME USED AVAIL REFER MOUNTPOINT tank/jails/cgit 8.87G 3.25G 1.75G /usr/jails/cgit i.e. 1.75G taken up by root fs, ~7 more G taken up by snapshots. It seems a max of 5G is way beyond the current 1.75G, but I can't tell what grew the root fs to 4G ... I'm happy to accept any other value. Maybe it was the cache that grew this large, and maybe the recent cgit rendering failures were due to hitting disc space limits? ... no, I just cleared the cgit cache and "my" file still renders empty. (cleared by cd /var/cache mkdir not_cgit mv cgit/* not_cgit/ and then testing whether it still works, and it seems to work. So I'm now doing 'rm -rf not_cgit'. For the record root at cgit:/var/cache # du -hs not_cgit/ 1.5G not_cgit/ root at cgit:/var/cache # df -h Filesystem Size Used Avail Capacity Mounted on tank/jails/cgit 5.0G 1.9G 3.1G 38% / root at cgit:/var/cache # rm -rf not_cgit/ root at cgit:/var/cache # df -h Filesystem Size Used Avail Capacity Mounted on tank/jails/cgit 5.0G 368M 4.6G 7% / Seems like we can shrink refquota considerably, and what grew to 4G remains a mystery.) > when are snapshots used? I'm not entirely sure. Holger? > > For the record, resizing an ezjail goes like [...] > > sure, that's why we have the http://osmocom.org/projects/osmocom-servers > redmine for, I guess. Added an initial https://osmocom.org/projects/osmocom-servers/wiki/Osmocomorg_Web_Servers ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170903/bac581d8/attachment.bin>