<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Runtime_Resource_Usage_Limits</id>
	<title>Runtime Resource Usage Limits - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Runtime_Resource_Usage_Limits"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Runtime_Resource_Usage_Limits&amp;action=history"/>
	<updated>2026-05-04T22:49:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Runtime_Resource_Usage_Limits&amp;diff=2296&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;===== Runtime Resource Usage Limits ===== Runtime limits are hard limits enforced by LSF.   Kicks in if users allocated more resources than allowed   Also covers users who don...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Runtime_Resource_Usage_Limits&amp;diff=2296&amp;oldid=prev"/>
		<updated>2013-05-01T09:07:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Runtime Resource Usage Limits ===== Runtime limits are hard limits enforced by LSF.   Kicks in if users allocated more resources than allowed   Also covers users who don...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Runtime Resource Usage Limits =====&lt;br /&gt;
Runtime limits are hard limits enforced by LSF. &lt;br /&gt;
&lt;br /&gt;
Kicks in if users allocated more resources than allowed &lt;br /&gt;
&lt;br /&gt;
Also covers users who dont bother inputting anything in to the bsub script.&lt;br /&gt;
&lt;br /&gt;
Edit files in CFM:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
/etc/cfm/templates/lsf&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Show any runtime limits =====&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
bqueues -l normal&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Set runtime limits =====&lt;br /&gt;
Edit files lsb.queues and/or lsb.applications, and enable memlimit in the lsf.conf file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Update: PCM 3.2: /opt/lsf/conf/lsf.conf&lt;br /&gt;
File: /etc/cfm/templates/opt/lsf/conf/lsf.conf&lt;br /&gt;
&lt;br /&gt;
# Local alterations&lt;br /&gt;
#LSB_JOB_MEMLIMIT=Y&lt;br /&gt;
LSB_MEMLIMIT_ENFORCE=Y&lt;br /&gt;
LSF_UNIT_FOR_LIMITS=MB&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update: PCM 3.2: /opt/lsf/conf/lsbatch/[cluster_name1]/configdir/lsb.queues&lt;br /&gt;
File: /etc/cfm/templates/lsf/conf/lsbatch/[cluster_name1]/configdir/lsb.queues&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Begin Queue&lt;br /&gt;
QUEUE_NAME   = normal&lt;br /&gt;
PRIORITY     = 30&lt;br /&gt;
NICE         = 20&lt;br /&gt;
MEMLIMIT     = 1024 # 1MB in KB: default is KB&lt;br /&gt;
# Memlimit can take two args, one for default mem limit and one for max limit&lt;br /&gt;
MEMLIMIT     = default_limit max_limit&lt;br /&gt;
BACKFILL     = Y&lt;br /&gt;
...&lt;br /&gt;
DESCRIPTION  = For normal low priority jobs, running only if hosts are \&lt;br /&gt;
lightly loaded.&lt;br /&gt;
End Queue&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Restart LSF =====&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
addhost -u&lt;br /&gt;
badmin hrestart all (then y)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Faster checks for jobs exceeding limits =====&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Play with the SBD_SLEEP_TIME parameter (lsb.params)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>