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

Re: [HTCondor-users] condor_kbdd is not resetting KeyBoardIdle



Hello Tim,


Thanks for your help. This works like a charm.

Best,

Daniel

Am 26.01.2024 um 22:46 schrieb Tim Theisen:
Hello Daniel,

My apologies for taking so long to get back to you.

The problem is that the default value for SLOTS_CONNECTED_TO_CONSOLE and SLOTS_CONNECTED_TO_KEYBOARD changed in version 23.0 to 0. The previous default was $(NUM_CPUS). That worked fine in the static slot days, since there was exactly one slot per CPU. However with partitionable slots, one could have n partitionable slots plus m dynamic slots. So, I just set these configuration knobs to a large value.

If you add

SLOTS_CONNECTED_TO_KEYBOARD=1024*1024
SLOTS_CONNECTED_TO_CONSOLE=1024*1024

Your keyboard daemon will work as before. Starting the version 23.0.4, installing the kbdd package will drop a file in /etc/condor/config.d that adds the KBDD to the DAEMON_LIST and sets the two value above.

...Tim

On 12/8/23 04:58, Daniel BrÃckner wrote:
Hi,

I'm using condor_kbdd to determine users' activities. In the past everything was working fine but since upgrading to 23.0, kbdd is increasing keyboardidle even if users are active.

KbdLog:

####
12/08/23 11:41:06 ******************************************************
12/08/23 11:41:06 ** condor_kbdd (CONDOR_KBDD) STARTING UP
12/08/23 11:41:06 ** /usr/sbin/condor_kbdd
12/08/23 11:41:06 ** SubsystemInfo: name=KBDD type=DAEMON(11) class=DAEMON(1) 12/08/23 11:41:06 ** Configuration: subsystem:KBDD local:<NONE> class:DAEMON 12/08/23 11:41:06 ** $CondorVersion: 23.1.0 2023-10-31 BuildID: 686370 PackageID: 23.1.0-1.1 $
12/08/23 11:41:06 ** $CondorPlatform: X86_64-Ubuntu_22.04 $
12/08/23 11:41:06 ** PID = 1170108
12/08/23 11:41:06 ** Log last touched 12/8 11:41:04
12/08/23 11:41:06 ******************************************************
12/08/23 11:41:06 Using config source: /etc/condor/condor_config
12/08/23 11:41:06 Using local config sources:
12/08/23 11:41:06ÂÂÂ /etc/condor/config.d/00-htcondor-9.0.config
12/08/23 11:41:06ÂÂÂ /etc/condor/config.d/01-execute.config
12/08/23 11:41:06 /etc/condor/config.d/01-submiter-host.config
12/08/23 11:41:06ÂÂÂ /etc/condor/config.d/docker
12/08/23 11:41:06ÂÂÂ /etc/condor/config.d/hibernate
12/08/23 11:41:06ÂÂÂ /etc/condor/config.d/workstation
12/08/23 11:41:06ÂÂÂ /etc/condor/condor_config.local
12/08/23 11:41:06 config Macros = 151, Sorted = 151, StringBytes = 5531, TablesBytes = 5532
12/08/23 11:41:06 CLASSAD_CACHING is ENABLED
12/08/23 11:41:06 Daemon Log is logging: D_ALWAYS D_ERROR D_STATUS
12/08/23 11:41:06 SharedPortEndpoint: waiting for connections to named socket kbdd_1170071_f64f 12/08/23 11:41:06 DaemonCore: command socket at <:9618?addrs=&alias=pc37&noUDP&sock=kbdd_1170071_f64f> 12/08/23 11:41:06 DaemonCore: private command socket at <:9618?addrs=-9618&alias=pc37&noUDP&sock=kbdd_1170071_f64f>

####

When I (re)start condor, KeyboardIdle starts with 1200 instead of 0 seconds.

Can you help me finding the error in my configuration? I'm using Ubuntu 22.04.

Best regards,

Daniel



_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/