Humongous file in /tmp/climulti

Hello.

Yesterday, we lost connectivity to our stats Piwik server. When we started investigating the issue, we realized that the hard drive had literally 0MB free. We were surprised, because we have a website with moderate traffic.

Actually, with further investigation, we have seen that the database was not taking more than 80MB. The problem was that a giant file was stored in the folder /var/www/tmp/climulti. There were two files, a *.pid file and a *.output file, and the latter was taking as much as 69GB of hard drive storage. Unfortunately, as the machine was barely usable because of the lack of free space, I’ve not been able to compress it, send it to an external server or open it. However, I could see the first line and it seemed to be an error log, yet not similar to those of Apache Server.

I assume some kind of infinite-loop error occurred and it managed to take all the free storage in the hard drive. However, I have no idea of what could happen. Any idea?

PS: I know it is difficult to know what could happen given that I could not provide the contents of the file. If only we knew what kind of information is saved in that folder, it would be Ok.

Regards!

Thanks for the report! That’s a very unusual bug. Were you using quite recent version of Piwik?

To make sure your bug is followed up and investigated by core team can you please create an issue on the issue tracker here: Issues · matomo-org/piwik · GitHub ? Cheers

Ok, thanks. I’ve already posted the issue. Version was 2.8.3, the latest one, I’ve included that info in the issue.

Regards.