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

Re: [Condor-users] How to make condor suspend jobs partially





Condor has several different methods of tracking which processes belong to a job. One is to check for a special environment variable.

--Dan

Frédéric Bastien wrote:
Hi,

it is essancial to keep the same ticket as the only way to generate a
new one is to have the user enter their password...

In addition to detaching the process we deleted all environment
variable for condor and now it work... I don'u understand why
detaching the process alone don't work, but now it work. So yes it is
possible to detach a process and remove it from the group.

thanks for your time

Frederic Bastien

On Fri, Oct 24, 2008 at 1:59 PM, Andy Anderson <aanderson@xxxxxxxxxxx> wrote:
I assume that Condor is sending the SIGSTOP to the entire process
group, which includes your original job and any children it forks. I
don't think you can remove a child from the process group (but I'm not
an expert).

Is it essential that you keep the same kerberos ticket, as opposed to
authenticating again and using a new ticket?

-- Andy

On Oct 24, 2008, at 1:49 PM, Frédéric Bastien wrote:

Hi,

This will work only if it is suspended for less then 8h as we need to
renew the ticket before 8 hours or we will lose the ticket. But it
should help if their is not a work around. How condor know with
process to suspend? Maybe we could tell him to don't suspend process
from this executable?

thnks

Frédéric Bastien

On Fri, Oct 24, 2008 at 1:16 PM, Andy Anderson
<aanderson@xxxxxxxxxxx> wrote:
When your jobs resume, I believe they will receive SIGCONT, so
perhaps
they could catch that and reestablish their authentication before
proceeding?

-- Andy

On Oct 24, 2008, at 11:46 AM, Frédéric Bastien wrote:

Hi,

My jobs launch a daemon that is detached. This demon do very few
work
and will quit by itself if my jobs finish. But when condor suspend
my
jobs it also suspend this demon. It is important for us that it
don't
suspend the daemon. Condor send the SIGSTOP signal, but we can't
catch
it. We detached the demon from the jobs, but it don't work. How
can we
do it?

This demon is needed to renew the kerberos ticket of the jobs.

thanks for your time

Frédéric Bastien
_______________________________________________
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-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/