2013/1/17 Marcin Deranek <[email protected]>

> > > 5. Empty metrics
> > >> Some of the metrics are generated even though their value is
> > >> always 0 (eg. rss/vsz) as those only get updated in certain
> > >> circumstances (enabled resource limiting base don memory footprint
> > >> or memory usage reporting). In such circumstances I don't think it
> > >> makes sense to generate them at all.
> > >
> > >
> > https://github.com/unbit/uwsgi/pull/120
>
> From what I see rss/vsz is generated under the following condition:
>
> uwsgi.shared->options[UWSGI_OPTION_MEMORY_DEBUG] == 1 ||
> uwsgi.force_get_memusage
>
> Might be worth to add uwsgi.force_get_memusage, so we will
> additionally get metrics when we limit resources based on some memory
> conditions..


Good catch, I've added it.

-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to