httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lazy <lazy...@gmail.com>
Subject [users@httpd] mod_proxy_fcgi + php-fpm + connection reset by peer
Date Thu, 15 Nov 2012 22:43:18 GMT
Hi,

we are using httpd 2.4.3 with php 5.4 running fpm mode.

requests are passed to fpm using ProxyPassMatch. Everything works fine except,

Sometimes database data gets corrupted. All of the data was visible in
the form, but it gets truncated after ajax request commiting changes
gets aborted (shows as aborted in firebug).

in the access log:
80.5.x.x - - [15/Nov/2012:14:03:43 +0100] "POST
/xxx,action,pollb,id,958.html HTTP/1.1" 503 299
"https://xxx,action,pollb,id,958.html" "Mozilla/5.0 (Windows NT 6.1;
WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1"

in the error log:
[Thu Nov 15 14:04:03.140026 2012] [proxy_fcgi:error] [pid 15633:tid
140459279939328] (104)Connection reset by peer: [client
80.5.x.x:34541] AH01075: Error dispatching request to :, referer:
https://xxx,action,pollb,id,958.html

There is haproxy and varnish before httpd, it is also doing ssl.
80.5.x.x is remote clients ip (we are using mod_remoteip).

What does the error code exactly mean ? Our client (haproxy) reset ed
the connection ? Or was it php ?

Is it possible that somehow php processed the begining of the aborted
POST truncating the data in the database ?

OpenSSL support in haproxy is new, and aborted connection directs
suspicion on it (in case of httpd or varnish error there should be
some kind of 5xx error not an aborted connection), but still I don't
understand how the data got lost.


Thanks for Your time,


Regards,
Michal Grzedzicki

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message