[VLAN] vlan scaling error "***KERNEL: Out of buffer space!***"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Ben for your quick response.

For the sake of trying, I increased the VLAN_PROC_BUFSZ to 32k and was
able to get rid of the error message from the config file for 1000
vlans.  I do get only up to ethx.267 listed in the /proc/net/vlan.  As
you said, I get all 1000 vlan interfaces whith ifconfig.

Thanks a lot.

-> cat vlan_proc_buf.patch
--- linux-2.4.21/net/8021q/vlanproc.h   2005-02-11 10:47:12.000000000 -0500
+++ linux-2.4.21.orig/net/8021q/vlanproc.h      2001-10-30
18:08:12.000000000 -0500
@@ -7,6 +7,6 @@ int vlan_proc_rem_dev(struct net_device
 int vlan_proc_add_dev (struct net_device *vlandev);
 void vlan_proc_cleanup (void);

-#define        VLAN_PROC_BUFSZ (32768) /* buffer size for printing
proc info */+#define        VLAN_PROC_BUFSZ (4096)  /* buffer size for
printing proc info */
 #endif /* !(__BEN_VLAN_PROC_INC__) */


On Thu, 10 Feb 2005 16:17:34 -0800, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
> Srishty Srishty wrote:
> > Hi,
> >
> > I was playing with the vlan scaling on my redhat 8.0.  When I create
> > more than 140 vlans, I get the following error in the config file.  I
> > upgraded to 2.4.21 and applied the candela_2.4.21.patch that came with
> > vlan.1.8, I am still getting the following error.
> 
> ifconfig -a will still show you all the interfaces, but
> only 4k of output can be shown in a proc file (at least the
> way I coded it).
> 
> Ben

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux