Bug 545793
| Summary: | ipvsadm connection counters reporting zero | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Robin Bowes <robin.bowes> |
| Component: | kernel | Assignee: | Jiri Pirko <jpirko> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.4 | CC: | cluster-maint, jolsa, jpirko, nhorman, rkhan, tgraf, uwe.knop |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-10 12:59:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robin Bowes
2009-12-09 11:43:38 UTC
(In reply to comment #0) I was trying to reproduce problem on RHEL 5.5 unsuccessfully. Can you please send: - Which scheduler are you using? - what type of LVS you are using (NAT/DR/Tunnel)? - are you able to reproduce issue on RHEL 5.5 (CentOS 5.5)? If you are able to reproduce issue, can you please take a look to /proc/net/ip_vs_stats and see what content is there? Because if there will be 0 in Conns/s column, it is kernel issue and we can safely reassign bug to kernel. Honza I've since upgraded to 5.5 and see the same issue. Here's some output with this ab command running: ab -n 1000000 -c 10 "http://xxx.xxx.xxx.xx/counter.php?sc_project=5336943&security=65b9268f" # cat /proc/net/ip_vs_stats Total Incoming Outgoing Incoming Outgoing Conns Packets Packets Bytes Bytes 7175 2930AB 0 D09459F 0 Conns/s Pkts/s Pkts/s Bytes/s Bytes/s 0 5758 0 1BA2BE 0 # ipvsadm --list --rate IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port CPS InPPS OutPPS InBPS OutBPS -> RemoteAddress:Port TCP xxx.xxx.xxx.xx:http 0 22390 0 1813591 0 -> a009:http 0 1318 0 106728 0 -> a017:http 0 1317 0 106653 0 -> a011:http 0 1317 0 106695 0 -> a040:http 0 1317 0 106689 0 -> a038:http 0 1317 0 106705 0 -> a042:http 0 1317 0 106713 0 -> a036:http 0 1318 0 106736 0 -> a031:http 0 1318 0 106734 0 -> a029:http 0 1317 0 106702 0 -> a027:http 0 1317 0 106651 0 -> a023:http 0 1318 0 106727 0 -> a025:http 0 1316 0 106598 0 -> a021:http 0 1316 0 106621 0 -> a015:http 0 1318 0 106719 0 -> a019:http 0 1317 0 106644 0 -> a013:http 0 1316 0 106615 0 -> a007:http 0 1317 0 106661 0 Strangely, I have another server with the same config that appears to be working OK and handling up to 10k connections/sec. Output from that machine, with live traffic, is as follows: # cat /proc/net/ip_vs_stats Total Incoming Outgoing Incoming Outgoing Conns Packets Packets Bytes Bytes FF0DFDA 5811F880 0 515ABA2BFB 0 Conns/s Pkts/s Pkts/s Bytes/s Bytes/s 1BD8 988D 0 8BB3A5 0 # ipvsadm --list --rate IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port CPS InPPS OutPPS InBPS OutBPS -> RemoteAddress:Port TCP xx.xxx.xx.xx:http 7230 39499 0 9291717 0 -> b036:http 365 2012 0 473402 0 -> b040:http 420 2200 0 516896 0 -> b042:http 315 1713 0 398149 0 -> b038:http 406 2307 0 540885 0 -> b031:http 513 2898 0 690224 0 -> b029:http 512 2639 0 608223 0 -> b027:http 240 1373 0 326439 0 -> b013:http 510 2805 0 671695 0 -> b022:http 505 2786 0 661684 0 -> b025:http 513 2702 0 628412 0 -> b011:http 479 2602 0 619499 0 -> b019:http 244 1265 0 292559 0 -> b021:http 460 2581 0 605980 0 -> b016:http 243 1248 0 289122 0 -> b015:http 342 1944 0 458657 0 -> b009:http 339 1782 0 422163 0 -> b007:http 345 1924 0 448836 0 -> b005:http 480 2716 0 638891 0 I don't think I've changed the default scheduling - how do I check? I'm using deadline for /dev/sda IO scheduling, but I'm guessing that's not what you mean. I'm using DR. R. (In reply to comment #2) Hi, I was talking about ipvs scheduler (rr - Round Robin, wrr - Weighted Round Robin, lc - Least-Connection, ...). But from what you send it looks like it is really kernel issue (because of cat /proc/net/ip_vs_stats), so ipvsadm behaves correctly. Take a look on differences between machines specially in: - iptables configuration - kernels (specially architecture) Were you able to find that issue in previous versions (COS 5.1, ...?) Changing component to kernel, because bug seems to be kernel problem. If not, please feel free to change component back. Triage assignment. If you feel this bug doesn't belong to you, or that it cannot be handled in a timely fashion, please contact me for re-assignment Robin, do you see the issue also using upstream kernel? Jiri, I'm currently using kernel-2.6.18-194.26.1.el5 and I too am unable to reproduce the problem in the same way. R. (In reply to comment #7) > Jiri, > > I'm currently using kernel-2.6.18-194.26.1.el5 and I too am unable to reproduce > the problem in the same way. > > R. Okay, closing this as CURRENTRELEASE then. Feel free to reopen in case this happens again. |