search for: mbuf

Displaying 20 results from an estimated 71 matches for "mbuf".

Did you mean: buf
2013 May 15
1
still mbuf leak in 9.0 / 9.1?
...gin via ssh, nfs and istgt is not operative. Yet you can login on the console and execute commands. A clean shutdown isn't possible though. It hangs after vnode cleaning, normally you would see detaching of usb devices here, or other devices maybe? I've read the other post on this ML about mbuf leak in the arp handling code in if_ether.c line 558. We don't see any of those notices in dmesg so I don't think that glebius fix would apply for us. I'm collecting system and memory information every hour. Script looks like this. less /etc/periodic/hourly/100.report-memory.sh #!/b...
2003 Jun 25
6
Mbuf Clusters on 4.8
Ive been googling quite a bit now for problems with running out of mbuf clusters. Im basically sending a 30k datachunk down 1000-4000 connections, but 1000 is more than enough to quickly fill upp 8192 mbuf clusters. I also tried setting maximum amount of mbuf clusters to 65536, but that only made the box hard-wire 86MB of 96MB RAM, making it just as unsuable as a dead...
2013 Dec 16
1
10.0-RC1: bad mbuf leak?
Hi all, I think I'm experiencing a bad mbuf leak or something of the sort and I don't know how to diagnose this further. I have a machine at home that is mostly used for transcoding video for viewing on my TV via the multimedia/plexmediaserver port. This software runs in a jail and gets the actual files from my NAS via NFSv4. It's...
2004 Nov 24
2
Mbuf errors
Hi All, Mysql service is going down continously in my system due to lack of memory space. I checked the messages log and found the following error message. All mbuf clusters exhausted, please see tuning(7). I have no idea about mbuf cluster. Can anyone please help me to fix the issue. I hope the information below will help you. Following is the output of top. last pid: 84718; load averages: 2.56, 2.29, 2.55...
2013 Jul 07
1
status of autotuning freebsd for 9.2
Andre, Are you going to have time to MFC things from -current for auto-tuning -stable before 9.2? I fear (maybe unnecessarily?) that we are about to ship yet another release that can't do basic 10gigE when sufficient memory exists. If you don't have time, then let me know and I'll see what I can do. -- Alfred Perlstein VP Software Engineering, iXsystems
2003 May 20
3
lots of sockets in TIME_WAIT
Hi there, I have some DDOS(?) attack on my router going where my apache HTTP server is flooded with short-timed connections from some host. This results in LOTS of sockets in TIME_WAIT/LAST_ACK/CLOSING states and eventually I'm out of mbufs, which, consequently means I can't even connect to the router from LAN. The kern.ipc.nmbclusters is 2560, (I guess high enough for router with DSL connection). After some time all mbufs are depleted (system says "All mbuf cluster exhausted"). However, unexpectedly the system pani...
2008 Nov 15
1
TCP Stack Issues Under FreeBSD 7.1
...t with mild to moderate TCP activity on HTTP and other sorts of ports returns zero results back unless you are root. [site@Eden ~]$ netstat -i reports netstat: kvm not available: /dev/mem: Permission denied ifnet: symbol not defined [site@Eden ~]$ netstat -an [site@Eden ~]$ netstat -m 377/823/1200 mbufs in use (current/cache/total) 64/378/442/32768 mbuf clusters in use (current/cache/total/max) 64/315 mbuf+clusters out of packet secondary zone in use (current/cache) 2/386/388/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/to...
2006 Apr 18
3
FreeBSD 4.9 losing mbufs!!!
...client I see the intr_queue_maxlen continue to grow until it again reaches the new maximum. Another datapoint if I don't send the data thru the gre tunnel, but only thru the vpn I don't see this problem. I've looked at the gre code til I am blue in the face and can't see where mbufs were not being freed when the quelen is full. If anybody could give some direction as where to look or how to better trouble shoot this problem it would be greatly appreciated. Thanks for being such a great list, Steve -- "They that give up essential liberty to obtain temporary safety,...
2003 Apr 08
7
4.8-STABLE Kernel Panic with dummynet options.
I first met this problem when our (60 students) internetgateway refused to boot its new kernel, it was a 4.7-RELEASE. Then i loaded the old kernel and went home to check if my 4.8-STABLE does likewise. And the answer was yes! Both kernels were GENERIC + these options taken from the dummynet man pages: options DUMMYNET options NMBCLUSTERS options HZ When i boot the machine
2004 Feb 18
2
is this mbuf problem real?
.../18/2004@03:47:29 GMT Initial report <https://ialert.idefense.com/KODetails.jhtml?irId=207650> ID#207650: FreeBSD Memory Buffer Exhaustion Denial of Service Vulnerability (iDEFENSE Exclusive): Remote exploitation of a denial of service (DoS) vulnerability in FreeBSD's memory buffers (mbufs) could allow attackers to launch a DoS attack. By sending many out-of-sequence packets, a low bandwidth denial of service attack is possible against FreeBSD. When the targeted system runs out of memory buffers (mbufs), it is no longer able to accept or create new connections. Analysis: (iDEFENS...
2013 Feb 12
2
ix? / Intel(R) PRO/10GbE
...d that is recognized by FreeBSD (9.1-stable): ... ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.8> port 0xecc0-0xecdf mem 0xd9e80000-0xd9efffff,0xd9ff8000-0xd9ffbfff irq 40 at device 0.0 on pci4 ix0: Using MSIX interrupts with 9 vectors ix0: RX Descriptors exceed system mbuf max, using default instead! ix0: Ethernet address: 90:e2:ba:29:c0:54 ix0: PCI Express Bus: Speed 5.0Gb/s Width x8 ... but it apperas as ix0/ix1, manuals only mention ixgb/e, and ifconfig: ix0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=401bb<RXCSUM,TXCSUM,VL...
2006 Mar 09
1
FreeBSD netfront.c / problem
...48 for (i = 0, m_new = sc->xn_rx_batch; m_new; 49 i++, sc->xn_rx_batchlen--, m_new = next) { 50 [...] 70 rx_pfn_array[i] = vtomach(mtod(m_new,vm_offset_t)) >> PAGE_SHIFT; The above call fails gives -1 (i.e., an invalid virtual -> machine translation) time since some mbufs are placed on the same page. 71 72 /* Remove this page from pseudo phys map before passing back to Xen. */ 73 xen_phys_machine[((unsigned long)m_new->m_ext.ext_args >> PAGE_SHIFT)] 74 = INVALID_P2M_ENTRY; ... because this invalidates that mapping. I therefore get every sec...
2001 Jan 30
1
Tru64
...er.c:25: /usr/include/net/if.h:182: warning: `struct rtentry' declared inside parameter list /usr/include/net/if.h:182: warning: its scope is only this definition or declaration, /usr/include/net/if.h:182: warning: which is probably not what you want. /usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter list In file included from include/includes.h:258, from nmbd/nmbd_nameregister.c:25: /usr/include/net/if.h:462: warning: `struct rtentry' declared inside parameter list Compiling nmbd/nmbd_namerelease.c In file included from include/includes.h:258...
2004 Feb 29
5
mbuf vulnerability
...Details.jhtml?irId=207650>https://ialert.idefense.com/KODetails.jhtml?irId=207650; >ID#207650: >FreeBSD Memory Buffer Exhaustion Denial of Service Vulnerability >(iDEFENSE Exclusive): Remote exploitation of a denial of service (DoS) >vulnerability in FreeBSD's memory buffers (mbufs) could allow attackers >to launch a DoS attack. > >By sending many out-of-sequence packets, a low bandwidth denial of >service attack is possible against FreeBSD. When the targeted system >runs out of memory buffers (mbufs), it is no longer able to accept or >create new con...
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...extern int make_backups; @@ -319,6 +321,16 @@ path,slash,fname, (double)st.st_size); } + /* send_fd for fast copy before sending sum head, + * which will trigger the recv_fd at the receiver -goldor */ + if (local_server && local_socket && s->count == 0) { + if (!mbuf) + /* easy fix for fast copy of 0 length files -goldor */ + mbuf = map_file(fd, 0, 0, s->blength); + rprintf(FINFO,"sending file descriptor %d\n", mbuf->fd); + send_fd(local_socket, mbuf->fd); + } + write_ndx_and_attrs(f_out, ndx, iflags, fname, file, fname...
2015 Sep 17
0
[dpdk-dev] virtio optimization idea
...erformance boost >>> for purely vhost-virtio throughput. >>> >>> Here i will only cover the first part, which is the prerequisite for the >>> second part. >>> Let us first take RX for example. Currently when we fill the avail ring >>> with guest mbuf, we need >>> a) allocate one descriptor(for non sg mbuf) from free descriptors >>> b) set the idx of the desc into the entry of avail ring >>> c) set the addr/len field of the descriptor to point to guest blank mbuf >>> data area >>> >>> Those o...
2015 Sep 17
0
[dpdk-dev] virtio optimization idea
...erformance boost >>> for purely vhost-virtio throughput. >>> >>> Here i will only cover the first part, which is the prerequisite for the >>> second part. >>> Let us first take RX for example. Currently when we fill the avail ring >>> with guest mbuf, we need >>> a) allocate one descriptor(for non sg mbuf) from free descriptors >>> b) set the idx of the desc into the entry of avail ring >>> c) set the addr/len field of the descriptor to point to guest blank mbuf >>> data area >>> >>> Those o...
2013 Oct 03
1
ixgbe/ix sysctl missing in FreeBSD 9.2
Hello everyone, I am trying to tweak some of the sysctl tunables for the ix (ixgbe) driver in FreeBSD 9.2 since I am experiencing less than ideal performance and it seems like I can't find any: # sysctl -a | grep -i ixgbe device ixgbe I am running 9.2-RC4. Any input appreciated. Thanks, -- Rumen Telbizov Unix Systems Administrator <http://telbizov.com>
2010 Jul 19
1
packet loss on ixgbe using vlans and ipv6
Hi, I have a Dell T710 with 4 X 10G ethernet interfaces (2 X Dual port Intel 82599 cards). It is running FreeBSD RELENG_8 last updated on July 13. What I see is packet loss (0 - 40%) on IPv6 packets in vlans, when the machine is not the originator of the packets. Let me try to describe a little more. If a neigbouring machine ping6 it, there will be packet loss. If it act as a router for ipv6,
2006 Apr 11
2
FreeBSD 6.0 panics - sbdrop
...quot;sbdrop") at /usr/src/sys/kern/kern_shutdown.c:555 bootopt = 260 newpanic = 0 buf = "sbdrop", '\0' <repeats 249 times> #3 0xc06d266c in sbdrop_locked (sb=0xc20aca84, len=1) at /usr/src/sys/kern/uipc_socket2.c:1157 m = (struct mbuf *) 0x0 next = (struct mbuf *) 0x0 #4 0xc06d3d93 in sbdrop (sb=0xc20aca84, len=0) at /usr/src/sys/kern/uipc_socket2.c:1208 No locals. #5 0xc0748a7d in tcp_input (m=0xc1c09100, off0=-1039845124) at /usr/src/sys/netinet/tcp_input.c:1201 dbuf = "\024\000\000\000\000????\0...