I know we can't kill processes that are in the D state.
The thing is that my servers are collecting D state processes since 2015 (as you see it is running from 2015 until now).
Sometimes I can't figure out how this process reaches this state and runs like this for years. What can I do to determine the cause for some of these running 3 years old process, preferably without putting my server at risk?
I will show some examples:
cp since 2017 nmbd since 2016 grep since 2015 hdparm since 2017 gzip since 2015