I'm using opcache on my nginx install to cache in php scripts.
When I first start php, flarum takes about 7MB after navigating it for a bit.
But if I check back after awhile, I'll notice my entire cache is filled. I've raised it a few times but it keeps hitting the limit.
It looks like there is a directory called
flarum_root_dir/flarum/storage/less
That is using about 50MB with some of them using about 0.1-2kb of memory, others 500k to 10MB
A quick vim filter showed me these taking the most:
9.72 MB lessphp_gr2t8ghfis8c484kk0kckcgggwc0sws.lesscache
2.90 MB lessphp_p4uhj05lps0w4k40wsgcs0ck8oowckk.lesscache
2.90 MB lessphp_qca0n00bpmo0oscgck4840804kokwcw.lesscache
9.72 MB lessphp_jwwn0zzgea8cgk4kg4c08oos8gw0skg.lesscache
It looks like it's a less.php module.
Is this expected? Should less.php be using this much space for caching? If it is that's fine (kind of), but with it using so much space for caching then my wordpress install I'm a little unsure.
I have another flarum install that doesn't do this so I'm wondering if there is a certain action or page triggering this..