gpfs waiters debugging
Hi Stijn You need to provide some more details on the type and duration of the waiters before the group can offer some advice. Bob Oesterlin Sr Principal Storage Engineer, Nuance On 6/6/17, 2:05 AM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Stijn De Weirdt" <gpfsug-discuss-bounces@spectrumscale.org on behalf of stijn.deweirdt@ugent.be> wrote: but we are wondering if and how we can cause those waiters ourself, so we can train ourself in debugging and resolving them (either on test system or in controlled environment on the production clusters). all hints welcome. stijn _______________________________________________
hi bob, waiters from RPC replies and/or threads waiting on mutex are most "popular". but my question is not how to resolve them, the question is how to create such a waiter so we can train ourself in grep and mmfsadm etc etc we want to recreate the waiters a few times, try out some things and either script or at least put instructions on our internal wiki what to do. the instructions in the slides are clear enough, but there are a lot of slides, and typically when this occurs offshift, you don't want to start with rereading the slides and wondering what to do next; let alone debug scripts ;) thanks, stijn On 06/06/2017 01:44 PM, Oesterlin, Robert wrote:
Hi Stijn
You need to provide some more details on the type and duration of the waiters before the group can offer some advice.
Bob Oesterlin Sr Principal Storage Engineer, Nuance
On 6/6/17, 2:05 AM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Stijn De Weirdt" <gpfsug-discuss-bounces@spectrumscale.org on behalf of stijn.deweirdt@ugent.be> wrote:
but we are wondering if and how we can cause those waiters ourself, so we can train ourself in debugging and resolving them (either on test system or in controlled environment on the production clusters).
all hints welcome.
stijn _______________________________________________
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Realize that generally any waiter under 1 second should be ignored. In an active GPFS system there are always waiters and the greater the use of the system likely the more waiters you will see. The point is waiters themselves are not an indication your system is having problems. As for creating them any steady level of activity against the file system should cause waiters to appear, though most should be of a short duration. Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: Stijn De Weirdt <stijn.deweirdt@ugent.be> To: gpfsug-discuss@spectrumscale.org Date: 06/06/2017 08:31 AM Subject: Re: [gpfsug-discuss] gpfs waiters debugging Sent by: gpfsug-discuss-bounces@spectrumscale.org hi bob, waiters from RPC replies and/or threads waiting on mutex are most "popular". but my question is not how to resolve them, the question is how to create such a waiter so we can train ourself in grep and mmfsadm etc etc we want to recreate the waiters a few times, try out some things and either script or at least put instructions on our internal wiki what to do. the instructions in the slides are clear enough, but there are a lot of slides, and typically when this occurs offshift, you don't want to start with rereading the slides and wondering what to do next; let alone debug scripts ;) thanks, stijn On 06/06/2017 01:44 PM, Oesterlin, Robert wrote:
Hi Stijn
You need to provide some more details on the type and duration of the waiters before the group can offer some advice.
Bob Oesterlin Sr Principal Storage Engineer, Nuance
On 6/6/17, 2:05 AM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Stijn De Weirdt" <gpfsug-discuss-bounces@spectrumscale.org on behalf of stijn.deweirdt@ugent.be> wrote:
but we are wondering if and how we can cause those waiters ourself, so we can train ourself in debugging and resolving them (either on test system or in controlled environment on the production clusters).
all hints welcome.
stijn _______________________________________________
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
oh sure, i meant waiters that last > 300 seconds or so (something that could trigger deadlock). obviously we're not interested in debugging the short ones, it's not that gpfs doesn't work or anything ;) stijn On 06/06/2017 02:57 PM, Frederick Stock wrote:
Realize that generally any waiter under 1 second should be ignored. In an active GPFS system there are always waiters and the greater the use of the system likely the more waiters you will see. The point is waiters themselves are not an indication your system is having problems.
As for creating them any steady level of activity against the file system should cause waiters to appear, though most should be of a short duration.
Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com
From: Stijn De Weirdt <stijn.deweirdt@ugent.be> To: gpfsug-discuss@spectrumscale.org Date: 06/06/2017 08:31 AM Subject: Re: [gpfsug-discuss] gpfs waiters debugging Sent by: gpfsug-discuss-bounces@spectrumscale.org
hi bob,
waiters from RPC replies and/or threads waiting on mutex are most "popular".
but my question is not how to resolve them, the question is how to create such a waiter so we can train ourself in grep and mmfsadm etc etc
we want to recreate the waiters a few times, try out some things and either script or at least put instructions on our internal wiki what to do.
the instructions in the slides are clear enough, but there are a lot of slides, and typically when this occurs offshift, you don't want to start with rereading the slides and wondering what to do next; let alone debug scripts ;)
thanks,
stijn
On 06/06/2017 01:44 PM, Oesterlin, Robert wrote:
Hi Stijn
You need to provide some more details on the type and duration of the waiters before the group can offer some advice.
Bob Oesterlin Sr Principal Storage Engineer, Nuance
On 6/6/17, 2:05 AM, "gpfsug-discuss-bounces@spectrumscale.org on behalf of Stijn De Weirdt" <gpfsug-discuss-bounces@spectrumscale.org on behalf of stijn.deweirdt@ugent.be> wrote:
but we are wondering if and how we can cause those waiters ourself, so we can train ourself in debugging and resolving them (either on test system or in controlled environment on the production clusters).
all hints welcome.
stijn _______________________________________________
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Tue, 06 Jun 2017 15:06:57 +0200, Stijn De Weirdt said:
oh sure, i meant waiters that last > 300 seconds or so (something that could trigger deadlock). obviously we're not interested in debugging the short ones, it's not that gpfs doesn't work or anything ;)
At least at one time, a lot of the mm(whatever) administrative commands would leave one dangling waiter for the duration of the command - which could be a while if the command was mmdeldisk or mmrestripefs. I admit not having specifically checked for gpfs 4.2, but it was true for 3.2 through 4.1.... And my addition to the collective debugging knowledge: A bash one-liner to dump all the waiters across a cluster, sorted by wait time. Note that our clusters tend to be 5-8 servers, this may be painful for those of you who have 400+ node clusters. :) ##!/bin/bash for i in ` mmlsnode | tail -1 | sed 's/^[ ]*[^ ]*[ ]*//'`; do ssh $i /usr/lpp/mmfs/bin/mmfsadm dump waiters | sed "s/^/$i /"; done | sort -n -r -k 3 -t' ' We've found it useful - if you have 1 waiter on one node that's 1278 seconds old, and 3 other nodes have waiters that are 1275 seconds old, it's a good chance the other 3 nodes waiters are waiting on the first node's waiter to resolve itself....
On recent releases you can accomplish the same with the command, "mmlsnode -N waiters -L". Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com From: valdis.kletnieks@vt.edu To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 06/06/2017 12:46 PM Subject: Re: [gpfsug-discuss] gpfs waiters debugging Sent by: gpfsug-discuss-bounces@spectrumscale.org On Tue, 06 Jun 2017 15:06:57 +0200, Stijn De Weirdt said:
oh sure, i meant waiters that last > 300 seconds or so (something that could trigger deadlock). obviously we're not interested in debugging the short ones, it's not that gpfs doesn't work or anything ;)
At least at one time, a lot of the mm(whatever) administrative commands would leave one dangling waiter for the duration of the command - which could be a while if the command was mmdeldisk or mmrestripefs. I admit not having specifically checked for gpfs 4.2, but it was true for 3.2 through 4.1.... And my addition to the collective debugging knowledge: A bash one-liner to dump all the waiters across a cluster, sorted by wait time. Note that our clusters tend to be 5-8 servers, this may be painful for those of you who have 400+ node clusters. :) ##!/bin/bash for i in ` mmlsnode | tail -1 | sed 's/^[ ]*[^ ]*[ ]*//'`; do ssh $i /usr/lpp/mmfs/bin/mmfsadm dump waiters | sed "s/^/$i /"; done | sort -n -r -k 3 -t' ' We've found it useful - if you have 1 waiter on one node that's 1278 seconds old, and 3 other nodes have waiters that are 1275 seconds old, it's a good chance the other 3 nodes waiters are waiting on the first node's waiter to resolve itself.... [attachment "attltepl.dat" deleted by Frederick Stock/Pittsburgh/IBM] _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
All, mmlsnode -N waiters is great … I also appreciate the “-s” option to it. Very helpful when you know the problem started say, slightly more than half an hour ago and you therefore don’t care about sub-1800 second waiters… Kevin On Jun 6, 2017, at 11:54 AM, Frederick Stock <stockf@us.ibm.com<mailto:stockf@us.ibm.com>> wrote: On recent releases you can accomplish the same with the command, "mmlsnode -N waiters -L". Fred __________________________________________________ Fred Stock | IBM Pittsburgh Lab | 720-430-8821 stockf@us.ibm.com<mailto:stockf@us.ibm.com> From: valdis.kletnieks@vt.edu<mailto:valdis.kletnieks@vt.edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Date: 06/06/2017 12:46 PM Subject: Re: [gpfsug-discuss] gpfs waiters debugging Sent by: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> ________________________________ On Tue, 06 Jun 2017 15:06:57 +0200, Stijn De Weirdt said:
oh sure, i meant waiters that last > 300 seconds or so (something that could trigger deadlock). obviously we're not interested in debugging the short ones, it's not that gpfs doesn't work or anything ;)
At least at one time, a lot of the mm(whatever) administrative commands would leave one dangling waiter for the duration of the command - which could be a while if the command was mmdeldisk or mmrestripefs. I admit not having specifically checked for gpfs 4.2, but it was true for 3.2 through 4.1.... And my addition to the collective debugging knowledge: A bash one-liner to dump all the waiters across a cluster, sorted by wait time. Note that our clusters tend to be 5-8 servers, this may be painful for those of you who have 400+ node clusters. :) ##!/bin/bash for i in ` mmlsnode | tail -1 | sed 's/^[ ]*[^ ]*[ ]*//'`; do ssh $i /usr/lpp/mmfs/bin/mmfsadm dump waiters | sed "s/^/$i /"; done | sort -n -r -k 3 -t' ' We've found it useful - if you have 1 waiter on one node that's 1278 seconds old, and 3 other nodes have waiters that are 1275 seconds old, it's a good chance the other 3 nodes waiters are waiting on the first node's waiter to resolve itself.... [attachment "attltepl.dat" deleted by Frederick Stock/Pittsburgh/IBM] _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
participants (5)
-
Buterbaugh, Kevin L -
Frederick Stock -
Oesterlin, Robert -
Stijn De Weirdt -
valdis.kletnieks@vt.edu
