[JBoss JIRA] (MODCLUSTER-472) wildfly-mod_cluster integration should load-balance requests on more than one ports
by kostd kostd (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-472?page=com.atlassian.jira.pl... ]
kostd kostd updated MODCLUSTER-472:
-----------------------------------
Description:
Earlier I asked on forums https://developer.jboss.org/message/946476#946476
{quote}
on our wf8.2 server the web-app have two http endpoints: on port 8080 to regular http requests; and on port 37304 to "special" user requests in protected area.
we want use mod_cluster as load-balancer that balances user requests on both ports. For example(see the pic), lets requests on balancer`s port 7801 will be balance between node1 and node2 on port 8080, and requests on balancer`s port 7802 will be balance on port 37304.
In modcluster-subsystem configuration in standalone.xml we can set only one connector for mod-cluster config. And cannot set more than one mod-cluster-config section:
{code:title=jboss-as-mod-cluster_1_2.xsd}
<xs:element name="mod-cluster-config" type="mod-cluster-configType" minOccurs="0" maxOccurs="1"/>
{code}
alternatively, we can use mod_cluster + mod_proxy_balancer or mod_cluster + mod_jk so that mod_cluster balances on 8080 and other tech(mod_proxy_balancer or mod_jk) balances on other port 37304.
But this decision obviously not good: reverse loopback from servers(mgmt info with loadfactor of server) to balancer will manage balancing only for one port, not for both.
Seems that mod_cluster absolutely not supports more than one connector balancing:
{code:title=http://docs.jboss.org/mod_cluster/1.3.0/pdf/Mod_cluster-UserGuide.pdf}
Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to
which to forward web requests. Unlike mod_jk and mod_proxy_balancer, mod_cluster is not
confined to AJP, but can use HTTP as well. While AJP is generally faster, an HTTP connector
can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
mod_cluster uses the following algorithm to choose between them:
1. If an native (APR) AJP connector is available, use it.
2. If an AJP connector is available, use it.
3. Otherwise, choose the HTTP connector with the highest max threads.
{code}
is this true?
what is the best way to solve our problem?
{quote}
During more than 100 views no one answer :'(
Now we have made a decision to use mod_proxy_balancer, but if it possible to refine mod_cluster subsystem, this will be greate. When it happens, we will jump to mod_cluster again :)
was:
Earlier I asked on forums https://developer.jboss.org/message/946476#946476
{quote}
on our wf8.2 server the web-app have two http endpoints: on port 8080 to regular http requests; and on port 37304 to "special" user requests in protected area.
we want use mod_cluster as load-balancer that balances user requests on both ports. For example(see the pic), lets requests on balancer`s port 7801 will be balance between node1 and node2 on port 8080, and requests on balancer`s port 7802 will be balance on port 37304.
In modcluster-subsystem configuration in standalone.xml we can set only one connector for mod-cluster config. And cannot set more than one mod-cluster-config section:
{code:title=jboss-as-mod-cluster_1_2.xsd}
<xs:element name="mod-cluster-config" type="mod-cluster-configType" minOccurs="0" maxOccurs="1"/>
{code}
alternatively, we can use mod_cluster + mod_proxy_balancer or mod_cluster + mod_jk so that mod_cluster balances on 8080 and other tech(mod_proxy_balancer or mod_jk) balances on other port 37304.
But this decision obviously not good: reverse loopback from servers(mgmt info with loadfactor of server) to balancer will manage balancing only for one port, not for both.
Seems that mod_cluster absolutely not supports more than one connector balancing:
{code:title=http://docs.jboss.org/mod_cluster/1.3.0/pdf/Mod_cluster-UserGuide.pdf}
Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to
which to forward web requests. Unlike mod_jk and mod_proxy_balancer, mod_cluster is not
confined to AJP, but can use HTTP as well. While AJP is generally faster, an HTTP connector
can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
mod_cluster uses the following algorithm to choose between them:
1. If an native (APR) AJP connector is available, use it.
2. If an AJP connector is available, use it.
3. Otherwise, choose the HTTP connector with the highest max threads.
{code}
is this true?
what is the best way to solve our problem?
{quote}
During more than 100 views no one answer :'(
Now we have made a decision to use mod_proxy_balancer, but if it possible to refine mod_cluster subsystem, this will be greate. When it happens, we jump to mod_cluster again :)
> wildfly-mod_cluster integration should load-balance requests on more than one ports
> -----------------------------------------------------------------------------------
>
> Key: MODCLUSTER-472
> URL: https://issues.jboss.org/browse/MODCLUSTER-472
> Project: mod_cluster
> Issue Type: Feature Request
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.0.Final
> Environment: httpd 2.2
> modcluster 1.3.0
> wildfly 8.2.0.Final
> Reporter: kostd kostd
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Labels: connector, listener, load-balancing, mod_cluster, port, undertow, wildfly
> Attachments: load-balancer-question-scheme.png
>
>
> Earlier I asked on forums https://developer.jboss.org/message/946476#946476
> {quote}
> on our wf8.2 server the web-app have two http endpoints: on port 8080 to regular http requests; and on port 37304 to "special" user requests in protected area.
>
> we want use mod_cluster as load-balancer that balances user requests on both ports. For example(see the pic), lets requests on balancer`s port 7801 will be balance between node1 and node2 on port 8080, and requests on balancer`s port 7802 will be balance on port 37304.
>
> In modcluster-subsystem configuration in standalone.xml we can set only one connector for mod-cluster config. And cannot set more than one mod-cluster-config section:
>
> {code:title=jboss-as-mod-cluster_1_2.xsd}
> <xs:element name="mod-cluster-config" type="mod-cluster-configType" minOccurs="0" maxOccurs="1"/>
> {code}
>
> alternatively, we can use mod_cluster + mod_proxy_balancer or mod_cluster + mod_jk so that mod_cluster balances on 8080 and other tech(mod_proxy_balancer or mod_jk) balances on other port 37304.
> But this decision obviously not good: reverse loopback from servers(mgmt info with loadfactor of server) to balancer will manage balancing only for one port, not for both.
>
> Seems that mod_cluster absolutely not supports more than one connector balancing:
>
> {code:title=http://docs.jboss.org/mod_cluster/1.3.0/pdf/Mod_cluster-UserGuide.pdf}
> Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to
> which to forward web requests. Unlike mod_jk and mod_proxy_balancer, mod_cluster is not
> confined to AJP, but can use HTTP as well. While AJP is generally faster, an HTTP connector
> can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
> mod_cluster uses the following algorithm to choose between them:
> 1. If an native (APR) AJP connector is available, use it.
> 2. If an AJP connector is available, use it.
> 3. Otherwise, choose the HTTP connector with the highest max threads.
> {code}
>
> is this true?
>
> what is the best way to solve our problem?
> {quote}
> During more than 100 views no one answer :'(
> Now we have made a decision to use mod_proxy_balancer, but if it possible to refine mod_cluster subsystem, this will be greate. When it happens, we will jump to mod_cluster again :)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-472) wildfly-mod_cluster integration should load-balance requests on more than one ports
by kostd kostd (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-472?page=com.atlassian.jira.pl... ]
kostd kostd updated MODCLUSTER-472:
-----------------------------------
Priority: Minor (was: Trivial)
> wildfly-mod_cluster integration should load-balance requests on more than one ports
> -----------------------------------------------------------------------------------
>
> Key: MODCLUSTER-472
> URL: https://issues.jboss.org/browse/MODCLUSTER-472
> Project: mod_cluster
> Issue Type: Feature Request
> Components: Core & Container Integration (Java)
> Affects Versions: 1.3.0.Final
> Environment: httpd 2.2
> modcluster 1.3.0
> wildfly 8.2.0.Final
> Reporter: kostd kostd
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Labels: connector, listener, load-balancing, mod_cluster, port, undertow, wildfly
> Attachments: load-balancer-question-scheme.png
>
>
> Earlier I asked on forums https://developer.jboss.org/message/946476#946476
> {quote}
> on our wf8.2 server the web-app have two http endpoints: on port 8080 to regular http requests; and on port 37304 to "special" user requests in protected area.
>
> we want use mod_cluster as load-balancer that balances user requests on both ports. For example(see the pic), lets requests on balancer`s port 7801 will be balance between node1 and node2 on port 8080, and requests on balancer`s port 7802 will be balance on port 37304.
>
> In modcluster-subsystem configuration in standalone.xml we can set only one connector for mod-cluster config. And cannot set more than one mod-cluster-config section:
>
> {code:title=jboss-as-mod-cluster_1_2.xsd}
> <xs:element name="mod-cluster-config" type="mod-cluster-configType" minOccurs="0" maxOccurs="1"/>
> {code}
>
> alternatively, we can use mod_cluster + mod_proxy_balancer or mod_cluster + mod_jk so that mod_cluster balances on 8080 and other tech(mod_proxy_balancer or mod_jk) balances on other port 37304.
> But this decision obviously not good: reverse loopback from servers(mgmt info with loadfactor of server) to balancer will manage balancing only for one port, not for both.
>
> Seems that mod_cluster absolutely not supports more than one connector balancing:
>
> {code:title=http://docs.jboss.org/mod_cluster/1.3.0/pdf/Mod_cluster-UserGuide.pdf}
> Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to
> which to forward web requests. Unlike mod_jk and mod_proxy_balancer, mod_cluster is not
> confined to AJP, but can use HTTP as well. While AJP is generally faster, an HTTP connector
> can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
> mod_cluster uses the following algorithm to choose between them:
> 1. If an native (APR) AJP connector is available, use it.
> 2. If an AJP connector is available, use it.
> 3. Otherwise, choose the HTTP connector with the highest max threads.
> {code}
>
> is this true?
>
> what is the best way to solve our problem?
> {quote}
> During more than 100 views no one answer :'(
> Now we have made a decision to use mod_proxy_balancer, but if it possible to refine mod_cluster subsystem, this will be greate. When it happens, we jump to mod_cluster again :)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-472) wildfly-mod_cluster integration should load-balance requests on more than one ports
by kostd kostd (JIRA)
kostd kostd created MODCLUSTER-472:
--------------------------------------
Summary: wildfly-mod_cluster integration should load-balance requests on more than one ports
Key: MODCLUSTER-472
URL: https://issues.jboss.org/browse/MODCLUSTER-472
Project: mod_cluster
Issue Type: Feature Request
Components: Core & Container Integration (Java)
Affects Versions: 1.3.0.Final
Environment: httpd 2.2
modcluster 1.3.0
wildfly 8.2.0.Final
Reporter: kostd kostd
Assignee: Jean-Frederic Clere
Priority: Trivial
Attachments: load-balancer-question-scheme.png
Earlier I asked on forums https://developer.jboss.org/message/946476#946476
{quote}
on our wf8.2 server the web-app have two http endpoints: on port 8080 to regular http requests; and on port 37304 to "special" user requests in protected area.
we want use mod_cluster as load-balancer that balances user requests on both ports. For example(see the pic), lets requests on balancer`s port 7801 will be balance between node1 and node2 on port 8080, and requests on balancer`s port 7802 will be balance on port 37304.
In modcluster-subsystem configuration in standalone.xml we can set only one connector for mod-cluster config. And cannot set more than one mod-cluster-config section:
{code:title=jboss-as-mod-cluster_1_2.xsd}
<xs:element name="mod-cluster-config" type="mod-cluster-configType" minOccurs="0" maxOccurs="1"/>
{code}
alternatively, we can use mod_cluster + mod_proxy_balancer or mod_cluster + mod_jk so that mod_cluster balances on 8080 and other tech(mod_proxy_balancer or mod_jk) balances on other port 37304.
But this decision obviously not good: reverse loopback from servers(mgmt info with loadfactor of server) to balancer will manage balancing only for one port, not for both.
Seems that mod_cluster absolutely not supports more than one connector balancing:
{code:title=http://docs.jboss.org/mod_cluster/1.3.0/pdf/Mod_cluster-UserGuide.pdf}
Like mod_jk and mod_proxy_balancer, mod_cluster requires a connector in your server.xml to
which to forward web requests. Unlike mod_jk and mod_proxy_balancer, mod_cluster is not
confined to AJP, but can use HTTP as well. While AJP is generally faster, an HTTP connector
can optionally be secured via SSL. If multiple possible connectors are defined in your server.xml,
mod_cluster uses the following algorithm to choose between them:
1. If an native (APR) AJP connector is available, use it.
2. If an AJP connector is available, use it.
3. Otherwise, choose the HTTP connector with the highest max threads.
{code}
is this true?
what is the best way to solve our problem?
{quote}
During more than 100 views no one answer :'(
Now we have made a decision to use mod_proxy_balancer, but if it possible to refine mod_cluster subsystem, this will be greate. When it happens, we jump to mod_cluster again :)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher edited comment on MODCLUSTER-353 at 11/18/15 4:40 AM:
--------------------------------------------------------------------
We have the same problem with Jboss 7.1.1 and Apache 2.4.6 (with modcluster 1.3.1).
{color:blue}
INFO org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler (ContainerBackgroundProcessor (StandardEngine[jboss.web))
IO error sending command CONFIG to proxy <hostname>/<10.1.1.1>:6666
java.net.SocketTimeoutException: Read timed out
{color}
Rest of error is equal.
The JBoss node shows up in the modcluster-manager web-frontend, but without statistic information!
Notice: Screenshot has the original intranet ip starting with 19... - I changed all IP-classes for the description here!
!screenshot-1.png!
was (Author: askkeller):
We have the same problem with Jboss 7.1.1 and Apache 2.4.6 (with modcluster 1.3.1).
{color:blue}
INFO org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler (ContainerBackgroundProcessor (StandardEngine[jboss.web))
IO error sending command CONFIG to proxy <hostname>/<10.1.1.1>:6666
java.net.SocketTimeoutException: Read timed out
{color}
Rest of error is equal.
The JBoss node shows up in the modcluster-manager web-frontend, but without statistic information!
!screenshot-1.png!
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher edited comment on MODCLUSTER-353 at 11/18/15 4:38 AM:
--------------------------------------------------------------------
We have the same problem with Jboss 7.1.1 and Apache 2.4.6 (with modcluster 1.3.1).
{color:blue}
INFO org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler (ContainerBackgroundProcessor (StandardEngine[jboss.web))
IO error sending command CONFIG to proxy <hostname>/<10.1.1.1>:6666
java.net.SocketTimeoutException: Read timed out
{color}
Rest of error is equal.
The JBoss node shows up in the modcluster-manager web-frontend, but without statistic information!
!screenshot-1.png!
was (Author: askkeller):
We have the same problem with Jboss 7.1.1 and Apache 2.4.6 (with modcluster 1.3.1).
{color:blue}
INFO org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler (ContainerBackgroundProcessor (StandardEngine[jboss.web))
IO error sending command CONFIG to proxy <hostname>/<192.X.X.X>:6666
java.net.SocketTimeoutException: Read timed out
{color}
Rest of error is equal.
The JBoss node shows up in the modcluster-manager web-frontend, but without statistic information!
!screenshot-1.png!
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher edited comment on MODCLUSTER-353 at 11/18/15 4:35 AM:
--------------------------------------------------------------------
{code:title=Apache-2.4_modcluster_debug ERROR-Log}
[core:notice] [pid 9269] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[suexec:notice] [pid 9268] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost example.com:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:6666, skipping SSL setup
[ssl:info] [pid 9268] AH01887: Init: Initializing (virtual) servers for SSL
[ssl:info] [pid 9268] AH01876: mod_ssl/2.4.6 compiled against Server: Apache/2.4.6, Library: OpenSSL/1.0.1e
[auth_digest:notice] [pid 9268] AH01757: generating secret for digest authentication ...
[auth_digest:debug] [pid 9268] mod_auth_digest.c(250): AH01759: done
[slotmem_shm:debug] [pid 9268] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[lbmethod_heartbeat:notice] [pid 9268] AH02282: No slotmem from mod_heartmonitor
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(391): AH00821: shmcb_init allocated 512000 bytes of shared memory
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(407): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(440): AH00824: shmcb_init_memory choices follow
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(442): AH00825: subcache_num = 32
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(444): AH00826: subcache_size = 15992
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(446): AH00827: subcache_data_offset = 2128
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(448): AH00828: subcache_data_size = 13864
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(450): AH00829: index_num = 88
[socache_shmcb:info] [pid 9268] AH00830: Shared memory socache initialised
[:notice] [pid 9268] Advertise initialized for process 9268
[mpm_prefork:notice] [pid 9268] AH00163: Apache/2.4.6 (CentOS) mod_cluster/1.3.1.Final OpenSSL/1.0.1e-fips configured -- resuming normal operations
[mpm_prefork:info] [pid 9268] AH00164: Server built: Aug 24 2015 18:11:25
[core:notice] [pid 9268] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:debug] [pid 9268] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[:debug] [pid 9282] mod_proxy_cluster.c(695): add_balancer_node: Create balancer balancer://jb711-dev-cluster
[:debug] [pid 9282] mod_proxy_cluster.c(293): Created: worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9282] proxy_util.c(1835): AH00924: worker ajp://10.1.1.5:8009 shared already initialized
[proxy:debug] [pid 9282] proxy_util.c(1882): AH00927: initializing worker ajp://10.1.1.5:8009 local
[proxy:debug] [pid 9282] proxy_util.c(1933): AH00931: initialized single connection worker in child 9282 for (10.1.1.5)
[reqtimeout:info] [pid 9274] [client 10.1.1.5:41618] AH01382: Request body read timeout
[:debug] [pid 9280] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9281] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9280] mod_manager.c(3038): manager_handler CONFIG OK
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9282] mod_manager.c(2271): manager_trans INFO (/)
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9282] mod_manager.c(2987): manager_handler INFO (/) processing: ""
[:debug] [pid 9282] mod_manager.c(3038): manager_handler INFO OK
[:debug] [pid 9274] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9274] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9271] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9271] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9280] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9271] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9271] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[reqtimeout:info] [pid 9282] [client 10.1.1.5:41630] AH01382: Request body read timeout
[:debug] [pid 9270] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9270] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9270] mod_manager.c(3038): manager_handler CONFIG OK
[proxy:debug] [pid 9272] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[proxy:debug] [pid 9272] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9272] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9274] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9274] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9271] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9272] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
{code}
the access log has theses entries when the jboss error "Read timed out" happens
{code:title=Apache-2.4 ACCESS-Log}
10.1.1.5 - - [18/Nov/2015:10:28:31 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:29:01 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:29:31 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:30:01 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:30:31 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:31:01 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:31:31 +0100] "INFO / HTTP/1.1" 200 230 "-" "ClusterListener/1.0"
10.1.1.5 - - [18/Nov/2015:10:31:51 +0100] "CONFIG / HTTP/1.1" 200 - "-" "ClusterListener/1.0"
...
{code}
and the config
{code:title=Apache-2.4_modcluster_config}
<IfModule manager_module>
Listen 10.1.1.1:6666
Listen 127.0.0.1:6666
ManagerBalancerName jb711-dev-cluster
LogLevel debug
<VirtualHost *:6666>
<Location />
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
#ServerAdvertise on http://@IP@:6666
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
AdvertiseGroup 224.0.1.105:23364
EnableMCPMReceive
ServerAdvertise On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
</VirtualHost>
</IfModule>
{code}
was (Author: askkeller):
{code:title=Apache-2.4_modcluster_debug Log}
[core:notice] [pid 9269] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[suexec:notice] [pid 9268] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost example.com:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:6666, skipping SSL setup
[ssl:info] [pid 9268] AH01887: Init: Initializing (virtual) servers for SSL
[ssl:info] [pid 9268] AH01876: mod_ssl/2.4.6 compiled against Server: Apache/2.4.6, Library: OpenSSL/1.0.1e
[auth_digest:notice] [pid 9268] AH01757: generating secret for digest authentication ...
[auth_digest:debug] [pid 9268] mod_auth_digest.c(250): AH01759: done
[slotmem_shm:debug] [pid 9268] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[lbmethod_heartbeat:notice] [pid 9268] AH02282: No slotmem from mod_heartmonitor
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(391): AH00821: shmcb_init allocated 512000 bytes of shared memory
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(407): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(440): AH00824: shmcb_init_memory choices follow
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(442): AH00825: subcache_num = 32
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(444): AH00826: subcache_size = 15992
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(446): AH00827: subcache_data_offset = 2128
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(448): AH00828: subcache_data_size = 13864
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(450): AH00829: index_num = 88
[socache_shmcb:info] [pid 9268] AH00830: Shared memory socache initialised
[:notice] [pid 9268] Advertise initialized for process 9268
[mpm_prefork:notice] [pid 9268] AH00163: Apache/2.4.6 (CentOS) mod_cluster/1.3.1.Final OpenSSL/1.0.1e-fips configured -- resuming normal operations
[mpm_prefork:info] [pid 9268] AH00164: Server built: Aug 24 2015 18:11:25
[core:notice] [pid 9268] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:debug] [pid 9268] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[:debug] [pid 9282] mod_proxy_cluster.c(695): add_balancer_node: Create balancer balancer://jb711-dev-cluster
[:debug] [pid 9282] mod_proxy_cluster.c(293): Created: worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9282] proxy_util.c(1835): AH00924: worker ajp://10.1.1.5:8009 shared already initialized
[proxy:debug] [pid 9282] proxy_util.c(1882): AH00927: initializing worker ajp://10.1.1.5:8009 local
[proxy:debug] [pid 9282] proxy_util.c(1933): AH00931: initialized single connection worker in child 9282 for (10.1.1.5)
[reqtimeout:info] [pid 9274] [client 10.1.1.5:41618] AH01382: Request body read timeout
[:debug] [pid 9280] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9281] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9280] mod_manager.c(3038): manager_handler CONFIG OK
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9282] mod_manager.c(2271): manager_trans INFO (/)
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9282] mod_manager.c(2987): manager_handler INFO (/) processing: ""
[:debug] [pid 9282] mod_manager.c(3038): manager_handler INFO OK
[:debug] [pid 9274] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9274] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9271] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9271] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9280] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9271] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9271] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[reqtimeout:info] [pid 9282] [client 10.1.1.5:41630] AH01382: Request body read timeout
[:debug] [pid 9270] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9270] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9270] mod_manager.c(3038): manager_handler CONFIG OK
[proxy:debug] [pid 9272] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[proxy:debug] [pid 9272] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9272] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9274] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9274] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9271] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9272] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
{code}
and the config
{code:title=Apache-2.4_modcluster_config}
<IfModule manager_module>
Listen 10.1.1.1:6666
Listen 127.0.0.1:6666
ManagerBalancerName jb711-dev-cluster
LogLevel debug
<VirtualHost *:6666>
<Location />
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
#ServerAdvertise on http://@IP@:6666
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
AdvertiseGroup 224.0.1.105:23364
EnableMCPMReceive
ServerAdvertise On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
</VirtualHost>
</IfModule>
{code}
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher edited comment on MODCLUSTER-353 at 11/18/15 4:27 AM:
--------------------------------------------------------------------
{code:title=Apache-2.4_modcluster_debug Log}
[core:notice] [pid 9269] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[suexec:notice] [pid 9268] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost example.com:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:6666, skipping SSL setup
[ssl:info] [pid 9268] AH01887: Init: Initializing (virtual) servers for SSL
[ssl:info] [pid 9268] AH01876: mod_ssl/2.4.6 compiled against Server: Apache/2.4.6, Library: OpenSSL/1.0.1e
[auth_digest:notice] [pid 9268] AH01757: generating secret for digest authentication ...
[auth_digest:debug] [pid 9268] mod_auth_digest.c(250): AH01759: done
[slotmem_shm:debug] [pid 9268] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[lbmethod_heartbeat:notice] [pid 9268] AH02282: No slotmem from mod_heartmonitor
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(391): AH00821: shmcb_init allocated 512000 bytes of shared memory
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(407): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(440): AH00824: shmcb_init_memory choices follow
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(442): AH00825: subcache_num = 32
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(444): AH00826: subcache_size = 15992
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(446): AH00827: subcache_data_offset = 2128
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(448): AH00828: subcache_data_size = 13864
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(450): AH00829: index_num = 88
[socache_shmcb:info] [pid 9268] AH00830: Shared memory socache initialised
[:notice] [pid 9268] Advertise initialized for process 9268
[mpm_prefork:notice] [pid 9268] AH00163: Apache/2.4.6 (CentOS) mod_cluster/1.3.1.Final OpenSSL/1.0.1e-fips configured -- resuming normal operations
[mpm_prefork:info] [pid 9268] AH00164: Server built: Aug 24 2015 18:11:25
[core:notice] [pid 9268] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:debug] [pid 9268] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[:debug] [pid 9282] mod_proxy_cluster.c(695): add_balancer_node: Create balancer balancer://jb711-dev-cluster
[:debug] [pid 9282] mod_proxy_cluster.c(293): Created: worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9282] proxy_util.c(1835): AH00924: worker ajp://10.1.1.5:8009 shared already initialized
[proxy:debug] [pid 9282] proxy_util.c(1882): AH00927: initializing worker ajp://10.1.1.5:8009 local
[proxy:debug] [pid 9282] proxy_util.c(1933): AH00931: initialized single connection worker in child 9282 for (10.1.1.5)
[reqtimeout:info] [pid 9274] [client 10.1.1.5:41618] AH01382: Request body read timeout
[:debug] [pid 9280] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9281] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9280] mod_manager.c(3038): manager_handler CONFIG OK
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9282] mod_manager.c(2271): manager_trans INFO (/)
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9282] mod_manager.c(2987): manager_handler INFO (/) processing: ""
[:debug] [pid 9282] mod_manager.c(3038): manager_handler INFO OK
[:debug] [pid 9274] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9274] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9271] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9271] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9280] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9271] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9271] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[reqtimeout:info] [pid 9282] [client 10.1.1.5:41630] AH01382: Request body read timeout
[:debug] [pid 9270] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9270] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9270] mod_manager.c(3038): manager_handler CONFIG OK
[proxy:debug] [pid 9272] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[proxy:debug] [pid 9272] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9272] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9274] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9274] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9271] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9272] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
{code}
and the config
{code:title=Apache-2.4_modcluster_config}
<IfModule manager_module>
Listen 10.1.1.1:6666
Listen 127.0.0.1:6666
ManagerBalancerName jb711-dev-cluster
LogLevel debug
<VirtualHost *:6666>
<Location />
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
#ServerAdvertise on http://@IP@:6666
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
AdvertiseGroup 224.0.1.105:23364
EnableMCPMReceive
ServerAdvertise On
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Require local
Require ip 10.1.1
Require ip 10.1.10
Require ip 10.1.0
</Location>
</VirtualHost>
</IfModule>
{code}
was (Author: askkeller):
{code:title=Apache-2.4_modcluster_debug Log}
[core:notice] [pid 9269] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[suexec:notice] [pid 9268] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost example.com:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:6666, skipping SSL setup
[ssl:info] [pid 9268] AH01887: Init: Initializing (virtual) servers for SSL
[ssl:info] [pid 9268] AH01876: mod_ssl/2.4.6 compiled against Server: Apache/2.4.6, Library: OpenSSL/1.0.1e
[auth_digest:notice] [pid 9268] AH01757: generating secret for digest authentication ...
[auth_digest:debug] [pid 9268] mod_auth_digest.c(250): AH01759: done
[slotmem_shm:debug] [pid 9268] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[lbmethod_heartbeat:notice] [pid 9268] AH02282: No slotmem from mod_heartmonitor
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(391): AH00821: shmcb_init allocated 512000 bytes of shared memory
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(407): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(440): AH00824: shmcb_init_memory choices follow
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(442): AH00825: subcache_num = 32
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(444): AH00826: subcache_size = 15992
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(446): AH00827: subcache_data_offset = 2128
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(448): AH00828: subcache_data_size = 13864
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(450): AH00829: index_num = 88
[socache_shmcb:info] [pid 9268] AH00830: Shared memory socache initialised
[:notice] [pid 9268] Advertise initialized for process 9268
[mpm_prefork:notice] [pid 9268] AH00163: Apache/2.4.6 (CentOS) mod_cluster/1.3.1.Final OpenSSL/1.0.1e-fips configured -- resuming normal operations
[mpm_prefork:info] [pid 9268] AH00164: Server built: Aug 24 2015 18:11:25
[core:notice] [pid 9268] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:debug] [pid 9268] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[:debug] [pid 9282] mod_proxy_cluster.c(695): add_balancer_node: Create balancer balancer://jb711-dev-cluster
[:debug] [pid 9282] mod_proxy_cluster.c(293): Created: worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9282] proxy_util.c(1835): AH00924: worker ajp://10.1.1.5:8009 shared already initialized
[proxy:debug] [pid 9282] proxy_util.c(1882): AH00927: initializing worker ajp://10.1.1.5:8009 local
[proxy:debug] [pid 9282] proxy_util.c(1933): AH00931: initialized single connection worker in child 9282 for (10.1.1.5)
[reqtimeout:info] [pid 9274] [client 10.1.1.5:41618] AH01382: Request body read timeout
[:debug] [pid 9280] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9281] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9280] mod_manager.c(3038): manager_handler CONFIG OK
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9282] mod_manager.c(2271): manager_trans INFO (/)
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9282] mod_manager.c(2987): manager_handler INFO (/) processing: ""
[:debug] [pid 9282] mod_manager.c(3038): manager_handler INFO OK
[:debug] [pid 9274] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9274] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9271] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9271] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9280] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9271] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9271] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[reqtimeout:info] [pid 9282] [client 10.1.1.5:41630] AH01382: Request body read timeout
[:debug] [pid 9270] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9270] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9270] mod_manager.c(3038): manager_handler CONFIG OK
[proxy:debug] [pid 9272] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[proxy:debug] [pid 9272] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9272] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9274] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9274] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9271] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9272] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
{code}
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher commented on MODCLUSTER-353:
------------------------------------------
{code:title=Apache-2.4_modcluster_debug Log}
[core:notice] [pid 9269] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[suexec:notice] [pid 9268] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost example.com:80, skipping SSL setup
[ssl:debug] [pid 9268] ssl_engine_pphrase.c(181): AH02199: SSL not enabled on vhost xxx.xxx.xxx:6666, skipping SSL setup
[ssl:info] [pid 9268] AH01887: Init: Initializing (virtual) servers for SSL
[ssl:info] [pid 9268] AH01876: mod_ssl/2.4.6 compiled against Server: Apache/2.4.6, Library: OpenSSL/1.0.1e
[auth_digest:notice] [pid 9268] AH01757: generating secret for digest authentication ...
[auth_digest:debug] [pid 9268] mod_auth_digest.c(250): AH01759: done
[slotmem_shm:debug] [pid 9268] mod_slotmem_shm.c(448): AH02301: attach looking for /run/httpd/slotmem-shm-mod_heartmonitor.shm
[lbmethod_heartbeat:notice] [pid 9268] AH02282: No slotmem from mod_heartmonitor
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(391): AH00821: shmcb_init allocated 512000 bytes of shared memory
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(407): AH00822: for 511912 bytes (512000 including header), recommending 32 subcaches, 88 indexes each
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(440): AH00824: shmcb_init_memory choices follow
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(442): AH00825: subcache_num = 32
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(444): AH00826: subcache_size = 15992
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(446): AH00827: subcache_data_offset = 2128
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(448): AH00828: subcache_data_size = 13864
[socache_shmcb:debug] [pid 9268] mod_socache_shmcb.c(450): AH00829: index_num = 88
[socache_shmcb:info] [pid 9268] AH00830: Shared memory socache initialised
[:notice] [pid 9268] Advertise initialized for process 9268
[mpm_prefork:notice] [pid 9268] AH00163: Apache/2.4.6 (CentOS) mod_cluster/1.3.1.Final OpenSSL/1.0.1e-fips configured -- resuming normal operations
[mpm_prefork:info] [pid 9268] AH00164: Server built: Aug 24 2015 18:11:25
[core:notice] [pid 9268] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[mpm_prefork:debug] [pid 9268] prefork.c(1005): AH00165: Accept mutex: sysvsem (default: sysvsem)
[:debug] [pid 9282] mod_proxy_cluster.c(695): add_balancer_node: Create balancer balancer://jb711-dev-cluster
[:debug] [pid 9282] mod_proxy_cluster.c(293): Created: worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9282] proxy_util.c(1835): AH00924: worker ajp://10.1.1.5:8009 shared already initialized
[proxy:debug] [pid 9282] proxy_util.c(1882): AH00927: initializing worker ajp://10.1.1.5:8009 local
[proxy:debug] [pid 9282] proxy_util.c(1933): AH00931: initialized single connection worker in child 9282 for (10.1.1.5)
[reqtimeout:info] [pid 9274] [client 10.1.1.5:41618] AH01382: Request body read timeout
[:debug] [pid 9280] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9280] mod_authz_core.c(809): [client 10.1.1.5:41622] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9281] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9280] mod_manager.c(3038): manager_handler CONFIG OK
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9282] mod_manager.c(2271): manager_trans INFO (/)
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9282] mod_authz_core.c(809): [client 10.1.1.5:41630] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9282] mod_manager.c(2987): manager_handler INFO (/) processing: ""
[:debug] [pid 9282] mod_manager.c(3038): manager_handler INFO OK
[:debug] [pid 9274] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9274] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9271] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[proxy:debug] [pid 9280] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[proxy:debug] [pid 9280] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[proxy:debug] [pid 9271] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9271] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9280] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9280] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9271] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9271] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[reqtimeout:info] [pid 9282] [client 10.1.1.5:41630] AH01382: Request body read timeout
[:debug] [pid 9270] mod_manager.c(2271): manager_trans CONFIG (/)
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require local : denied
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of Require ip 10.1.1: granted
[authz_core:debug] [pid 9270] mod_authz_core.c(809): [client 10.1.1.5:41633] AH01626: authorization result of <RequireAny>: granted
[:debug] [pid 9270] mod_manager.c(2987): manager_handler CONFIG (/) processing: "JVMRoute=jboss711-standalone-node1&Host=10.1.1.5&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"
[:debug] [pid 9270] mod_manager.c(3038): manager_handler CONFIG OK
[proxy:debug] [pid 9272] proxy_util.c(2200): AH00942: ajp: has acquired connection for (10.1.1.5)
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9280] mod_proxy_cluster.c(1054): update_workers_node starting
[proxy:debug] [pid 9272] proxy_util.c(2253): [remote (null):0] AH00944: connecting ajp://10.1.1.5:8009/ to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[proxy:debug] [pid 9272] proxy_util.c(2419): [remote (null):0] AH00947: connected / to 10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9280] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1413): proxy_cluster_try_pingpong: connected to backend
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9274] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9270] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9274] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9270] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9271] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9271] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9273] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9273] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1130): ajp_cping_cpong: Done
[proxy:debug] [pid 9272] proxy_util.c(2215): AH00943: ajp: has released connection for (10.1.1.5)
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
[:debug] [pid 9272] mod_proxy_cluster.c(1054): update_workers_node starting
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(317): Created: reusing worker for ajp://10.1.1.5:8009
[:debug] [pid 9272] mod_proxy_cluster.c(1066): update_workers_node done
{code}
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Michal Karm Babacek (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Michal Karm Babacek commented on MODCLUSTER-353:
------------------------------------------------
Could you attach Apache HTTP Server error_log on LogLevel Debug?
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (MODCLUSTER-353) SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
by Markus Locher (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-353?page=com.atlassian.jira.pl... ]
Markus Locher commented on MODCLUSTER-353:
------------------------------------------
We have the same problem with Jboss 7.1.1 and Apache 2.4.6 (with modcluster 1.3.1).
{color:blue}
INFO org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler (ContainerBackgroundProcessor (StandardEngine[jboss.web))
IO error sending command CONFIG to proxy <hostname>/<192.X.X.X>:6666
java.net.SocketTimeoutException: Read timed out
{color}
Rest of error is equal.
The JBoss node shows up in the modcluster-manager web-frontend, but without statistic information!
!screenshot-1.png!
> SocketTimeoutException in DefaultMCMPHandler when using httpd 2.4.x
> -------------------------------------------------------------------
>
> Key: MODCLUSTER-353
> URL: https://issues.jboss.org/browse/MODCLUSTER-353
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.2.1.Final
> Environment: httpd-2.4.6 and mod_cluster-1.2.1.Final and above
> Reporter: Marco Danti
> Assignee: Jean-Frederic Clere
> Attachments: screenshot-1.png
>
>
> After upgrading a web server from Apache 2.2.x (with mod_cluster 1.2.0) to Apache 2.4.6 (with mod_cluster 1.2.1.Final), when I bring up JBoss (7.2.0.Final) I start seeing repeated errors like the following:
>
> 14:45:36,777 INFO [org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IO error sending command CONFIG to proxy stw-1.priv.softeco.it/172.16.0.133:6666: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:150) [rt.jar:1.7.0_21]
> at java.net.SocketInputStream.read(SocketInputStream.java:121) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) [rt.jar:1.7.0_21]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_21]
> at java.io.InputStreamReader.read(InputStreamReader.java:184) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_21]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_21]
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:670)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequests(DefaultMCMPHandler.java:437)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:385)
> at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:349)
> at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:468)
> at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:244)
> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years