Opened 7 years ago

Last modified 7 years ago

#4569 new defect

Load balancer statistics doesn't collect average time

Reported by: Krunoslav Owned by:
Priority: major Component: Loadbalancer
Severity: medium Keywords:
Cc: Sensitive: no




Issue Description

Load balancer statistics doesn't collect average response time

When the issue occurs


How the issue is reproducable

I have two cccam readers, and load balance turned on (mode 1). Loadbalancer doesn't work (it always make request on both readers).

In stats file there are lot of lines like this:


And on web interfeace -> Readers -> Show LB statistics, in column Avg-time there are only 99999 and last time column is empty.

And in log:

(stat) loadbalancer: reader reader1 lbvalue = 99999 (time-avg 99999)

So average time is always 99999 and therefore load balancing doesn't work.

In log (ecm) I see response time in miliseconds, but for some reason load balancer stats don't collect them.

Change History (2)

comment:1 by basta, 7 years ago

Pretty sure you missconfigured oscam, or your reader are not responding, timeout offline etc...

comment:2 by Krunoslav, 7 years ago


Now I see that this happens only when using cacheex, i.e. when there is

cacheex = 1

in reader config.
If I remove cacheex=1 from reader, then it works fine. Are those two settings somehow connected?

Note: See TracTickets for help on using tickets.