Project

General

Profile

Actions

Bug #1135

closed

proxy-core.pool_size is bigger than requests count

Added by qhy over 17 years ago. Updated over 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

Description

'''configfile:'''[BR]


server.modules = (
        "mod_status",
        "mod_proxy_core",
        "mod_proxy_backend_http" 
)
proxy-core.allow-x-rewrite = "enable" 
proxy-core.backends = ( "218.30.119.242")

$HTTP["host"] == "218.30.119.246" {
        proxy-core.backends = ( "218.30.119.246")
}

$HTTP["host"] == "218.30.119.244" {
        proxy-core.backends = ( "218.30.119.244")
}

$HTTP["host"] == "218.30.119.243" {
        proxy-core.backends = ( "218.30.119.243")
}

lighty at 218.30.119.242

uses mod_magent, rewrite request to one of 218.30.119.243~246 as below:


Location: http://218.30.119.243/request.flv
X-Rewrite-Host: 218.30.119.243
X-Rewrite-URI: /request.flv
X-Rewrite-Backend: 218.30.119.243
Content-Length: 0
Connection: close
Date: Sun, 22 Apr 2007 09:35:08 GMT
Server: lighttpd/1.5.0

'''lighty 's status:'''[BR]


proxy-core.0.backends."218.30.119.242".load: 1
proxy-core.0.backends."218.30.119.242".pool_size: 2
proxy-core.0.backends."218.30.119.242".requests: 147
proxy-core.0.backends."218.30.119.242".requests_failed: 0
proxy-core.0.backlogged: 0
proxy-core.1.backends."218.30.119.246".load: 19
proxy-core.1.backends."218.30.119.246".pool_size: 40
proxy-core.1.backends."218.30.119.246".requests: 21
proxy-core.1.backends."218.30.119.246".requests_failed: 0
proxy-core.1.backlogged: 0
proxy-core.2.backends."218.30.119.244".load: 12
proxy-core.2.backends."218.30.119.244".pool_size: 22
proxy-core.2.backends."218.30.119.244".requests: 10
proxy-core.2.backends."218.30.119.244".requests_failed: 0
proxy-core.2.backlogged: 0
proxy-core.3.backends."218.30.119.243".load: 11
proxy-core.3.backends."218.30.119.243".pool_size: 18
proxy-core.3.backends."218.30.119.243".requests: 7
proxy-core.3.backends."218.30.119.243".requests_failed: 0
proxy-core.3.backlogged: 0
proxy-core.4.backends."218.30.119.245".load: 12
proxy-core.4.backends."218.30.119.245".pool_size: 17
proxy-core.4.backends."218.30.119.245".requests: 5
proxy-core.4.backends."218.30.119.245".requests_failed: 0
proxy-core.4.backlogged: 0
proxy-core.requests: 190

'''question:'''[BR]
218.30.119.243~246's pool_size are all bigger than request count, it's strange


Files

mod_proxy_core.status.patch (1.96 KB) mod_proxy_core.status.patch patch to fix mod_proxy_core status, makes it easier to understand qhy, 2007-04-24 03:57
Actions #1

Updated by gstrauss over 8 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
Actions #2

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom