Losing POST data on vanilla Ubuntu/nginx/mongrel install

Maxim Dounin mdounin at mdounin.ru
Sat Apr 4 18:38:35 MSD 2009


Hello!

On Sat, Apr 04, 2009 at 12:49:13AM -0700, Aaron Starr wrote:

> Update on the missing POST data when proxying to mongrel:
> 
> This seems crazy, but it seems to me that the problem is related to
> having very large, un-rotated nginx log files. I noticed that the
> files were getting too large, and removed them (and got logrotate set
> up), and now I get my POST data, again.
> 
> If anyone could confirm or deny this apparently nonsensical
> explanation, that would be appreciated.

Probably you have no space left for files in client_body_temp_path 
- and as soon as you removed large old logs there are space and 
everything is working again.

Guess you have nothing in error_log due to the very same reason - 
no space left on device.

Maxim Dounin

> 
> Aaron
> 
> 
> On Fri, Apr 3, 2009 at 2:22 PM, Aaron Starr <astarr at wiredquote.com> wrote:
> > Hi, all. Sorry in advance for what is hopefully a simple question.
> >
> > I'm using nginx as a reverse-proxy for a few mongrel instances. Using
> > AJAX (XMLHttpRequest), I POST a small bit of JSON to the server. The
> > request is properly proxied to mongrel, but with the POST data
> > missing!
> >
> > [..]
> 





More information about the nginx mailing list