[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] condor_kbdd is not resetting



Hi Joe,

I was using kbdd to get all triggers (mouse, keyboard and ssh). Works like a charm in the past. Currently I'm using a workaround based on "w" and "xprintidle" to let the workstations drain if users are active. But this is only a stopgap solution and not the best of all worlds.

Thanks for this hint. I added "STARTD_DEBUG = $(STARTD_DEBUG) D_IDLE D_KEYBOARD" to my config. This is what happens after restarting condor:

####
12/10/23 09:20:16 ******************************************************
12/10/23 09:20:16 ** condor_startd (CONDOR_STARTD) STARTING UP
12/10/23 09:20:16 ** /usr/sbin/condor_startd
12/10/23 09:20:16 ** SubsystemInfo: name=STARTD type=STARTD(6) class=DAEMON(1) 12/10/23 09:20:16 ** Configuration: subsystem:STARTD local:<NONE> class:DAEMON 12/10/23 09:20:16 ** $CondorVersion: 23.0.2 2023-11-20 BuildID: 690948 PackageID: 23.0.2-1.1 $
12/10/23 09:20:16 ** $CondorPlatform: X86_64-Ubuntu_22.04 $
12/10/23 09:20:16 ** PID = 2225979
12/10/23 09:20:16 ** Log last touched 12/10 09:20:14
12/10/23 09:20:16 ******************************************************
12/10/23 09:20:16 Using config source: /etc/condor/condor_config
12/10/23 09:20:16 Using local config sources:
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/00-htcondor-9.0.config
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/01-execute.config
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/01-submiter-host.config
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/docker
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/hibernate
12/10/23 09:20:16ÂÂÂ /etc/condor/config.d/workstation
12/10/23 09:20:16ÂÂÂ /etc/condor/condor_config.local
12/10/23 09:20:16 config Macros = 152, Sorted = 152, StringBytes = 5554, TablesBytes = 5568
12/10/23 09:20:16 CLASSAD_CACHING is ENABLED
12/10/23 09:20:16 Daemon Log is logging: D_ALWAYS D_ERROR D_STATUS D_KEYBOARD D_IDLE 12/10/23 09:20:16 SharedPortEndpoint: waiting for connections to named socket startd_2225926_ab7e 12/10/23 09:20:16 DaemonCore: command socket at <x.x.x.37:9618?addrs=x.x.x.37-9618&alias=pc37.domain&noUDP&sock=startd_2225926_ab7e> 12/10/23 09:20:16 DaemonCore: private command socket at <x.x.x.37:9618?addrs=x.x.x.37-9618&alias=pc37.domain&noUDP&sock=startd_2225926_ab7e>
12/10/23 09:20:16 HibernationManager: Hibernation is enabled
12/10/23 09:20:17 VM universe will be tested to check if it is available
12/10/23 09:20:17 History file rotation is enabled.
12/10/23 09:20:17ÂÂ Maximum history file size is: 20971520 bytes
12/10/23 09:20:17ÂÂ Number of rotated history files is: 2
12/10/23 09:20:17 Startd will not enforce disk limits via logical volume management. 12/10/23 09:20:17 machine resource GPUs has property ad GPU_0e18ca90=[ id = "GPU-0e18ca90" ] 12/10/23 09:20:17 machine resource GPUs has property ad Common=[ GlobalMemoryMb = 1999; ECCEnabled = false; MaxSupportedVersion = 12030; DriverVersion = 12.3; DeviceUuid = "0e18ca90-2de1-5aae-a293-c292c23f33f6"; DeviceName = "NVIDIA GeForce GT 1030"; DevicePciBusId = "0000:01:00.0"; Capability = 6.1 ]
12/10/23 09:20:17 Local machine resource GPUs = 1
12/10/23 09:20:17 Allocating auto shares for slot type 1: Cpus: 8.000000, Memory: 32024, Swap: auto, Disk: auto, GPUs: auto 12/10/23 09:20:17ÂÂ slot type 1: Cpus: 8.000000, Memory: 32024, Swap: 100.00%, Disk: 100.00%, GPUs: 1
12/10/23 09:20:17 bind slot DevIds tag=GPUs contraint=
12/10/23 09:20:17 slot1: New machine resource of type 1 allocated
12/10/23 09:20:17 Running: /usr/bin/docker container prune -f --filter=label=org.htcondorproject=True
12/10/23 09:20:17 CronJobList: Adding job 'GPUs_MONITOR'
12/10/23 09:20:17 CronJobList: Adding job 'SecondsMachineIdleUpdater'
12/10/23 09:20:17 CronJob: Initializing job 'GPUs_MONITOR' (/usr/libexec/condor/condor_gpu_utilization) 12/10/23 09:20:17 CronJob: Initializing job 'SecondsMachineIdleUpdater' (/usr/local/htcondor/update_secondsmachineidle.sh) 12/10/23 09:20:17 ResAttributes detected we do have unpriv user namespaces (pid was 2226081: status was 0)
12/10/23 09:20:17 CronJobList: Adding job 'kflops'
12/10/23 09:20:17 CronJobList: Adding job 'mips'
12/10/23 09:20:17 CronJob: Initializing job 'kflops' (/usr/libexec/condor/condor_kflops) 12/10/23 09:20:17 CronJob: Initializing job 'mips' (/usr/libexec/condor/condor_mips)
12/10/23 09:20:17 slot1: Idle time: Keyboard: 1201ÂÂÂÂ Console: 1201
12/10/23 09:20:17 Initial update sent to collector(s)
12/10/23 09:20:17 Sending DC_SET_READY message to master <x.x.x.37:9618?addrs=x.x.x.37-9618&alias=pc37.domain&noUDP&sock=master_2225926_ab7e>
12/10/23 09:20:37 slot1: Idle time: Keyboard: 1221ÂÂÂÂ Console: 1221
12/10/23 09:20:57 slot1: Idle time: Keyboard: 1241ÂÂÂÂ Console: 1241
12/10/23 09:21:17 slot1: Idle time: Keyboard: 1261ÂÂÂÂ Console: 1261
12/10/23 09:21:37 slot1: Idle time: Keyboard: 1281ÂÂÂÂ Console: 1281
12/10/23 09:21:57 slot1: Idle time: Keyboard: 1301ÂÂÂÂ Console: 1301
12/10/23 09:22:17 slot1: Idle time: Keyboard: 1321ÂÂÂÂ Console: 1321
12/10/23 09:22:37 slot1: Idle time: Keyboard: 1341ÂÂÂÂ Console: 1341
12/10/23 09:22:57 slot1: Idle time: Keyboard: 1361ÂÂÂÂ Console: 1361
12/10/23 09:23:17 slot1: Idle time: Keyboard: 1381ÂÂÂÂ Console: 1381
12/10/23 09:23:37 slot1: Idle time: Keyboard: 1401ÂÂÂÂ Console: 1401
12/10/23 09:23:57 slot1: Idle time: Keyboard: 1421ÂÂÂÂ Console: 1421
12/10/23 09:24:17 slot1: Idle time: Keyboard: 1441ÂÂÂÂ Console: 1441
12/10/23 09:24:37 slot1: Idle time: Keyboard: 1461ÂÂÂÂ Console: 1461
12/10/23 09:24:57 slot1: Idle time: Keyboard: 1481ÂÂÂÂ Console: 1481


####

It is irritating that the counter starts at 1201

Thanks for your support and best wishes,

Daniel

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur