We limit the cpu times in /etc/security/limits.conf so that user processes have a maximum of 10 minutes. It doesn't eliminate the problem completely, but it's fairly effective on users who misunderstood the role of login nodes.
On Thu, Feb 9, 2017 at 6:38 PM +0100, "Jason Bacon" <bacon4...@gmail.com<mailto:bacon4...@gmail.com>> wrote: We simply make it impossible to run computational software on the head nodes. 1. No scientific software packages are installed on the local disk. 2. Our NFS-mounted application directory is mounted with noexec. Regards, Jason On 02/09/17 07:09, John Hearns wrote: > > Does anyone have a good suggestion for this problem? > > On a cluster I am implementing I noticed a user is running a code on > 16 cores, on one of the login nodes, outside the batch system. > > What are the accepted techniques to combat this? Other than applying a > LART, if you all know what this means. > > On one system I set up a year or so ago I was asked to implement a > shell timeout, so if the user was idle for 30 minutes they would be > logged out. > > This actually is quite easy to set up as I recall. > > I guess in this case as the user is connected to a running process > then they are not ‘idle’. > > Any views or opinions presented in this email are solely those of the > author and do not necessarily represent those of the company. > Employees of XMA Ltd are expressly required not to make defamatory > statements and not to infringe or authorise any infringement of > copyright or any other legal right by email communications. Any such > communication is contrary to company policy and outside the scope of > the employment of the individual concerned. The company will not > accept any liability in respect of such communication, and the > employee responsible will be personally liable for any damages or > other liability arising. XMA Limited is registered in England and > Wales (registered no. 2051703). Registered Office: Wilford Industrial > Estate, Ruddington Lane, Wilford, Nottingham, NG11 7EP -- Earth is a beta site.