Qstat is a bit slow

Hi! I have been finding qstat return times really long. It takes around 5min, and ocassionally it fails with “Connection refused” errors. I don’t think its a me problem - I’ve asked around and it happens to others. I don’t remember this happening before, are there any tips as to how to improve it?

I believe that the response has been “Don’t use it so much and it will improve”. There are behaviours that some users use that should be avoided. Submitting many small Walltime jobs. Running qstat regularly to ‘See what is happening’.

”However, please refrain from checking your jobs excessively. Repeated queries will be considered attacks, especially in quick succession. Our recommendation is to query your jobs status a maximum of once every 10 minutes, this should be more than enough.” is the third sentence in the Help documentation.

Hope this helps.

I guess if you see a colleague with unhelpful behaviours, please point them to the documentation.

1 Like

It’s also why NCI made nqstat, which caches qstat and reduces load on the PBS software.

So if you can, use nqstat

4 Likes

@Aidan can we pin this somewhere? Tips and tricks?