[JBoss JIRA] (MODCLUSTER-376) multiple workers with the same id following a tomcat crash/kill
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-376?page=com.atlassian.jira.pl... ]
Radoslav Husar commented on MODCLUSTER-376:
-------------------------------------------
Missing upstream, I have added a label for now...
> multiple workers with the same id following a tomcat crash/kill
> ---------------------------------------------------------------
>
> Key: MODCLUSTER-376
> URL: https://issues.jboss.org/browse/MODCLUSTER-376
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.0.10, 1.2.11.Final
> Environment: -JBoss Enterprise Web Server 1.0.2
> -mod_cluster 1.0.10.GA_CP04
> -Red Hat Enterprise Linux 5
> Reporter: Aaron Ogburn
> Assignee: Michal Karm Babacek
> Labels: missing_upstream
> Fix For: 1.2.13.Final
>
> Attachments: 131122.patch
>
>
> Following a kill or crash of tomcat, multiple workers are seen for a single id when a new tomcat node reconnects and reuses the id from the previously crashed worker.
> The STATUS's ping check sees the old crashed worker first for the id and so pings the wrong destination. Thus the ping fails, and load factor is not applied. The persistent -1 load state leads to 503s.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-376) multiple workers with the same id following a tomcat crash/kill
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-376?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-376:
--------------------------------------
Labels: missing_upstream (was: )
> multiple workers with the same id following a tomcat crash/kill
> ---------------------------------------------------------------
>
> Key: MODCLUSTER-376
> URL: https://issues.jboss.org/browse/MODCLUSTER-376
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.0.10, 1.2.11.Final
> Environment: -JBoss Enterprise Web Server 1.0.2
> -mod_cluster 1.0.10.GA_CP04
> -Red Hat Enterprise Linux 5
> Reporter: Aaron Ogburn
> Assignee: Michal Karm Babacek
> Labels: missing_upstream
> Fix For: 1.2.13.Final
>
> Attachments: 131122.patch
>
>
> Following a kill or crash of tomcat, multiple workers are seen for a single id when a new tomcat node reconnects and reuses the id from the previously crashed worker.
> The STATUS's ping check sees the old crashed worker first for the id and so pings the wrong destination. Thus the ping fails, and load factor is not applied. The persistent -1 load state leads to 503s.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-376) multiple workers with the same id following a tomcat crash/kill
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-376?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-376:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Merged.
> multiple workers with the same id following a tomcat crash/kill
> ---------------------------------------------------------------
>
> Key: MODCLUSTER-376
> URL: https://issues.jboss.org/browse/MODCLUSTER-376
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.0.10, 1.2.11.Final
> Environment: -JBoss Enterprise Web Server 1.0.2
> -mod_cluster 1.0.10.GA_CP04
> -Red Hat Enterprise Linux 5
> Reporter: Aaron Ogburn
> Assignee: Michal Karm Babacek
> Fix For: 1.2.13.Final
>
> Attachments: 131122.patch
>
>
> Following a kill or crash of tomcat, multiple workers are seen for a single id when a new tomcat node reconnects and reuses the id from the previously crashed worker.
> The STATUS's ping check sees the old crashed worker first for the id and so pings the wrong destination. Thus the ping fails, and load factor is not applied. The persistent -1 load state leads to 503s.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-521) Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
by Jean-Frederic Clere (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-521?page=com.atlassian.jira.pl... ]
Jean-Frederic Clere updated MODCLUSTER-521:
-------------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/modcluster/mod_cluster/pull/202
> Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
> ------------------------------------------------------------------
>
> Key: MODCLUSTER-521
> URL: https://issues.jboss.org/browse/MODCLUSTER-521
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.2.13.Final
> Environment: Windows
> Reporter: Michal Karm Babacek
> Assignee: Jean-Frederic Clere
> Priority: Critical
>
> {code}
> mod_proxy_cluster.c
> .\mod_proxy_cluster.c(1515) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2062) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2336) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2337) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3035) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3174) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3196) : error C2275: 'proxy_context_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(108) : see declaration of 'proxy_context_table'
> .\mod_proxy_cluster.c(3196) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3197) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_context_table *'
> .\mod_proxy_cluster.c(3200) : error C2275: 'proxy_balancer_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(127) : see declaration of 'proxy_balancer_table'
> .\mod_proxy_cluster.c(3200) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3201) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_balancer_table *'
> .\mod_proxy_cluster.c(3204) : error C2275: 'proxy_node_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(136) : see declaration of 'proxy_node_table'
> .\mod_proxy_cluster.c(3204) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3205) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_node_table *'
> .\mod_proxy_cluster.c(3208) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_context_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 4
> .\mod_proxy_cluster.c(3208) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_balancer_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 5
> .\mod_proxy_cluster.c(3208) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_node_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 6
> NMAKE : fatal error U1077: 'C:\cmsc\msvc\bin\amd64\cl.EXE' : return code '0x2'
> Stop.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-521) Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
by Michal Karm Babacek (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-521?page=com.atlassian.jira.pl... ]
Michal Karm Babacek reassigned MODCLUSTER-521:
----------------------------------------------
Assignee: Jean-Frederic Clere (was: Michal Karm Babacek)
> Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
> ------------------------------------------------------------------
>
> Key: MODCLUSTER-521
> URL: https://issues.jboss.org/browse/MODCLUSTER-521
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.2.13.Final
> Environment: Windows
> Reporter: Michal Karm Babacek
> Assignee: Jean-Frederic Clere
> Priority: Critical
>
> {code}
> mod_proxy_cluster.c
> .\mod_proxy_cluster.c(1515) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2062) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2336) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2337) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3035) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3174) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3196) : error C2275: 'proxy_context_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(108) : see declaration of 'proxy_context_table'
> .\mod_proxy_cluster.c(3196) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3197) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_context_table *'
> .\mod_proxy_cluster.c(3200) : error C2275: 'proxy_balancer_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(127) : see declaration of 'proxy_balancer_table'
> .\mod_proxy_cluster.c(3200) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3201) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_balancer_table *'
> .\mod_proxy_cluster.c(3204) : error C2275: 'proxy_node_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(136) : see declaration of 'proxy_node_table'
> .\mod_proxy_cluster.c(3204) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3205) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_node_table *'
> .\mod_proxy_cluster.c(3208) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_context_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 4
> .\mod_proxy_cluster.c(3208) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_balancer_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 5
> .\mod_proxy_cluster.c(3208) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_node_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 6
> NMAKE : fatal error U1077: 'C:\cmsc\msvc\bin\amd64\cl.EXE' : return code '0x2'
> Stop.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-521) Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
by Michal Karm Babacek (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-521?page=com.atlassian.jira.pl... ]
Michal Karm Babacek updated MODCLUSTER-521:
-------------------------------------------
Priority: Critical (was: Major)
> Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
> ------------------------------------------------------------------
>
> Key: MODCLUSTER-521
> URL: https://issues.jboss.org/browse/MODCLUSTER-521
> Project: mod_cluster
> Issue Type: Bug
> Components: Native (httpd modules)
> Affects Versions: 1.2.13.Final
> Environment: Windows
> Reporter: Michal Karm Babacek
> Assignee: Michal Karm Babacek
> Priority: Critical
>
> {code}
> mod_proxy_cluster.c
> .\mod_proxy_cluster.c(1515) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2062) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2336) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(2337) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3035) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3174) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
> .\mod_proxy_cluster.c(3196) : error C2275: 'proxy_context_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(108) : see declaration of 'proxy_context_table'
> .\mod_proxy_cluster.c(3196) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3197) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3198) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_context_table *'
> .\mod_proxy_cluster.c(3200) : error C2275: 'proxy_balancer_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(127) : see declaration of 'proxy_balancer_table'
> .\mod_proxy_cluster.c(3200) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3201) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3202) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_balancer_table *'
> .\mod_proxy_cluster.c(3204) : error C2275: 'proxy_node_table' : illegal use of this type as an expression
> .\mod_proxy_cluster.c(136) : see declaration of 'proxy_node_table'
> .\mod_proxy_cluster.c(3204) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3205) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3206) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_node_table *'
> .\mod_proxy_cluster.c(3208) : error C2065: 'context_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_context_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 4
> .\mod_proxy_cluster.c(3208) : error C2065: 'balancer_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_balancer_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 5
> .\mod_proxy_cluster.c(3208) : error C2065: 'node_table' : undeclared identifier
> .\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_node_table *' differs in levels of indirection from 'int'
> .\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 6
> NMAKE : fatal error U1077: 'C:\cmsc\msvc\bin\amd64\cl.EXE' : return code '0x2'
> Stop.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months
[JBoss JIRA] (MODCLUSTER-521) Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
by Michal Karm Babacek (JIRA)
Michal Karm Babacek created MODCLUSTER-521:
----------------------------------------------
Summary: Old MSVC doesn't compile current 1.2.x codebase: mod_proxy_cluster
Key: MODCLUSTER-521
URL: https://issues.jboss.org/browse/MODCLUSTER-521
Project: mod_cluster
Issue Type: Bug
Components: Native (httpd modules)
Affects Versions: 1.2.13.Final
Environment: Windows
Reporter: Michal Karm Babacek
Assignee: Michal Karm Babacek
{code}
mod_proxy_cluster.c
.\mod_proxy_cluster.c(1515) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(2062) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(2336) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(2337) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(3035) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
.\mod_proxy_cluster.c(3174) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(3196) : error C2275: 'proxy_context_table' : illegal use of this type as an expression
.\mod_proxy_cluster.c(108) : see declaration of 'proxy_context_table'
.\mod_proxy_cluster.c(3196) : error C2065: 'context_table' : undeclared identifier
.\mod_proxy_cluster.c(3197) : error C2065: 'context_table' : undeclared identifier
.\mod_proxy_cluster.c(3198) : error C2065: 'context_table' : undeclared identifier
.\mod_proxy_cluster.c(3198) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_context_table *'
.\mod_proxy_cluster.c(3200) : error C2275: 'proxy_balancer_table' : illegal use of this type as an expression
.\mod_proxy_cluster.c(127) : see declaration of 'proxy_balancer_table'
.\mod_proxy_cluster.c(3200) : error C2065: 'balancer_table' : undeclared identifier
.\mod_proxy_cluster.c(3201) : error C2065: 'balancer_table' : undeclared identifier
.\mod_proxy_cluster.c(3202) : error C2065: 'balancer_table' : undeclared identifier
.\mod_proxy_cluster.c(3202) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_balancer_table *'
.\mod_proxy_cluster.c(3204) : error C2275: 'proxy_node_table' : illegal use of this type as an expression
.\mod_proxy_cluster.c(136) : see declaration of 'proxy_node_table'
.\mod_proxy_cluster.c(3204) : error C2065: 'node_table' : undeclared identifier
.\mod_proxy_cluster.c(3205) : error C2065: 'node_table' : undeclared identifier
.\mod_proxy_cluster.c(3206) : error C2065: 'node_table' : undeclared identifier
.\mod_proxy_cluster.c(3206) : warning C4047: '=' : 'int' differs in levels of indirection from 'proxy_node_table *'
.\mod_proxy_cluster.c(3208) : error C2065: 'context_table' : undeclared identifier
.\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_context_table *' differs in levels of indirection from 'int'
.\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 4
.\mod_proxy_cluster.c(3208) : error C2065: 'balancer_table' : undeclared identifier
.\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_balancer_table *' differs in levels of indirection from 'int'
.\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 5
.\mod_proxy_cluster.c(3208) : error C2065: 'node_table' : undeclared identifier
.\mod_proxy_cluster.c(3208) : warning C4047: 'function' : 'proxy_node_table *' differs in levels of indirection from 'int'
.\mod_proxy_cluster.c(3208) : warning C4024: 'get_route_balancer' : different types for formal and actual parameter 6
NMAKE : fatal error U1077: 'C:\cmsc\msvc\bin\amd64\cl.EXE' : return code '0x2'
Stop.
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 8 months