[torquedev] Mail Behavior

David Beer dbeer at adaptivecomputing.com
Wed Jun 16 12:43:28 MDT 2010

> ----- Original Message -----
> From: "Garrick Staples" <garrick at usc.edu>
> To: "torquedev" <torquedev at adaptivecomputing.com>
> Sent: Wednesday, June 16, 2010 12:14:59 PM
> Subject: Re: [torquedev] Mail Behavior
> On Wed, Jun 16, 2010 at 11:05:25AM -0600, David Beer alleged:
> > Hi all,
> >
> > Because of a support ticket, I noticed that TORQUE will force mail
> > whenever a job is deleted by someone other than the job owner. I've
> > also noticed that there are many instances where TORQUE will force
> > email, and that forcing the mail takes precedence over a user
> > requesting to never receive mail (in qsub). This makes me wonder,
> > should we send mail to people that explicitly request to never
> > receive emails?
> Mail is forced for errors; conditions outside of the normal flow of
> events for
> the life of a job. This makes perfect sense to me.
> We've had several inquiries over the years about this. I've always had
> the
> feeling that they didn't really want what they said they wanted. If we
> made "-m
> n" really not send any emails, then those same users will get upset
> that they
> lost the error messages.

Yeah, its probably a bad idea to change the existing behavior of "-m n," because this would throw some people off and probably be annoying as well. However, it seems reasonable to add a setting where a user can request to never receive any mail, and explicitly document that it means the user will never receive email. We will also update our documentation to note that you will still get some emails even if you supply "-m n."

> Protip: As an administrator, su to the user before calling qdel if you
> don't
> want an email sent. Sometimes we talk ahead of time and agree to
> delete a bunch
> of jobs. The user already knows it is happening and doesn't need the
> email. If
> the user doesn't know, then I remain root specifically to trigger the
> email.

This is a fine work-around, but it does create extra work for the administrator when it would be fairly simple to allow people to request they never want email.

> $ grep -r MAIL_FORCE src | grep -v .svn
> --
> Garrick Staples, GNU/Linux HPCC SysAdmin
> University of Southern California
> Life is Good!
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

David Beer | Senior Software Engineer
Adaptive Computing

More information about the torquedev mailing list