> I would also update the subject to something like: > > hung_task: Panic when there are more than N hung tasks at the same > time >
Ok, I will update > > > That said, I think that both approaches make sense. > > Your approach would trigger the panic when many processes are stuck. > Note that it still might be a transient state. But I agree that the more stuck > processes exist the more serious the problem likely is for the heath of the > system. > > My approach would trigger panic when a single process hangs for a long > time. It will trigger more likely only when the problem is persistent. The > seriousness depends on which particular process get stuck. > Yes, both are reasonable requirement, and I will leave it to you or anyone else interested to implement it Thanks -Li. > I am fine with your approach. Just please, make more clear that the number > means the number of hung tasks at the same time. > And mention the problems to login, ... > > Best Regards, > Petr
