To post a new support question, click the Post New Topic button below.
Current Version: 5.2.5 | Sytist Manual | Common Issues | Feature Requests
Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.
Sy-phpsessions Large Amount Of Files
M
Melissa Goodyear
6 posts
Fri May 31, 19 3:38 PM CST
Hello,
I ran into a problem with my hosting provider today where I hit the max limit on the number of files that my account is allowed to have. I have no space limit, but do have a file limit. When trying to figure out where the issue is from as the file limit should be large enough, I noticed that inside the sy-phpsessions folder there are over 132,000 sess_ type of files in there. Any idea on these or if there's something I should do for these?
Thanks!
I ran into a problem with my hosting provider today where I hit the max limit on the number of files that my account is allowed to have. I have no space limit, but do have a file limit. When trying to figure out where the issue is from as the file limit should be large enough, I noticed that inside the sy-phpsessions folder there are over 132,000 sess_ type of files in there. Any idea on these or if there's something I should do for these?
Thanks!
Tim - PicturesPro.com
17,000 posts
(admin)
Sat Jun 01, 19 5:38 AM CST
Those session files (when people visit the site it creates a session file to remember stuff like gallery access and carts when they are not logged into an account) should automatically be getting cleaned up, but it may be some sort of setting in the PHP configuration causing it not to do so.
You can change the session handling so it uses the default settings instead of the custom setting in Sytist. To do so:
Click Settings in the main menu. Then underneath the left menu click edit config file.
Remove these 2 lines of code:
ini_set('session.gc_maxlifetime', 1800);
ini_set('session.save_path', $setup['path']."/sy-phpsessions");
Doing so it won't create those files there any more.
You can change the session handling so it uses the default settings instead of the custom setting in Sytist. To do so:
Click Settings in the main menu. Then underneath the left menu click edit config file.
Remove these 2 lines of code:
ini_set('session.gc_maxlifetime', 1800);
ini_set('session.save_path', $setup['path']."/sy-phpsessions");
Doing so it won't create those files there any more.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
M
Michael Weeks
296 posts
Tue Jun 04, 19 2:26 AM CST
Tim,
for your info I just checked mine and the folder was about 4.5MB and contains files up to 2 years old from what I see
Mike
for your info I just checked mine and the folder was about 4.5MB and contains files up to 2 years old from what I see
Mike
M
Maria Ines Ramonda
93 posts
Thu May 14, 20 3:26 PM CST
Hello.
In the server I see folder "sy-phpsessions" is using 3.75GB of space.
In this forum I read a reply that indicates to remove 2 lines of code (I already removed them).
Can I entirely delete sy-phpsessions folder too? Does only non-account users data store on it?
Thanks.
In the server I see folder "sy-phpsessions" is using 3.75GB of space.
In this forum I read a reply that indicates to remove 2 lines of code (I already removed them).
Can I entirely delete sy-phpsessions folder too? Does only non-account users data store on it?
Thanks.
Tim - PicturesPro.com
17,000 posts
(admin)
Fri May 15, 20 4:07 AM CST
You can delete the entire sy-phpsessions folder.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
M
Maria Ines Ramonda
93 posts
Sun May 17, 20 9:49 AM CST
Thanks!
Please log in or Create an account to post or reply to topics.

Loading more pages