chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] example from rpc egg crashes at around 2k calls for


From: Matt Welland
Subject: Re: [Chicken-users] example from rpc egg crashes at around 2k calls for me ....
Date: Tue, 8 Dec 2015 16:42:36 -0700

On Tue, Dec 8, 2015 at 12:44 AM, Peter Bex <address@hidden> wrote:
On Mon, Dec 07, 2015 at 10:38:33PM -0700, Matt Welland wrote:
> I don't understand why this is crashing. I'm guessing I'm failing to close
> a connection or finalize something. I also saw the same problem when I used
> sqlite3 instead of sql-de-lite. Any help or suggestions of where to look
> would be appreciated.

>From the call chain, it looks like something broke during query execution
and it's trying to serialize the exception object, which probably contains
a reference to the database connection (which is a pointer).

Try catching all exceptions and raising a placeholder exception with a
simple (error "foo")

Thanks Peter. I'm not sure where to add this but I'll experiment with it tonight.

I did test on a different system today and it kept going past 6k calls. However running "netstat|wc -l" showed a rapidly increasing number of TCP connections. It seems likely I'm not closing the connection but I don't see where to add the close.
 

Cheers,
Peter


reply via email to

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