Lots of files in /home/domain.com

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.5
Webmin version 2.013
Virtualmin version 7.5
Related packages SUGGESTED

We have started to get lots of these files in /home/domain.com

-rw------- 1 domain.com domain.com 0 Jan 26 20:03 sess_e5hhud3gtfrs730jume5di3npi
-rw------- 1 domain.com domain.com 0 Jan 26 20:03 sess_mccvslump0ok5ma07one54pl1c
-rw------- 1 domain.com domain.com 0 Jan 26 20:07 sess_l9sl9qp297el8v4aak285kjn86
-rw------- 1 domain.com domain.com 0 Jan 26 20:07 sess_vmpomgf0irrdn3gc4r45u2v38h
-rw------- 1 domain.com domain.com 26 Jan 26 20:26 sess_fnmo0g4kbnu4ml179bfk03ua86
-rw------- 1 domain.com domain.com 0 Jan 26 21:00 sess_m0s3uolmaddhsk3s0hhsr0kmks
-rw------- 1 domain.com domain.com 0 Jan 26 21:00 sess_29tdn92j28p62ercpnffnjpdi0
-rw------- 1 domain.com domain.com 0 Jan 26 21:00 sess_04vi47p0jf9im7jkoqf2rl5ts6

Most empty. Very few like: wpss_sess_status|s:2:“on”;

What could be the reason?

I have seen others with the same problem but no real solution.
They get the files in /home/domain/tmp
Mine is in /home/domain together with public_html etc.
That is very annoying.

I’ve made a scheduled task that runs every day to delete them.
But new ones are still going to wrong folder.

If there is no solution for all files I’d appreciate if somebody could point me in the right direction how to get them to the tmp folder.

Hello,

You should check that the directory for the temporary files is set correctly in Services ⇾ PHP-FPM Configuration: Session Options page.

Thanks @Ilia

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.