Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Potential documentation bug for RESERVED_DISK?
- Date: Tue, 13 Jul 2021 08:54:05 +0200 (CEST)
- From: "Sever, Krunoslav" <krunoslav.sever@xxxxxxx>
- Subject: [HTCondor-users] Potential documentation bug for RESERVED_DISK?
Hi all,
the documentation for RESERVED_DISK says that the unit KB is assumed (same as Disk).
It looks like it is in MB, though - in the source code we have:
condor_sysapi/reconfig.cpp
_sysapi_reserve_disk = param_integer_c( "RESERVED_DISK", 0, INT_MIN, INT_MAX );
_sysapi_reserve_disk *= 1024; /* Parameter is in meg */
We recently used the config variable to reserve 2GB which caused the calculated DISK attribute to be set to 0 on some hosts, when using 2000000.
These hosts then simply did not match jobs (insufficient DISK) and it took us a while to find out why...
After removing three 0's and using 2000 instead, the hosts again have DISK and immediately started running jobs.
Best
Kruno
--
------------------------------------------------------------------------
Krunoslav Sever Deutsches Elektronen-Synchrotron (IT-Systems)
Ein Forschungszentrum der Helmholtz-Gemeinschaft
Notkestr. 85
phone: +49-40-8998-1648 22607 Hamburg
e-mail: krunoslav.sever@xxxxxxx Germany
------------------------------------------------------------------------