Page 1 sur 1

[PHPTMP] Creating alot session

Publié : 11 août 2016, 22:39
par chorao157
The time I see that the scrip is creating many files in the / tmp php . How to fix it?

Image

Re: [PHPTMP] Creating alot session

Publié : 17 août 2016, 08:43
par creadunet
Why do you think it's a problem ?
Session are created for each member.
It avoid to put data in database.

Re: [PHPTMP] Creating alot session

Publié : 17 août 2016, 13:31
par chorao157
Because it is taking up space on HD, and my host has only 2 HD gigas . Why not make the session times out after 60 seconds ? I have more than 1 million traffic per day , and have to keep wiping it all the time .

Re: [PHPTMP] Creating alot session

Publié : 17 août 2016, 14:16
par creadunet
It take not so much space, because it's a lot of very small files.
If you have problem, verify session are well deleted by your server, when unused.

You can force them with PHP settings (but I don't remember exactly where).