--- Zbigniew Baniewski <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 01, 2007 at 03:04:35PM -0700, Joe Wilson wrote:
> 
> > Maybe the php wrapper is not closing sqlite connections correctly 
> > (or at all).
> > 
> > See if you can get the stack traces of all threads in the php process 
> > 162 via pstack, lsstack or by attaching gdb to it at runtime.
> 
> Before I'll make it: does there exist any possibility, that I made some
> mistake in PHP-scripts? If I correctly recall, even ev. omitting of
> "sqlite_close" function can't make any problem, because the connection is
> always closed even without this, just when end of script has been reached.
> 
> Are any script-related (not bugs in PHP-module) reasons possible?

Anything's possible when you're dealing with so many unrelated libraries.

Why do you think that the sqlite connection closes itself automatically?
Did you examine the PHP wrapper code to verify it closes each connection
in a timely fashion? Your trace seems to indicate it has 20 or so open 
connections to the same database file in the same process.

Maybe there's a state the PHP wrapper can get into where the close is not 
issued.


       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to