Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] memory usage not updating
- Date: Mon, 19 Jun 2017 15:35:12 -0500
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] memory usage not updating
On 6/16/2017 2:09 PM, Michael Di Domenico wrote:
the memory usage counter that i see in the condor_status output from
each slot doesn't seem to be updating
Hi Michael,
Re the above, could you please be more explicit? I.e. what is the
actual name of the attribute in condor_status output that is not being
updated for you?
If you are referring to the "Mem" column in the default output from
condor_status, be aware that is the "Memory" attribute from the slot
classad which just shows the amount of memory allocated (provisioned) to
that slot. So it will not change.
If you want to see the amount of memory actually being utilized by a
job, you will want to look at the MemoryUsage attribute in the job
classad via the condor_q (or condor_history) command, as by default the
MemoryUsage attribute is a property of the job, not the slot.
If you want to see the amount of memory actually being utilized by a job
in the machine (slot) classad, so you can see it with condor_status,
then sppend the following into the condor_config on every execute node:
STARTD_JOB_ATTRS = $(STARTD_JOB_ATTRS) MemoryUsage ResidentSetSize
and do a condor_reconfig -all. Then you will be able to do things like
condor_status -af name memory memoryusage
to see the amount of memory provisioned and actually in use for every
slot in your pool. Note that memoryusage will by 'undefined' for slots
that are not running a job.
Hope the above helps,
regards,
Todd