Possible memory leak?



Hi,

I installed FreeBSD 6.1 stable in WRAP.
As an internet/network router, I configured dhclient and bpalogin for Telstra's cable Internet. I have installed named, and wireless access point (ath) in the system as well.

In the Top command, I found the system started with 93MB free memory, but in 5 days, it gradually decreased to 64MB, and then no more internet connection until I reboot the system.

Here is the hardware config from its dmesg:

FreeBSD 6.1-STABLE #0: Tue Aug 22 10:14:07 EST 2006
root@xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/CORE
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
WARNING: MPSAFE network stack disabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (266.67-MHz 586-class CPU)
Origin = "Geode by NSC" Id = 0x540 Stepping = 0
Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory = 134217728 (128 MB)
avail memory = 121892864 (116 MB)
module_register_init: MOD_LOAD (vesa, 0xc08c5554, 0) error 19
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x1000-0x10ff mem 0x80000000-0x80000fff irq 10 at device 14.0 on pci0
sis0: Silicon Revision: DP83816A
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0d:b9:03:e2:2c
sis0: [GIANT-LOCKED]
sis1: <NatSemi DP8381[56] 10/100BaseTX> port 0x1400-0x14ff mem 0x80040000-0x80040fff irq 11 at device 16.0 on pci0
sis1: Silicon Revision: DP83816A
miibus1: <MII bus> on sis1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: 00:0d:b9:03:e2:2d
sis1: [GIANT-LOCKED]
ath0: <Atheros 5212> mem 0x80080000-0x8008ffff irq 9 at device 17.0 on pci0
ath0: [GIANT-LOCKED]
ath0: Ethernet address: 00:15:6d:50:0e:2a
ath0: mac 5.9 phy 4.3 radio 4.6
isab0: <PCI-ISA bridge> port 0xf400-0xf43f,0xf600-0xf63f at device 18.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge> at device 18.1 (no driver attached)
atapci0: <National Geode SC1100 ATA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 18.2 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <multimedia, audio> at device 18.3 (no driver attached)
pci0: <bridge> at device 18.5 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xe0000-0xe7fff on isa0
ppc0: parallel port not found.
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
IP Filter: v4.1.8 initialized. Default = pass all, Logging = disabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging disabled
ad0: 1001MB <HYPERSTONE FLASH DISK 30/06/03> at ata0-master PIO4
Trying to mount root from ufs:/dev/ad0s1a

Here is the output of df -k command:

# df -k
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 68951 33250 30185 52% /
devfs 1 1 0 100% /dev
/dev/ad0s1d 11351 154 10289 1% /usr/var
/dev/ad0s1e 758599 176809 521103 25% /usr
procfs 4 4 0 100% /proc
devfs 1 1 0 100% /usr/var/named/dev

I m not sure what s wrong. Your suggestion is highly appreciated.

Thanks
S
.



Relevant Pages

  • Re: Possible memory leak?
    ... Telstra's cable Internet. ... In the Top command, I found the system started with 93MB free memory, ... Here is the hardware config from its dmesg: ... miibus0: <MII bus> on sis0 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Will Xbox Extender work on UK/PAL Xboxes?
    ... To avoid confusion and simplify matters, if we leave the internet out of the ... My original config when I used the Media Center Extender Linksys set-top-box ... the problem must be with the WGA or Xbox settings. ... > Ethernet on the PC to have internet connectivity. ...
    (microsoft.public.windows.mediacenter)
  • Re: Free Muni or other hotspot access from a sailboat??
    ... This disconnects me from the Internet as the MetroFI assigned IP address is ... client bridge can talk to the Internet but not the client bridge. ... client bridge config and Internet access; ... The big issue here is that the Wi-Fi Forum hasn't sorted out all the ...
    (alt.internet.wireless)
  • Want to Use ISA with 2-NIC
    ... We currently have the following config: ... -Single NIC server box running AD, DNS, DHCP, IIS ... - The server, the DSL router and all workstations connect to the hub, the ... my internet connectivity goes away. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Possible memory leak?
    ... the problem is the free memory is decreasing day-by-day from 93MB to 60MB and then the whole system does not have internet access until I reboot the system. ... I am using dhclient and bpalogin to access a local ISP internet provider. ... pci0: on pcib0 ... miibus0: <MII bus> on sis0 ...
    (comp.unix.bsd.freebsd.misc)