Article delegate-en/4659 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4655@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Process control
18 Nov 2009 20:12:38 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4655@delegate-en.ML_> on 11/18/09(20:29:54)
you Sebastien Barbereau <pzaiqbdyi-hugik5q725xr.ml@ml.delegate.org> wrote:
 |I did put my delegate server in production this morning and the result
 |was a very 'slow' web browsing experience for users.
...
 |My initial configuration was as follow:
 |======================
 |DGROOT=/delegated/delegate
...
 |MAXIMA=conpch:64
 |======================
 |
 |I suspected that my MAXIMA value was incorrect. So I changed it to
 |"MAXIMA=conpch:64,delegated:256" and it seems to have resolved the
 |problem. Now logs show:
 |11/18 09:36:20.68 [25577] 163+0: MAX_DELEGATE: MAXIMA=delegated:64 <= 64 - 0
 |11/18 09:36:20.69 [25577] 163+0: #{TR}# MAX_DELEGATE=64 < children=64+0
 |....
 |
 |Of course now I am wondering if I misunderstood the meaning of "conpch:
 |max. number of connections at a time per client host ." and "delegated:
 |max. number of DeleGate processes runnable at a time".

Your understanding is right.

 |Could you provide me some clarifications on there meaning and that of
 |the log lines MAX_DELEGATE?

To avoid serious result on memory exhaustion by overloading, DeleGate
tries automatic adjusting of the value of MAXIMA=delegated based on
the estimated size of free memory.  See your logfile as follows:

  % grep -e MAXIMA=delegated -e MAX_DELEGATE your-log-file

For example, it is adjuested to MAXIMA=delegated:20 on my poor Linux box:
  ...
  11/19 05:03:55.00 [19775] 0+0: arg[3] SERVER=http
  11/19 05:03:55.00 [19775] 0+0: arg[4] MAXIMA=delegated:256
  ...
  11/19 05:03:55.01 [19775] 0+0: --INITIALIZATION DONE-09111905+0900: 9.9.6-pre4 on Linux/2.4.2-2--
  ...
  11/19 05:04:40.47 [19775] 0+0: MAXIMA=delegated:20 <-16, 96 <-80 (129 <-125)

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V