Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: dhcrelay 4.1.1 IPv6 and multiple prefixes (Marc Haber)
   2. Re: dhcrelay prints these logs and doesn't live normally.
      [Can't  initialize context: not enough free resources.] (???)
   3. Re: dhcrelay prints these logs and doesn't live normally.
      [Can't  initialize context: not enough free resources.]
      (glenn.satch...@uniq.com.au)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 May 2021 14:01:48 +0200
From: Marc Haber <mh+dhcp-us...@zugschlus.de>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcrelay 4.1.1 IPv6 and multiple prefixes
Message-ID: <ykznlpa7kqrjt...@torres.zugschlus.de>
Content-Type: text/plain; charset=utf-8

On Fri, May 14, 2021 at 09:53:41AM +0200, Marc Haber wrote:
> Are those two things genuine issues in dhcrelay, or am I doing things
> wrong?

Nobody?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


------------------------------

Message: 2
Date: Wed, 26 May 2021 09:52:28 +0900
From: ??? <pkd...@naver.com>
To: <dhcp-users@lists.isc.org>
Subject: Re: dhcrelay prints these logs and doesn't live normally.
        [Can't  initialize context: not enough free resources.]
Message-ID: <165ac74f98beda346fac57e77a6e7...@cweb004.nm.nfra.io>
Content-Type: text/plain; charset="utf-8"

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 ma
 y 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.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20210526/65f3a09c/attachment-0001.htm>

------------------------------

Message: 3
Date: Wed, 26 May 2021 16:54:39 +1000
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcrelay prints these logs and doesn't live normally.
        [Can't  initialize context: not enough free resources.]
Message-ID: <ac33660e4c6da11718b3b5c77e853...@uniq.com.au>
Content-Type: text/plain; charset=UTF-8; format=flowed

Yeah, the free memory looks completely ok, so that's not it.

Do you by chance have dhcpd also running on the same system? I don't 
believe you can have both dhcpd and dhcrelay trying to open the socket 
on the same interface. So if you have both then each needs to listen on 
different interfaces.

Failing that perhaps looking at the source might give some hints. Do you 
have any limits on open files for example. ulimit -n will show the 
permitted number of open files, which includes sockets.

regards,
Glenn

On 2021-05-26 10:52, ??? wrote:
> 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.
> 
> Thanks.
> _______________________________________________
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
> 
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 151, Issue 9
******************************************

Reply via email to