One of my colleagues was interested in accumulating processes on the ondemand server. We run a load monitor on our machines and have noticed some spikes. These spikes aren’t an issue, just for our own knowledge. But my colleague was digging deeper and noticed that lsof of .sock files are causing “D” states and those processes are accumulating. There are ~14 of these for a single user.
# ps auxw | grep .sock root 13621 0.0 0.0 119368 1132 ? S Mar09 0:00 lsof -F piu /var/run/ondemand-nginx/<user>/passenger.sock root 13623 0.0 0.0 119368 252 ? D Mar09 0:00 lsof -F piu /var/run/ondemand-nginx/<user>/passenger.sock
Does anyone have any insight on these potentially causing usage spikes? This is something we were reading as well - Linux - What is the performance impact of D state processes