Xwiki jobs directory with many files

Is it “fine” to have about 12000 files in the xwiki data/jobs directory? If not, how to “solve” it?

Could it be Loading... ? 12000 files sure sounds like it.

distribution:5
EventStreamWikiCleanerJob:5
extension:97
extensions:7
flavor:8
initialization:8
notifications:6946
refactoring:1382
solr:5
store.properties:1
uix:3539
wikicreation:11

So, there are a lot of files in notfications, refactoring, uix. I have no clue what the purpose of these files is; what happens if I delete these files, etc.
Most of these files are pretty old - some are newer. I’m using xwiki 12.10 but upgraded from 12.3 → 12.6 → 12.10

I have also recognized that starting up the server “takes some time” - longer as expected; longer as it was some month before. Can it be, that this is “the reason” for it?

So this one does seem related to Loading....

This means a lot of moves/rename/delete were done on this wiki.

For that one, I’m not sure.

Except for distribution everything else is pretty much just log of background jobs. XCOMMONS-1978 is about log that was not supposed to be serialized on disk (very short lives job for which the log goes in the general log). So you can remove them.

Thank you very much @tmortagne

I can remove everything? No drawbacks?

I have also recognized that starting up the server “takes some time” - longer as expected; longer as it was some month before. Can it be, that this is “the reason” for it?

Better keep distribution, but for the others the only drawbacks is the same as loosing log.

I don’t think so, those are not really supposed to be scanned at startup in XWiki Standard, so the number of files should not really matter much.