• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DHCPD (v6) uses all space in /var

Scheduled Pinned Locked Moved IPv6
4 Posts 3 Posters 1.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    bitboy0
    last edited by Mar 9, 2016, 4:56 PM

    If I use DHCP for IPV6 (only simple range, no advanced options) the CPU starts running hot and over 30 minutes or so the /var is full!

    Mainly 
    /var/dhcpd/var/db and  /var/dhcpd/var

    Why and what can I do ???

    [2.2.6-RELEASE][admin@pfsense.wedia.de]/var: du -h ./
    4.0K    ./.snap
    4.0K    ./db/entropy
     12M    ./db/rrd
    4.0K    ./db/pingstatus
    4.0K    ./db/pingmsstatus
     12M    ./db
    4.0K    ./spool/lock
    8.0K    ./spool
    4.0K    ./tmp/vi.recover
    8.0K    ./tmp
    112K    ./run
    4.0K    ./log/ntp
    9.6M    ./log
     52K    ./etc/openvpn
     56K    ./etc/openvpn-csc
    4.0K    ./etc/l2tp-vpn
    164K    ./etc
    4.0K    ./at/jobs
    8.0K    ./at
    4.0K    ./empty
    8.0K    ./dhcpd/var/run
     21M    ./dhcpd/var/db
     21M    ./dhcpd/var
    512B    ./dhcpd/dev/fd
    512B    ./dhcpd/dev/usb
    512B    ./dhcpd/dev/ufs
    512B    ./dhcpd/dev/ufsid
    512B    ./dhcpd/dev/pts
    3.0K    ./dhcpd/dev
     12K    ./dhcpd/etc
    1.9M    ./dhcpd/usr/local/sbin
    1.9M    ./dhcpd/usr/local
    1.9M    ./dhcpd/usr
    1.5M    ./dhcpd/lib
    4.0K    ./dhcpd/run
     25M    ./dhcpd
    4.0K    ./cron/tabs
    8.0K    ./cron
     47M    ./
    [2.2.6-RELEASE][admin@pfsense.wedia.de]/var:
    
    
    1 Reply Last reply Reply Quote 0
    • H
      hda
      last edited by Mar 9, 2016, 9:16 PM Mar 9, 2016, 7:40 PM

      Sanitized install, packages & config ? What are the logs pointing at ?
      What's /var/dhcpd/var/db/dhcpd6.leases telling you ?

      pfSense 2.2.6, Show us:
      -Interfaces: LAN
      -Services: DHCPv6 server
      -Services: Router advertisements

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by Mar 10, 2016, 9:03 PM

        Looks like it's the leases file. Check the contents of /var/dhcpd/var/db/dhcpd6.leases and see what's filling it up. The couple times others have reported similar, they had some buggy device that would request a lease over and over and over even though it got one, and would pile up a massive leases file.

        1 Reply Last reply Reply Quote 0
        • B
          bitboy0
          last edited by Mar 14, 2016, 1:27 PM

          THX!

          The Problem was an impropper configuration of the IPV6-LAN-Interface. I just forgot to set an vIP and different IP's for the two pfSense.

          So both of the DHCP gave their very best to provide even more adresses that the other one. As I fixed that the battle stopped and now this is working fine

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received