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

Re: [Condor-users] kbdd not working on windows server 2008



The logging code was specifically changed so that the kbdd does not need to be able to write a log at all.  Something odd that we only have one report of is when the kbdd attempts to change its current directory into the log directory as part of the daemon initialization, it gets killed.  This does not appear to be the kbdd excepting itself, but an external source killing it.  The modified kbdd I sent to Eric skips this step and hopefully he can confirm whether the change helps or not.  As for the time it takes to update, I'll have to check once I'm in the office tomorrow, but my gut feeling is no at the moment.  I think it was a hardcoded value because the original kbdd, which was intended for use on Linux systems only, had a hardcoded value.  I could be wrong though.

On Sun, Jul 24, 2011 at 8:59 PM, Michael O'Donnell <odonnellm@xxxxxxxx> wrote:
I was not aware that the startd could take up to 5 minutes before updating info about mouse/keyboard activity. Is there a config setting that can decrease this time?

Because the kbdd runs as the logged on user (the log file must exist in a file location the user has write access to), I can see potential problems in certain cases. For example, if the kbdd log file is specified for someones home directory (in many cases this is a file share) would there not be contention if a single user logs on to multiple machines (different kbdd instances would attempt to write to the same log file). I do not recall how the UID changes for some daemons (need to check my notes which I do not have access to right now), but is it possible or make more sense for the kbdd to run as user, but when information is written to a log, this is handled by the service account (in most recommended cases this is local system)? I guess each local config could specify a file name unique to each machine and this would eliminate this problem as well.

thanks,
mike

-----condor-users-bounces@xxxxxxxxxxx wrote: -----

To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
From: Ziliang Guo <ziliang@xxxxxxxxxxx>
Date: 07/24/2011 05:49PM
Subject: Re: [Condor-users] kbdd not working on windows server 2008

Uh, of course it doesn't if it's running like it does under XP.  If it's running under the Condor service in the system session, it can't see keyboard activity.  Which is why we've been trying to get it to run in the user session on user login.  Even when running under the user session, it can be up to 5 minutes before the startd is updated about keyboard/mouse activity.



--
Condor Project Windows Developer

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

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

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



--
Condor Project Windows Developer