Page MenuHomePhabricator

flamegraph (xenon) is using most of fluorine's memory
Closed, ResolvedPublic

Description

found this when investigating T88393:

xenon     9022  0.0  0.0   4400   608 ?        Ss   10:45   0:00      \_ /bin/sh -c /usr/local/bin/xenon-generate-svgs
xenon     9023  0.0  0.0  12740  1932 ?        S    10:45   0:00          \_ /bin/bash /usr/local/bin/xenon-generate-svgs
xenon     9404 74.3 79.5 6530736 6495200 ?     R    10:45   0:31              \_ /usr/bin/perl -w /usr/local/bin/flamegraph.pl --tit
xenon     9405  0.0  0.0   8808   408 ?        S    10:45   0:00              \_ gzip -9

essentially it is regenerating the monthly svg every 15m and I think that's what it makes it consume 6GB of ram, perhaps it is normal usage but seems wasteful nevertheless, also not clear if it is bounded in any way, cc @ori

screenshot_uDlAwC.png (297×437 px, 21 KB)

Event Timeline

fgiunchedi raised the priority of this task from to Medium.
fgiunchedi updated the task description. (Show Details)
fgiunchedi added a project: acl*sre-team.
fgiunchedi added subscribers: fgiunchedi, ori.

It is both (that is, both intentional and scandalously wasteful). I could optimize it if needed. Is it causing memory exhaustion on fluorine?

ori set Security to None.

towards the end of the month yes, the monthly view doesn't show this due to aggregation/downsampling, however the hourly view does

screenshot_uQidrr.png (278×410 px, 24 KB)

looking better, resolving

screenshot_YCjzfo.png (262×412 px, 21 KB)