phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-developers] Need your advice on php5 session files - [


From: chris
Subject: Re: [phpGroupWare-developers] Need your advice on php5 session files - [Fwd: Bug#479905: phpgroupware-0.9.16-core-base: /var/lib/phpgroupware/sessions grows as files are never purged]
Date: Wed, 07 May 2008 22:02:13 +0200

Le mercredi 07 mai 2008 à 07:11 -0500, Chris Weiss a écrit :

> 
> it's always been my impression that php's garbage collection, not a
> cron job, handles removing old session files.  maybe what we have a
> bug in php itself...
> 
Garbage collection is disabled in debian, this allows strict permissions
on /var/lib/php5.
drwx-wx-wt  2 root root 4096 avr 18 10:09 .

That if I understand well, let any user create a file and only the one
that created the file remove it.
So it is not possible to parse the directory. Thats why the cron job is
there.
My guess is that we will need to enable the gc
in /etc/apache2/conf.d/phpgroupware

        php_value session.gc_probability 1


C.Bac
> 
> _______________________________________________
> phpGroupWare-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]