• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Turn off the garbage collector can not end up causing other problems?

Jonatan442

Basic Pleskian
(in PHP)

How can I access the php.ini to make the change?

Currently, 2 minutes before each hour, my site is unavailable. This happens hourly.

The problem is caused by PHP garbage collection.

The solution for you to solve the problem:
http://stackoverflow.com/questions/2904862/issues-with-php-5-3-and-sessions-folder

I need to know: turn off the garbage collector can not end up causing other problems?

Error message:
[Thu Aug 25 03:26:26 2016] [error] PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in /var/www/vhosts/site/httpdocs/qa-include/app/users.php on line 146
 
Last edited:
How can removing unused session files from a temporary directorythat are not actively doing anything cause a website to be offline for two minutes?
 
Back
Top