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.
Example:
# 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 - http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/What-is-the-performance-impact-of-D-state-processes-td7494.html