cgit.*: COPYRIGHT file chokes syntax highlighter, causes 100% CPU load
Something like this:
1301 chrony 0:00 python3 /usr/local/lib/cgit/filters/syntax-highlighting.py COPYRIGHT
times N cores will degrade performance of Sentry because these processes are all consuming one core.
Workaround is to stop and start the cgit.*
containers.
It has only recently become an issue because of increased web crawler traffic.
I don't know which COPYRIGHT
file (in which project(s)) is causing the issue.
The lsof
command or searching the processes' open fd's doesn't seem to be immediately helpful.