On Oct 3, 2009, at 2:00 PM, Perrin Harkins wrote:
I realized, reading this, that I should check for the Apache
startup and not
cache things if it's during startup. That's useful under mod_perl,
and won't
hurt anything elsewhere. I'll get that committed this weekend.
That should work. Or y
On Sat, Oct 3, 2009 at 4:56 PM, David E. Wheeler wrote:
> I realized, reading this, that I should check for the Apache startup and not
> cache things if it's during startup. That's useful under mod_perl, and won't
> hurt anything elsewhere. I'll get that committed this weekend.
That should work.
On Oct 3, 2009, at 5:25 AM, Perrin Harkins wrote:
It's safe to create a connection on
startup with DBIx::Connection though, as it is careful not to cache
across
fork or thread boundaries.
It may be necessary to set InactiveDestroy on any handles you open
during startup, even if you avoid ev
On Sat 03 Oct 2009, Elizabeth Mattijsen wrote:
> > I believe what you're doing should work, but I don't use threads
> > for anything. I'd probably fork and put the results in a database
> > table or file.
>
> If you like the threads API, you might want to take a look at the
> "forks" module on C
On Oct 3, 2009, at 2:32 PM, Perrin Harkins wrote:
On Fri, Oct 2, 2009 at 9:34 AM, Aku Kauste
wrote:
Well, obviously this doesn't work and I end up getting "child pid
X exit signal Segmentation fault (11)" type errors.
Is my aproach completely wrong? What would be the right way to solve
th
On Fri, Oct 2, 2009 at 2:58 AM, Sam Ingarfield wrote:
> For example, let user A have a session associated with him. He has the
> string 'cow' in $session{animal}. User B, meanwhile, has 'goose' in
> $session{animal}. Now, intermittently, user A is getting 'goose' when
> retrieving $session{animal}
On Fri, Oct 2, 2009 at 9:34 AM, Aku Kauste wrote:
> Well, obviously this doesn't work and I end up getting "child pid
> X exit signal Segmentation fault (11)" type errors.
>
> Is my aproach completely wrong? What would be the right way to solve
> this kind of a problem?
I believe what you're
On Fri, Oct 2, 2009 at 10:40 PM, David E. Wheeler wrote:
> It's safe to create a connection on
> startup with DBIx::Connection though, as it is careful not to cache across
> fork or thread boundaries.
It may be necessary to set InactiveDestroy on any handles you open
during startup, even if you a