[Mongrel] clients hang on large PUTs to Mongrel::HttpHandler-based web service
rf at ufl.edu
Tue Jun 3 17:09:05 EDT 2008
I have a problem with a storage web service our group wrote using
Mongrel::HttpHandler We have a consistent problem when using
http PUT to this service when the data is larger than about 4 GB.
The web service actually retrieves and processes the data, but the
clients hang - the TCP connection is still in the ESTABLISHED
state on the client side, but the TCP session no longer exists on
the server side (the temporary file is unlinked from the directory
and, somewhat later, from the mongrel process)
I'm using mongrel 1.1.4, and as far as clients go, I've tried curl and
a java-based application using the jakarta commons http client
software - same issue.
I'm wondering if this is a simple 32-bit int issue in the ragel-generated
Any advice on how to approach debugging/fixing this would be
appreciated - this is very repeatable.
Work-arounds would be met with almost equal glee.
More information about the Mongrel-users