we-bridge / vagrant-ansible-symfony

A template Vagrant Symfony2 project setup, supporting mixed Linux/OSX/Windows host environments
7 stars 5 forks source link

Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php5) #19

Open cbrunnkvist opened 9 years ago

cbrunnkvist commented 9 years ago

There is some garbage collection that symfony tries to call, which fails every now and then (seemingly random) because we run the app in FastCGI mode.

cbrunnkvist commented 9 years ago

It is a know error, apparently: http://stackoverflow.com/questions/25454675/symfony-calls-the-php-garbage-collector-on-ubuntu-14-04-even-when-session-gc-pro

can possibly be solved by amending the config as below:

framework:
    session:
        gc_probability: 0