dhcpd.leases file is growing out of control after upgrade

Steven Carr sjcarr at gmail.com
Mon Aug 5 17:05:44 UTC 2013


On 5 August 2013 17:59, Scott Baker <bakers at canbytel.com> wrote:
> :ls -lsa
> total 291628
>      4 drwxr-xr-x   2 root  root       4096 Aug  5 07:51 .
>      4 drwxr-xr-x. 33 root  root       4096 Aug  1 11:10 ..
>      0 -rw-r--r--   1 root  root          0 Aug 11  2011 dhcpd6.leases
>  12636 -rw-r--r--   1 dhcpd dhcpd  12937007 Aug  5 09:58 dhcpd.leases
> 278984 -rw-r--r--   1 dhcpd dhcpd 285674779 Aug  5 07:51 dhcpd.leases~

The directory will need to be writeable by DHCPD otherwise it wont be
able to swap the files out. I would guess that on startup it does a
different type of cleanup which doesn't need to swap the files, or
runs as root initially so it has access.

Steve


More information about the dhcp-users mailing list