Re: [fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Alex
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 t

Re: [fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Benjamin Eberlei
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

Re: [fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Alex
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 wrote: > On Mon, Aug 10, 2009 at 11:20 AM, Alex wrote: > >> >> As an aside: wou

Re: [fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Peter Warnock
On Mon, Aug 10, 2009 at 11:20 AM, Alex 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 t

[fw-general] Zend_Session Garbage Collections Works?

2009-08-10 Thread Alex
Hello, I've set the gc_maxlifetime to 14 days, but PHP's session GC is simply not running. My sessions dir now has hundreds of thousands of files. What am I doing wrong? Below is my session initialization: $config = Zend_Registry::get('config'); $options = array( 'nam