[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-425) The timeout specified has expired: proxy: AJP: cping/cpong failed, ajp_ilink_receive() can't receive header
Michal Babacek (JIRA)
issues at jboss.org
Wed Aug 6 05:02:30 EDT 2014
[ https://issues.jboss.org/browse/MODCLUSTER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990650#comment-12990650 ]
Michal Babacek commented on MODCLUSTER-425:
-------------------------------------------
* worker-timeout: Does not help
* playing with max-connections on AS7 side helps a bit
* prepending {{apr_socket_timeout_set(backend->sock, timeout);}} before {{status = ajp_handle_cping_cpong(backend->sock, r, timeout);}} has no effect
* reconnecting immediately after failure does not help {code}status = ap_proxy_connect_backend(scheme, backend, worker, r->server);
status = ajp_handle_cping_cpong(backend->sock, r, timeout);{code}
* IMHO as soon as the available connections (~2000 {{netstat -an | grep 8009}}) are exhausted, there isn't much one can do to prevent the mod_proxy_ajp timeout errors.
* TODO: Compare directly to mod_jk
> The timeout specified has expired: proxy: AJP: cping/cpong failed,ajp_ilink_receive() can't receive header
> ----------------------------------------------------------------------------------------------------------
>
> Key: MODCLUSTER-425
> URL: https://issues.jboss.org/browse/MODCLUSTER-425
> Project: mod_cluster
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.6.Final, 1.2.9.Final
> Environment: Confirmed RHEL6 x86_64
> Reporter: Michal Babacek
> Assignee: Michal Babacek
>
> mod_cluster balancer used in front of GateIn Portal, after certain warm-up time, starts to show:
> {code}
> [debug] proxy_util.c(2200): proxy: connected / to perf13:8009
> [debug] mod_proxy_cluster.c(1384): proxy_cluster_try_pingpong: connected to backend
> [debug] mod_proxy_cluster.c(1108): ajp_cping_cpong: Done
> [debug] proxy_util.c(2036): proxy: ajp: has released connection for (perf13)
> [debug] proxy_util.c(2018): proxy: ajp: has acquired connection for (perf12)
> [debug] proxy_util.c(2074): proxy: connecting ajp://perf12:8009/ to perf12:8009
> [debug] proxy_util.c(2200): proxy: connected / to perf12:8009
> [debug] proxy_util.c(2451): proxy: ajp: fam 2 socket created to connect to perf12
> [debug] mod_proxy_cluster.c(1384): proxy_cluster_try_pingpong: connected to backend
> [debug] mod_proxy_cluster.c(1108): ajp_cping_cpong: Done
> [debug] proxy_util.c(2036): proxy: ajp: has released connection for (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [debug] proxy_util.c(2018): proxy: ajp: has acquired connection for (perf12)
> [debug] proxy_util.c(2074): proxy: connecting ajp://perf12:8009/ to perf12:8009
> [debug] proxy_util.c(2200): proxy: connected / to perf12:8009
> [debug] mod_proxy_cluster.c(1384): proxy_cluster_try_pingpong: connected to backend
> [debug] mod_proxy_cluster.c(1108): ajp_cping_cpong: Done
> [debug] proxy_util.c(2036): proxy: ajp: has released connection for (perf12)
> [debug] proxy_util.c(2018): proxy: ajp: has acquired connection for (perf13)
> [debug] proxy_util.c(2074): proxy: connecting ajp://perf13:8009/ to perf13:8009
> [debug] proxy_util.c(2200): proxy: connected / to perf13:8009
> [debug] mod_proxy_cluster.c(1384): proxy_cluster_try_pingpong: connected to backend
> [debug] mod_proxy_cluster.c(1108): ajp_cping_cpong: Done
> [debug] proxy_util.c(2036): proxy: ajp: has released connection for (perf13)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> [error] ajp_handle_cping_cpong: ajp_ilink_receive failed
> [error] (70007)The timeout specified has expired: proxy: AJP: cping/cpong failed to 10.16.88.190:8009 (perf12)
> [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
> {code}
> Investigation is going on...
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the mod_cluster-issues
mailing list