Closed offline closed 9 years ago
The red matches the code:
if worker['rss'] == 0:
color = curses.color_pair(3)
Now, does the older version show something in the rss / vsz fields? It would be nice not having magic numbers for color pairs.
Here is the old uwsgitop reading the same stat file
So the problem is I'm reading old version of stat file with newest uwsgitop?
Nope :) everything is fine. The question is: is red for everything better than the old one? it looks like a no to me. Next is to go looking at the git history figuring out the why this has been changed. I suppose empty rss was seen as a warning of some issue. So we need to sort out if rss being zero is a bug or is it normal. Want to help? :) UPDATE: this last step means actually looking at the uwsgi stats server code and figure out how and when rss and vsz are collected
Yes, I joined uwsgi irc channel, my nickname is "offline"
So the feature is: you'll get everything red unless you enable memory-report in your config. I think this is fine but it should be documented. @offline care to update the README.rst please?
After updating to lastest version, I see all lines in red. Is it should be like that?