[slurm-dev] Re: Delete jobs from slurmctld runtime database

2017-08-24 Thread Selch, Brigitte (FIDF)
Hello,

thanks to everyone for answering !
If so, I will live  with it.

Best regards,
Brigitte



MAN Truck & Bus AG
Sitz der Gesellschaft: München
Registergericht: Amtsgericht München, HRB 86963
Vorsitzender des Aufsichtsrates: Andreas Renschler
Vorstand: Joachim Drees (Vorsitzender), Dr. Ulrich Dilling, Dirk Große-Loheide, 
Dr. Carsten Intra, Jan-Henrik Lafrentz, Heinz-Jürgen Löw, Dr. Frederik Zohm

This e-mail (including any attachments) is confidential and may be privileged.
If you have received it by mistake, please notify the sender by e-mail and 
delete this message from your system.
Any unauthorised use or dissemination of this e-mail in whole or in part is 
strictly prohibited.
Please note that e-mails are susceptible to change.
MAN Truck & Bus AG (including its group companies) shall not be liable for the 
improper or incomplete transmission of the information contained in this 
communication nor for any delay in its receipt.
MAN Truck & Bus AG (or its group companies) does not guarantee that the 
integrity of this communication has been maintained nor that this communication 
is free of viruses, interceptions or interference.



[slurm-dev] Re: Delete jobs from slurmctld runtime database

2017-08-23 Thread Christopher Samuel

On 22/08/17 01:59, Selch, Brigitte (FIDF) wrote:

> That’s the reason for my question.

I'm not aware of any way to do that, and I would advise against mucking
around in the Slurm MySQL database directly.

The idea of slurmdbd is to have a comprehensive view of all jobs (within
its expiry parameters), and removing them will likely break its
statistics and probably do Bad Things(tm).

Here be dragons..

-- 
 Christopher SamuelSenior Systems Administrator
 Melbourne Bioinformatics - The University of Melbourne
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545


[slurm-dev] Re: Delete jobs from slurmctld runtime database

2017-08-21 Thread Selch, Brigitte (FIDF)
Hello,

I already increased the parameters in slurm.conf file.
So there are enough already completed jobs visible.

But users want to decide, which jobs are visible and which ones not.
For example, one failed jobs, the users knows the fail-reason and decides there 
is no reason to see this job longer in any queue (no matter which command: 
squeue or sacct).
The next job, the user does not know, why the job is failed, so he wants the 
job to stay visible for debugging.

That’s the reason for my question.

Brigitte


Von: Chris Harwell [mailto:super...@gmail.com]
Gesendet: Montag, 21. August 2017 17:03
An: slurm-dev <slurm-dev@schedmd.com>
Betreff: [slurm-dev] Re: Delete jobs from slurmctld runtime database


Not sure I totally grasp the rationale. Could you please explain what the 
motivation is? Do you see cases where the number of jobs in the system is close 
to the configured maxjobcount? Do you have any free memory such that you could 
increase maxjobcount? Or could you decrease minjobage and direct users to query 
sacct?

Chris

On Mon, Aug 21, 2017, 10:49 Selch, Brigitte (FIDF) 
<brigitte.se...@man.eu<mailto:brigitte.se...@man.eu>> wrote:
Hello,

is it possible to manually delete Jobs from slurmctld runtime database ?
I know the automatic way with MinJobAge and MaxJobcount Parameters in 
slurm.conf.
But sometimes, users want to keep some Jobs longer in the queue (also  already 
completed jobs) und other jobs could be erased from the queue very soon.

In other words: is there a possibility for users to erase jobs before MinJobAge 
is reached?
I searched very long, but didn’t find a answer.

Thank you!

Brigitte


  

MAN Truck & Bus AG
Sitz der Gesellschaft: München
Registergericht: Amtsgericht München, HRB 86963
Vorsitzender des Aufsichtsrates: Andreas Renschler
Vorstand: Joachim Drees (Vorsitzender), Dr. Ulrich Dilling, Dirk Große-Loheide, 
Dr. Carsten Intra, Jan-Henrik Lafrentz, Heinz-Jürgen Löw, Dr. Frederik Zohm

This e-mail (including any attachments) is confidential and may be privileged.
If you have received it by mistake, please notify the sender by e-mail and 
delete this message from your system.
Any unauthorised use or dissemination of this e-mail in whole or in part is 
strictly prohibited.
Please note that e-mails are susceptible to change.
MAN Truck & Bus AG (including its group companies) shall not be liable for the 
improper or incomplete transmission of the information contained in this 
communication nor for any delay in its receipt.
MAN Truck & Bus AG (or its group companies) does not guarantee that the 
integrity of this communication has been maintained nor that this communication 
is free of viruses, interceptions or interference.
--
Chris Harwell
2017 Computers in Chemistry Chair
-
Join Computers in Chemistry http://www.acscomp.org/members/join-comp



MAN Truck & Bus AG
Sitz der Gesellschaft: München
Registergericht: Amtsgericht München, HRB 86963
Vorsitzender des Aufsichtsrates: Andreas Renschler
Vorstand: Joachim Drees (Vorsitzender), Dr. Ulrich Dilling, Dirk Große-Loheide, 
Dr. Carsten Intra, Jan-Henrik Lafrentz, Heinz-Jürgen Löw, Dr. Frederik Zohm

This e-mail (including any attachments) is confidential and may be privileged.
If you have received it by mistake, please notify the sender by e-mail and 
delete this message from your system.
Any unauthorised use or dissemination of this e-mail in whole or in part is 
strictly prohibited.
Please note that e-mails are susceptible to change.
MAN Truck & Bus AG (including its group companies) shall not be liable for the 
improper or incomplete transmission of the information contained in this 
communication nor for any delay in its receipt.
MAN Truck & Bus AG (or its group companies) does not guarantee that the 
integrity of this communication has been maintained nor that this communication 
is free of viruses, interceptions or interference.



[slurm-dev] Re: Delete jobs from slurmctld runtime database

2017-08-21 Thread Chris Harwell
Not sure I totally grasp the rationale. Could you please explain what the
motivation is? Do you see cases where the number of jobs in the system is
close to the configured maxjobcount? Do you have any free memory such that
you could increase maxjobcount? Or could you decrease minjobage and direct
users to query sacct?

Chris

On Mon, Aug 21, 2017, 10:49 Selch, Brigitte (FIDF) 
wrote:

> Hello,
>
> is it possible to manually delete Jobs from slurmctld runtime database ?
> I know the automatic way with MinJobAge and MaxJobcount Parameters in
> slurm.conf.
> But sometimes, users want to keep some Jobs longer in the queue (also
> already completed jobs) und other jobs could be erased from the queue very
> soon.
>
> In other words: is there a possibility for users to erase jobs before
> MinJobAge is reached?
> I searched very long, but didn’t find a answer.
>
> Thank you!
>
> Brigitte
>
>
> *    *
>
> MAN Truck & Bus AG
> Sitz der Gesellschaft: München
> Registergericht: Amtsgericht München, HRB 86963
> Vorsitzender des Aufsichtsrates: Andreas Renschler
> Vorstand: Joachim Drees (Vorsitzender), Dr. Ulrich Dilling, Dirk
> Große-Loheide, Dr. Carsten Intra, Jan-Henrik Lafrentz, Heinz-Jürgen Löw,
> Dr. Frederik Zohm
>
> This e-mail (including any attachments) is confidential and may be
> privileged.
> If you have received it by mistake, please notify the sender by e-mail and
> delete this message from your system.
> Any unauthorised use or dissemination of this e-mail in whole or in part
> is strictly prohibited.
> Please note that e-mails are susceptible to change.
> MAN Truck & Bus AG (including its group companies) shall not be liable for
> the improper or incomplete transmission of the information contained in
> this communication nor for any delay in its receipt.
> MAN Truck & Bus AG (or its group companies) does not guarantee that the
> integrity of this communication has been maintained nor that this
> communication is free of viruses, interceptions or interference.
>
> --
Chris Harwell
2017 Computers in Chemistry Chair
-
Join Computers in Chemistry http://www.acscomp.org/members/join-comp