• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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