[CentOS] High CPU usage by lftp

Tue May 12 08:04:53 UTC 2009
Rajagopal Swaminathan <raju.rajsand at gmail.com>

JohnS <jses27 at ...> writes:

> ---
> Check out you networking stack. Like NIC Card settings with ethtool and
> your dns like namserver settings in resolve.conf. If it is getting an
> address by dhcp sometimes it want pull in the actual real dns servers.

ethtool eth0 

spake thus:

Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
        Link detected: yes


They are reasonably fine. it is a static IP.

> All will get is like a 192.168.0.x from the modem/router. Ifconfig ethX
> will show you the amount of packets dropped also. Possibly a driver
> issue with your nic? Could be many things you just have to go step by
> step...
> 

ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:E6:96:CD:A8
          inet addr:192.168.2.220  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::216:e6ff:fe96:cda8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3434000 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1879546 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2928267020 (2.7 GiB)  TX bytes:550552465 (525.0 MiB)
          Interrupt:177 Base address:0xe000


But then yum install/update etc gives me reasonable speeds in the range of
100-120 KBytes/second and our network load is that much usually. 15-20Kbytes is
ridiculous

We have a DNS server (an AD server)

Is it that something that wget puts out in the network that is not liked by our
firewall?

Regards

Rajagopal