lucky.freebsd.stable
  Home FAQ Contact Sign in
lucky.freebsd.stable only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
lucky.freebsd.stable Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: RELENG_7 amd64; memory and vm.kmem_size         


Author: Oliver Fromme
Date: May 30, 2008 04:50

Jeremy Chadwick wrote:
> [...]
> vm.kmem_size="3584M"
> vm.kmem_size_max="3584M"
>
> Upon reboot, the kernel immediately panic'd with the following message:
>
> kmem_suballoc(): bad status return of 3.
>
> I then chose smaller values (going with 2048M); same panic.

I remember someone on the -fs list explained that there's
currently a hard limit for kmem at 2 GB minus epsilon.
So I suggest trying to set it to slightly less than 2 GB.

And yes, I agree that is unfortunate, because there are
high ZFS workloads where more than 2 GB kmem would be
useful. I hope this design limitation can be alleviated
somehow in the future.

Best regards
Oliver
Show full article (1.15Kb)
no comments
  Re: broken re(4)         


Author: Oliver Fromme
Date: May 30, 2008 04:44

Gerrit Kühn wrote:
> As Oliver already suggested, I will take out the controller and see what
> happens then.
>
> Talking about this controller: This is also the only board I am using with
> PCI cards (and thus with a PCI riser) at all. I remember vaguely that I
> had a few problems getting the controller to work in the riser card when
> it put the system together. The riser has two ports, and the controller
> would only work in the upper one afaicr.

That rings a bell ...

I remember reports of riser cards that apparently changed
the timing on the PCI bus so they were only marginally
compliant with the spec, or maybe not even that anymore.

If you try to remove the controller, please also remove
the riser card. It could well be that it's causing
problems, especially if it's on the same PCI bus as the
onboard re(4) interfaces.
Show full article (1.68Kb)
no comments
  3Com NIC choking         


Author: Patrik Roos
Date: May 30, 2008 03:39

Since getting my cable upgraded to 24Mbit down and 10Mbit up and
getting excited with torrents, I've started experiencing weird errors
with my 3Com NIC whenever it's being used at high speeds. It'll
basically work fine for a while until it suddenly stops sending any
packets and the connection to the switch is dropped, combined with
this error message:

xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 120 bytes

I can "fix" it by running ifconfig xl1 down; ifconfig xl1 up, but then
it'll bork out again later on when it feels the traffic's too
congested (which happens around 2MB/s torrent downloads, I think).

The machine in question is FreeBSD 6.0-STABLE and works as a router,
with two 3Coms, like so:

xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1000-0x107f mem
0xe8000000-0xe800007f irq 11 at device 14.0 on pci0
xl1: <3Com 3c905-TX Fast Etherlink XL> port 0x1080-0x10bf irq 10 at
device 15.0 on pci0
Show full article (1.95Kb)
no comments
  Re: Sockets stuck in FIN_WAIT_1         


Author: Ian Smith
Date: May 30, 2008 01:41

On Thu, 29 May 2008, Robert Blayzor wrote:
> On May 29, 2008, at 8:55 PM, Matthew Dillon wrote:
>> It's got to a be a bug on the client(s) in question. I can't think
>> of anything else. You may have to resort to injecting a TCP RST
>> packet (e.g. via a TUN device) to clear the connections.
>
>
>
> That would be most unpleasant... and also seems like some sort of
> exploit if a client and run a server out of socket buffers so easily.
>
> On a side note, I may be onto something... The server traffic right
> now is calming down, but it picks up... I made a change to the IPFW
> rules which basically went from something like:
>
> 100 permit tcp from any to any established
> 200 permit tcp from any to me 80 setup
> 300 deny log ip from any to me
>
> to: ...
Show full article (2.35Kb)
2 Comments
  RELENG_7 amd64; memory and vm.kmem_size         


Author: Jeremy Chadwick
Date: May 30, 2008 00:05

As has been pointed out on wikis, mailing lists, and even on IRC, ZFS
requires a bit of tuning -- specifically in regards to vm.kmem_size and
vm.kmem_size_max. The opinion is: ZFS is memory-hungry.

On my home RELENG_7 amd64 box (2GB RAM), I could panic the system with
heavy I/O due to kmem_size being too small, until I used the following
values:

vm.kmem_size="1536M"
vm.kmem_size_max="1536M"

I decided to upgrade the box to 4GB of RAM, since I was worried about
memory exhaustion under even higher loads (during heavy I/O with ZFS,
I'd often see the "Wired" value in top reach 1.3-1.4GB).

I received the RAM today, installed it, works fine. I then chose to
adjust the vm.kmem_size and kmem_size_max settings to something larger,
which seemed like the logical choice. I went with:

vm.kmem_size="3584M"
vm.kmem_size_max="3584M"

Upon reboot, the kernel immediately panic'd with the following message:

kmem_suballoc(): bad status return of 3.

I then chose smaller values (going with 2048M); same panic.
Show full article (1.82Kb)
no comments
  Re: broken re(4)         


Author: Oliver Fromme
Date: May 29, 2008 09:52

Gerrit Kühn wrote:
> Meanwhile I have set up two more machines. Now I have 5 ITX systems,
> each with 2 re-NICs, and only one is behaving strange.

In that case I would suspect that the one piece of hardware
that is misbehaving is broken and needs to be replaced.
> The only hardware thing that is different in this system from the
> others is an additional SATA-controller. Can there be conflicts with
> this card which are triggering the problems?

I think it's unlikely. Do they share interrupts? (The
output of "vmstat -i" will tell you.)

In theory it could also be a power supply problem. I
assume that you use rather small (thus possibly weak)
power supplies for your ITX machines. Maybe the SATA
controller in that problematic machine drives the power
supply to its limit, and the re(4) interfaces suffer.
You could check whether removing the SATA controller
improves things. Or try to connect a stronger power
supply if you have one available.
Show full article (2.27Kb)
no comments
  Bad TCP performance with large MTU on 7-stable.         


Author: Arnaud Houdelette
Date: May 29, 2008 07:25

I got really poor performance when I try to upload files to the box (via
pureFTP or Samba) when using jumbo frames somewhat above 2k.

uname -a :
FreeBSD carenath.tzim.net 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May 28
17:45:14 CEST 2008
tzim@carenath.tzim.net:/usr/obj/usr/src/sys/CARENATH amd64

It seems that TCP acks are delayed for about a second, so the upload
rate nevers goes above 60kB/s. I can provide wireshark captures done on
the box uploading the files if necessary.
The client is a Windows XP64 box, but I do not recall having the same
problem on 6.2. I did got about 100 MB/s for similar file transfers, but
I had to disable jumbo frames when I upgraded to 7.0-Release because of
some bug on txcsum/rxcsum on re(4) so I only noticed the issue recently.

The txcsum bug doesn't seem to occur anymore, but now I have this
strange rate issue, with or without checksum offloading disabled.
I also tried with tso disabled. Same results. Is it related to the re(4)
driver ? Or to the TCP stack ?

Arnaud Houdelette
3 Comments
  Sockets stuck in FIN_WAIT_1         


Author: Robert Blayzor
Date: May 28, 2008 15:13

I have a rather busy Apache 2.2 server; tons of small & some large
requests. It's a standard Dell 2650 server using the bge (broadcom)
network driver.

I seem to have a rather strange problem where after just a day or so
Apache just stops processing new connections. You can connect to port
80, but trying to get Apache to process any data just hangs. There is
nothing strange in dmesg or in /var/log/messages.

The server has plenty free available physical RAM, swap is untouched,
CPU load is low, etc. Apache is setup to handle a max of 100 clients
using prefork model.

If I stop and restart Apache, it does not help.

What I do notice is 1000's of sockets stuck in "FIN_WAIT_1" in netstat:

[web0:~] netstat -an | grep FIN_WAIT | wc -l
1827
Show full article (2.25Kb)
32 Comments
  lagg interfaces on -stable         


Author: Daniel Ponticello
Date: May 28, 2008 11:21

Hello,
i have configured lagg interface on two Broacom (bce0 bce1).

I have tried with laggproto lacp (supported by the Nortel switch), with fce
and failover, but they all shows the same symptom:

Everything works fine until i unplug the cable of the first interface
(bce0), it will
show status: no carrier even on lagg0 interface, while bce0 shows no
carrier (correct) and
bce1 is active.

Any ideas?

Thanks!

Daniel

--

WBR,
Cordiali Saluti,

Daniel Ponticello, VP of Engineering

Network Coordination Centre of Skytek
Show full article (0.65Kb)
no comments
  Re: 7-STABLE: bridge and em         


Author: Nikos Vassiliadis
Date: May 28, 2008 01:54

On Wednesday 28 May 2008 01:15:18 Boris Samorodov wrote:
> Hello list!
>
>
> When em0 has an inet address while bridge0 doesn't, it seems to be OK:
> -----
> bs1%% uname -a
> FreeBSD bs1.sp34.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 25
> 20:15:26 MSD 2008 root@bs1.sp34.ru:/usr/obj/usr/src/sys/BSM i386
> bs1%% ifconfig em0; ifconfig tap0; ifconfig bridge0
> em0: flags=8943 metric 0
> mtu 1500 options=98
> ether 00:0c:f1:6c:37:4c
> inet 192.168.16.30 netmask 0xffffff00 broadcast 192.168.16.255
> media: Ethernet autoselect (100baseTX )
> status: active
> tap0: flags=8943 metric
> 0 mtu 1500 ether 00:bd:3e:24:00:00
> bridge0: flags=8843 metric 0 mtu
> 1500 ether ea:8b:1f:65:2a:5c ...
Show full article (5.75Kb)
no comments
1 2 3 4 5 6 7 8 9