[torquedev] [Bug 137] New: Removing options from mom config and reloading config

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Tue Jun 21 22:15:36 MDT 2011


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=137

           Summary: Removing options from mom config and reloading config
           Product: TORQUE
           Version: 2.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: pbs_mom
        AssignedTo: knielson at adaptivecomputing.com
        ReportedBy: cwest at vpac.org
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0


When attempting to reset an option in the pbs_mom config file to its default
value, it is necessary to restart pbs. It would be beneficial to be able to
reset the value to its default via the remote reconfig option.

In this case I was trying to change the value of "max_load" and "ideal_load"
back to their defaults. It was previously defined in the pbs_mom config file,
we removed the options from the config file and used momctl -r <file> to reread
the config file, however the option didn't get changed. The log on the server
shows that the option was no longer detected.

If we stop and start pbs on the node then the setting has returned to the
default.

In this case looking at the source code shows that the initial setting for
those variables is "-1". However, if you try to set the value back to -1 it
won't work as there is error checking code in place to ensure that the value is
never set to a number less than 0.

My request is that if the setting is not defined in the pbs_mom config file
then it should be returned to the default, and that this should be achievable
via the remote_reconfig.

Thanks,
Craig.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list