[Grok-dev] Interrupted request. Is there any way to find?

Sylvain Viollon sylvain at infrae.com
Tue Jan 4 05:03:49 EST 2011


On Mon, 3 Jan 2011 18:43:17 -0500
Hector Blanco <white.lists at gmail.com> wrote:

> Hello list!
> 

  Hello,

> I am using REST to perform some GET/POSTS... as explained
> http://grok.zope.org/documentation/how-to/rest-support-in-grok .
> 
> My data is serialized using MySQL (and SqlAlchemy 0.6.5 over it). The
> GETs, POSTs fire some queries to a MySQL database (as mentioned, using
> SqlAlchemy over it) but if the connection is interrupted (the client
> presses F5 or Ctrl+F5 in his browser to reload the page) it really
> messes up the server (connection closed, invalid queries... sometimes
> I even get a core dump and the server... dies). 

[...]

  I have core dumps with Paster (only with Paster) in some similar
  cases. I think it is because of the threads-o-clever-on-demand
  algorithm of Paster that mess up with other Zope C components.

  I have not such problem with mod_wsgi.

  For the mess-up request part, well it is the Zope 3 publisher who
  doesn't handle properly that interruption. Good luck if you want to
  fix it.

  Sylvain,



-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands


More information about the Grok-dev mailing list