Hi Benjamin,

About my previous post:
> I setup a .php file that runs by bootstrap then outputs phpinfo() and
> everything looks right. Still, the GC is not running.

I did that on my dev machine. On production (yep Benjamin, debian),
gc_probability was set to 0. I have many apps on the server so they have
their own session folders (different gc_maxlifetime).

All is well now, set gc_probability to 1. (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501313)

Sorry to bug the mailing list with this!

- Alex


On Mon, Aug 10, 2009 at 4:08 PM, Benjamin Eberlei <[email protected]>wrote:

> are you running on debian? it disables the php session gc and uses its own
> cronjob to cleanup, which sometimes is not running correctly..
>
> On Monday 10 August 2009 09:05:46 pm Alex wrote:
> > Any idea why the GC isn't running?
> >
> > I setup a .php file that runs by bootstrap then outputs phpinfo() and
> > everything looks right. Still, the GC is not running.
> >
> > - Alex
> >
> > On Mon, Aug 10, 2009 at 3:58 PM, Peter Warnock <[email protected]
> >wrote:
> > > On Mon, Aug 10, 2009 at 11:20 AM, Alex <[email protected]> wrote:
> > >> As an aside: would using the DbTable save handler be more efficient
> than
> > >> the file handler?
> > >>
> > >> - Alex
> > >
> > > The file handler is faster, but the db handler can provide persistence
> > > across multiple servers and is potentially more secure depending on the
> > > hosting environment. - pw
>
>
> --
> Benjamin Eberlei
> http://www.beberlei.de
>

Reply via email to