Specifying max_job limits for a single Frontend seems broken
From Jeff Dost:
We encountered an urgent situation where we needed to reduce the limits of Running glideins for a single frontend while trying not to affect others. If I understand correctly this should be possible as follows in the max_job_frontends section.
<max_jobs held="1000" idle="4000" running="10000">
<default_max_jobs_frontend held="50" idle="100" running="5000"/>
<max_job_frontend name="CMS-CERN" held="50" idle="100" running="650" security_class="All"/>
Do I have the syntax correct? I don't see the max_job_frontend documented anywhere so I guessed it by looking at the source code. After setting this no new glideins ever submit to the entry and I see the following errors in the entry factory.*.info and err logs:
[2012-06-16T15:52:11-07:00 21817] WARNING: Error occurred while trying to find and do work.
Unfortunately nothing else is written to the debug log to know what may be the problem.
Can you please let us know whether I simply don't have this configured correctly or if it is a bug? This is occurring with glideinWMS v2_5_7.
#1 Updated by Krista Larson over 8 years ago
I think Jeff is using the wrong syntax. He needs to specify the security class name and not "all". But "all" is the default so we need to change this or add support to apply to all security classes for a frontend. Also, there was no good err logging - this could either be caught as part of the validation of the config (if we ever add this) or there could be a catch for errs when initializing the limits.