Re: dhcrelay prints these logs and doesn't live normally. [Can't initialize context: not enough free resources.]

박기당 pkdang at
Wed May 26 00:52:28 UTC 2021

thanks for reply Glenn.Sounds like you don't have enough free memory for it to run. Try running "free -h" to see if you have enough memory available. You may need to shut down some other services first. -> my system free memory status is normal.MemTotal: 1027004 kB MemFree: 236040 kB Buffers: 0 kB Cached: 278888 kB SwapCached: 0 kB Active: 469624 kB Inactive: 192112 kB Active(anon): 382848 kB Inactive(anon): 0 kB Active(file): 86776 kB Inactive(file): 192112 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 262144 kB HighFree: 508 kB LowTotal: 764860 kB LowFree: 235532 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 382944 kB Mapped: 94932 kB Shmem: 0 kB Slab: 19808 kB SReclaimable: 8604 kB SUnreclaim: 11204 kB KernelStack: 2392 kB PageTables: 3196 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 513500 kB Committed_AS: 987128 kB VmallocTotal: 245760 kB VmallocUsed: 53120 kB VmallocChunk: 159676 kB Secondly be sure you are running as root, it may be getting a permission denied message from some underlying system call.-> what does mean??
dhcrelay: Can't initialize context: not enough free resource ->opensocket function is return ISC_R_NORESOURCES. (bind/bind-9.9.5/lib/isc/unix/socket.c)I think it's the fd problem with the socket, but I don't know when it happens.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list