dhcpd:No Buffer space avaible
In my logs i have following messages:
dhcpd: send_packet: No buffer space available
Server is running at openbsd 4.3 and offering such services like: pf+queing(3 interface, altq+hfsc on each one), DHCPD, DNS, MTA.
# netstat -m gives:
627 mbufs in use:
561 mbufs allocated to data
4 mbufs allocated to packet headers
62 mbufs allocated to socket names and addresses
560/974/6144 mbuf clusters in use (current/peak/max)
2276 Kbytes allocated to network (56% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
Interupts are something about 5-9%.
load averages: 0.22, 0.24, 0.24 17:40:04
63 processes: 62 idle, 1 on processor
CPU states: 21.2% user, 0.0% nice, 5.5% system, 7.8% interrupt, 65.5% idle
Memory: Real: 137M/250M act/tot Free: 247M Swap: 0K/1026M used/tot
I also try to increase net.inet.udp.sendspace and recvspace.
What can be causing this message?
Thanks for help
Additional (older) pointers:
The function send_packet, in /usr/src/usr.sbin/dhcpd/bpf.c, makes a call to chmod(2), which returns -1 and sets chmod(2) upon error.
The errno variable in this case, was set to ENOBUFS, indicating the kernel is unable to allocate any additional memory buffers (i.e: chmod(2)'s).
Now.. if increasing the UDP buffers didn't help.. net.bpf.bufsize and net.bpf.maxbufsize might need to be increased, but I'm not 100% sure about that.
That's all I can think of.. mailing list archives might also be worth reading as well.
@DutchDaemon, Stop giving FreeBSD advice in the OpenBSD sections.
Last edited by BSDfan666; 12th September 2008 at 05:36 PM.
I've changed this vaules to:
net.bpf.bufsize=10485760But my logs still alerting me about:
dhcpd: send_packet: No buffer space availableWhen i was running my server temporary on linux, i was not having problem like this.
Any Ideas ?
|Thread||Thread Starter||Forum||Replies||Last Post|
|error: reexec socketpair: No buffer space available||chris||FreeBSD General||3||24th July 2009 08:07 PM|
|dhcpd and dns||sputnik||OpenBSD General||8||8th May 2009 02:50 PM|
|dhcpd and multiple subnets||vdubjunkie||OpenBSD General||5||11th March 2009 11:02 PM|
|Disk space gone missing||EricM||FreeBSD General||0||26th February 2009 02:25 AM|
|dhcpd within ezjail?||zelut||FreeBSD General||7||10th February 2009 10:31 PM|