https://issues.apache.org/bugzilla/show_bug.cgi?id=50649
Summary: disconnection between httpd and tomcat 6.0.18 via
proxypass ajp
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: Other
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: mod_proxy_ajp
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26546)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26546)
our virtual server involved
We do not know the reason of our disconnection between httpd and tomcat 6.0.18
via ajp, but we recognize that we have load of files upload and dwonload for
the great amount of files in the liferay portal at the document library porlet,
we describe our scenario
scenario :
1)
we've got liferay-5.2ee bundle tomcat running over the redhat under next
server.xml ajp connector configuration:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
acceptCount="1024"
connectionTimeout="20000"
emptySessionPath="true"
maxThreads="600"
protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />
2)
we've got http running via prefork mpm with the next configuration:
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 1024
MaxClients 1024
MaxRequestsPerChild 4000
</IfModule>
3) we've got the next proxypass configuration between httpd and liferay:
ProxyPass /educacion/colabora/temas ajp://localhost:8009
ProxyPassReverse /educacion/colabora/temas ajp://localhost:8009
ProxyPass /html ajp://localhost:8009/educacion/colabora/html
ProxyPassReverse /html ajp://localhost:8009/educacion/colabora/html
ProxyPass /image http://localhost:8080/educacion/colabora/image
ProxyPassReverse /image http://localhost:8080/educacion/colabora/image
ProxyPass /educacion/colabora ajp://localhost:8009/educacion/colabora
ProxyPassReverse /educacion/colabora ajp://localhost:8009/educacion/colabora
Actions:
1) httpd in debug mode in error.log with the next output:
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(224): Into
ajp_marshal_into_msgb
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[0] [Accept] = [image/gif, image/x-xbitmap, image/jpe
g, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[1] [Referer] = [http://colabora.ced.junta-andalucia.
es/educacion/colabora/web/ja2_gt025/foro?p_p_id=19&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_
col_count=2&_19_struts_action=%2Fmessage_boards%2Fedit_message&_19_redirect=%2Feducacion%2Fcolabora%2Fweb%2Fja2_gt025%2Fforo%2F-%2Fmessa
ge_boards%2Fmessage%2F2568108&_19_categoryId=1550858&_19_threadId=2568109&_19_parentMessageId=2568108]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[2] [Accept-Language] = [es]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[3] [Content-Type] = [multipart/form-data; boundary=-
--------------------------7db2be15300c2]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[4] [Accept-Encoding] = [identity,gzip,deflate]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[5] [User-Agent] = [Mozilla/4.0 (compatible; MSIE 6.0
; Windows NT 5.1; SV1)]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[6] [Host] = [colabora.ced.junta-andalucia.es]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[7] [Content-Length] = [2442]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[8] [Cookie] = [LFR_SESSION_STATE_1775946=12958780519
99; LFR_SESSION_STATE_1775946=1295877639796;
JSESSIONID=89A47C2FF633955024D65373F798BA84; GUEST_LANGUAGE_ID=es_ES;
COOKIE_SUPPORT=true;
COMPANY_ID=10108; ID=3850596b36446d53456e553d;
PASSWORD=4e6a73526876564f6b764c797548594a5973734a77773d3d;
LOGIN=6d67617273616e333739; SC
REEN_NAME=687a6543624f45326770574a324f3066526958704b413d3d;
AlteonP=f40e59053e455c23baeeba23]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[9] [Via] = [1.1 f0.23005141.23.andared.cec.junta-and
alucia.es:3128 (squid/2.6.STABLE5)]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[10] [X-Forwarded-For] = [192.168.4.135, 127.0.0.1]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[11] [Cache-Control] = [no-cache, max-age=259200]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(290): ajp_marshal_into_msgb:
Header[12] [Connection] = [keep-alive]
[Mon Jan 24 17:44:04 2011] [debug] ajp_header.c(430): ajp_marshal_into_msgb:
Done
[Mon Jan 24 17:44:04 2011] [debug] mod_proxy_ajp.c(239): proxy:
APR_BUCKET_IS_EOS
[Mon Jan 24 17:44:04 2011] [debug] mod_proxy_ajp.c(244): proxy: data to read
(max 8186 at 4)
[Mon Jan 24 17:44:04 2011] [debug] mod_proxy_ajp.c(259): proxy: got 2442 bytes
of data
[Mon Jan 24 17:44:04 2011] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Jan 24 17:44:04 2011] [error] (120006)APR does not understand this error
code: proxy: read response failed from 127.0.0.1:8009 (loc
alhost)
[Mon Jan 24 17:44:04 2011] [debug] proxy_util.c(2062): proxy: AJP: has released
connection for (localhost)
[Mon Jan 24 17:44:04 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL //localhost:8009/educacion/colabora/group/control
_panel/manage
_id=2&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10179
[Mon Jan 24 17:44:04 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
rol_panel/manage?p_p_auth=MQv7qHvw&p_p_id=134&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10179
anel/manage?p_p_auth=MQv7qHvw&p_p_id=134&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10179
[Mon Jan 24 17:44:04 2011] [debug] proxy_util.c(2044): proxy: AJP: has acquired
connection for (localhost)
age?p_p_auth=MQv7qHvw&p_p_id=134&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10179
to localhost:8009
&p_p_id=134&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10179
to localhost:8009
[Mon Jan 24 17:44:04 2011] [debug] proxy_util.c(2286): proxy: AJP: backend
socket is disconnected.
[Mon Jan 24 17:44:04 2011] [debug] proxy_util.c(2347): proxy: AJP: fam 2 socket
created to connect to localhost
[Mon Jan 24 17:44:04 2011] [error] (111)Connection refused: proxy: AJP: attempt
to connect to 127.0.0.1:8009 (localhost) failed
[Mon Jan 24 17:44:04 2011] [error] ap_proxy_connect_backend disabling worker
for (localhost)
[Mon Jan 24 17:44:04 2011] [error] proxy: AJP: failed to make connection to
backend: localhost
[Mon Jan 24 17:44:04 2011] [debug] proxy_util.c(2062): proxy: AJP: has released
connection for (localhost)
011-ca2_gt_101105gt009/blog1/-/blogs/rss
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_http.c(1950): proxy: HTTP:
declining URL
ajp://localhost:8009/educacion/colabora//group/2010-2011-ca2_gt_101105gt009/blog1/-/blogs/rss
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_ajp.c(579): proxy: AJP: serving
URL
ajp://localhost:8009/educacion/colabora//group/2010-2011-ca2_gt_101105gt009/blog1/-/blogs/rss
[Mon Jan 24 17:44:05 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:05 2011] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL //localhost:8009/educacion/colabora/web/guest/comunidades
[Mon Jan 24 17:44:05 2011] [debug] proxy_util.c(1488): [client 10.85.120.33]
proxy: ajp: found worker ajp://localhost:8009 for
ajp://localhost:8009/educacion/colabora/web/guest/comunidades?p_
p_id=29&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_29_struts_action=%2Fcommunities%2Fview&tabs1=communities-joined,
referer: http://colabora.ced.junta
-andalucia.es/educacion/colabora/web/guest/comunidades
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_http.c(1950): proxy: HTTP:
declining URL
ajp://localhost:8009/educacion/colabora/web/guest/comunidades?p_p_id=29&p_p_lifecycle=0&p_p_state=normal&
p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_29_struts_action=%2Fcommunities%2Fview&tabs1=communities-joined
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_ajp.c(579): proxy: AJP: serving
URL
ajp://localhost:8009/educacion/colabora/web/guest/comunidades?p_p_id=29&p_p_lifecycle=0&p_p_state=normal&p_p_m
ode=view&p_p_col_id=column-1&p_p_col_count=1&_29_struts_action=%2Fcommunities%2Fview&tabs1=communities-joined
[Mon Jan 24 17:44:05 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:05 2011] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL //localhost:8009/educacion/colabora/
[Mon Jan 24 17:44:05 2011] [debug] proxy_util.c(1488): [client 10.149.113.130]
proxy: ajp: found worker ajp://localhost:8009 for
ajp://localhost:8009/educacion/colabora/, referer: http://us.m
c1302.mail.yahoo.com/mc/welcome?.gx=1&.tm=1295886913&.rand=3jck145dtavdk
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_http.c(1950): proxy: HTTP:
declining URL ajp://localhost:8009/educacion/colabora/
[Mon Jan 24 17:44:05 2011] [debug] mod_proxy_ajp.c(579): proxy: AJP: serving
URL ajp://localhost:8009/educacion/colabora/
[Mon Jan 24 17:44:05 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:05 2011] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL
//localhost:8009/educacion/colabora//group/ma2_fc_29006830-sistema-de-calidad-iso./documentacion
[Mon Jan 24 17:44:06 2011] [debug] proxy_util.c(1488): [client 10.160.5.67]
proxy: ajp: found worker ajp://localhost:8009 for
ajp://localhost:8009/educacion/colabora//group/ma2_fc_29006830-si
stema-de-calidad-iso./documentacion?p_p_auth=gwquCdG9&p_p_id=20&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&doAsUserId=mpzQwdWDiEI%3D&_20_struts_action=%2Fdocument_library%2Fedit_file_entr
y&_20_cmd=add&_20_folderId
=2756982&_20_communityPermissions=ADD_DISCUSSION&_20_communityPermissions=VIEW
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy_http.c(1950): proxy: HTTP:
declining URL
ajp://localhost:8009/educacion/colabora//group/ma2_fc_29006830-sistema-de-calidad-iso./documentacion?p_p_auth=gwquCdG9&p_p_id=20&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&doAsUserId=mpzQwdWDiEI%3D&_20_struts_action=%2Fdocument_library%2Fedit_file_entry&_20_cmd=add&_20_folderId=2756982&_20_communityPermissions=ADD_DISCUSSION&_20_communityPermissions=VIEW
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy_ajp.c(579): proxy: AJP: serving
URL
ajp://localhost:8009/educacion/colabora//group/ma2_fc_29006830-sistema-de-calidad-iso./documentacion?p_p_auth=ityPermissions=ADD_DISCUSSION&_20_communityPermissions=VIEW
[Mon Jan 24 17:44:06 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:06 2011] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL
//localhost:8009/educacion/colabora/group/co1_fc_14001685_la-escuela-y-las-nuevas-tecnologia/blog1
edirect=%2Feducacion%2Fcolabora%2Fgroup%2Fco1_fc_14001685_la-escuela-y-las-nuevas-tecnologia%2Fblog1
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
Fco1_fc_14001685_la-escuela-y-las-nuevas-tecnologia%2Fblog1
fc_14001685_la-escuela-y-las-nuevas-tecnologia%2Fblog1
[Mon Jan 24 17:44:06 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:06 2011] [error] proxy: AJP: disabled connection for
(localhost)
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy_ajp.c(45): proxy: AJP:
canonicalising URL
//localhost:8009/educacion/colabora/group/ma1_escuela-tic2.0-en-el-ceip-domingo-lozano/foro
F-%2Fmessage_boards%2Fmessage%2F2662157&_19_categoryId=1556381&_19_threadId=2662158&_19_parentMessageId=2662157
[Mon Jan 24 17:44:06 2011] [debug] mod_proxy.c(966): Running scheme ajp handler
(attempt 0)
&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=2&_19_struts_action=%2Fmessage_boards%2Fedit_message
lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=2&_19_struts_action=%2Fmessage_boards%2Fedit_message
[Mon Jan 24 17:44:06 2011] [debug] proxy_util.c(1982): proxy: AJP: retrying the
worker for (localhost)
[Mon Jan 24 17:44:06 2011] [error] proxy: AJP: disabled connection for
(localhost)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]