-
-
Notifications
You must be signed in to change notification settings - Fork 124
Description
I'm running Symfony CLI version 5.10.4 (2024-10-11T14:05:11Z - stable) on a pre-production env. I use it to run custom Symfony 6.3.12 commands and for composer.
The server runs Ubuntu 22.04.5 LTS, the filesystem is ext4 and the site is on NGINX and PHP-FPM, so the issue is not related to #383.
Today I got a "low inodes" alert, and it is due to the folder $HOME/.symfony5/tmp
: it contains 4.272.171 files, for a total of 18 GB (the huge number of files is more important than the total size). ls -la
takes a lot of time to compute, but then report something like this:
....
drwxr-xr-x 2 <username> www-data 4.0K Jun 24 2024 cpsdnr46fqoqma0f9c90/
drwxr-xr-x 2 <username> www-data 4.0K Jun 24 2024 cpsdntk6fqoqlsva0240/
drwxr-xr-x 2 <username> www-data 4.0K Jun 24 2024 cpsdo046fqoqkia7fv8g/
...
This is just a part of the list, and those folders were created Jun 24 2024
(today is 29 Dec 2024
, so those folders are 6 months old).
I tried to ls a few folders, but they all look empty:
$ ls -la cpsdnr46fqoqma0f9c90
total 170448
drwxr-xr-x 2 <username> www-data 4096 Jun 24 2024 .
drwxr-xr-x 1 <username> www-data 174489600 Dec 29 09:51 ..
I run about a dozen of Symfony projects, all on different versions (from 4.4 to 7.2) and this is the first time I get this issue.
I'm glad to provide additional info.