[torquedev] [Bug 192] New: qmgr fails if input is a file with more than 9 commands
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Tue May 8 08:08:17 MDT 2012
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=192
Summary: qmgr fails if input is a file with more than 9
commands
Product: TORQUE
Version: 4.0.*
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: clients
AssignedTo: knielson at adaptivecomputing.com
ReportedBy: roy.dragseth at uit.no
CC: torquedev at supercluster.org
Estimated Hours: 0.0
qmgr refuses to take more than 9 commands from an input file.
See transcript below. qmgr will barf on the 10th command in the input file.
This coincides with the Max open servers which is 9 ????
This is on torque 4.0.1, used to work fine on torque 3 and below.
[root at hpc1 ~]# qmgr < /opt/torque/pbs.default
Max open servers: 9
#
# Create and define queue default
#
create queue default
qmgr obj=default svr=default: Queue already exists
set queue default queue_type = Execution
set queue default keep_completed = 120
set queue default enabled = True
set queue default started = True
#
# Set server attributes.
#
set server scheduling = True
set server acl_host_enable = False
set server server_name = hpc1.local
set server managers = root at hpc1.local
set server managers += maui at hpc1.local
qmgr: max server connections reached.
qmgr: Error from server
set server default_queue = default
qmgr: max server connections reached.
qmgr: Error from server
set server log_events = 511
qmgr: max server connections reached.
qmgr: Error from server
set server mail_from = adm
qmgr: max server connections reached.
qmgr: Error from server
set server query_other_jobs = True
qmgr: max server connections reached.
qmgr: Error from server
set server allow_node_submit = True
qmgr: max server connections reached.
qmgr: Error from server
set server moab_array_compatible = True
qmgr: max server connections reached.
qmgr: Error from server
If you take the pbs.default file and run it as individual commands it works
fine
[root at hpc1 ~]# grep -v -e \# /opt/torque/pbs.default | xargs -i qmgr -c "{}"
qmgr obj=default svr=default: Queue already exists
[root at hpc1 ~]# qmgr -c 'p s'
#
# Create queues and set their attributes.
#
#
# Create and define queue default
#
create queue default
set queue default queue_type = Execution
set queue default keep_completed = 120
set queue default enabled = True
set queue default started = True
#
# Set server attributes.
#
set server scheduling = True
set server acl_host_enable = False
set server acl_hosts = hpc1.local
set server managers = maui at hpc1.local
set server managers += root at hpc1.local
set server default_queue = default
set server log_events = 511
set server mail_from = adm
set server query_other_jobs = True
set server scheduler_iteration = 600
set server node_check_rate = 150
set server tcp_timeout = 300
set server job_stat_rate = 45
set server poll_jobs = True
set server mom_job_sync = True
set server allow_node_submit = True
set server next_job_number = 8
set server server_name = hpc1.local
set server moab_array_compatible = True
--
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