Re: limit process memory usage

2020-01-30 Thread Gerrit Kühn
Am Thu, 30 Jan 2020 22:18:12 -0800 schrieb Julian Elischer : > start with the man page  man 1 limits and follow the "see also" links. Ah, great, that helps, thanks a lot! I wonder why I didn't find this before. I found rctl that is linked in the "see also" section of limits. However, there is

limit process memory usage

2020-01-30 Thread Gerrit Kühn
Hello all, I have an application that sometimes develops some kind of memory leak or similar and eats up all RAM within a few minutes until the system is running out of memory and swap so the kernel starts randomly killing other processes and finally the crashes. Is there a way to limit the memory

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-29 Thread Gerrit Kühn
On Thu, 29 Nov 2018 15:12:34 +0700 Eugene Grosbein wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > Just report all that you have already tested, and results (lack of). I didn't pipe all the debug info into files so far, so I'll have to wait a few days for the is

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-29 Thread Gerrit Kühn
On Thu, 29 Nov 2018 14:48:29 +0700 Eugene Grosbein wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > Fill a PR and include exact output showing IRQs and their count numbers. Which output would that include? Is vmstat -i sufficient? Should I revert to the default t

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-28 Thread Gerrit Kühn
On Thu, 29 Nov 2018 07:48:23 +0100 Gerrit Kühn wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > The issue is back this morning: sys and irq load incredibly high, system > hardly usable anymore. > I guess it's time to try kern.eventtimer.periodic=1 n

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-28 Thread Gerrit Kühn
On Mon, 26 Nov 2018 15:37:02 +0100 Gerrit Kühn wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > > Try switching to "HPET" in both cases and do not wait for next disaster > > but do it right now with sysctl command, reboot is not neede

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-26 Thread Gerrit Kühn
On Mon, 26 Nov 2018 21:09:18 +0700 Eugene Grosbein wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > Try switching to "HPET" in both cases and do not wait for next disaster > but do it right now with sysctl command, reboot is not needed. > You can restore default s

Re: high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-26 Thread Gerrit Kühn
On Mon, 26 Nov 2018 19:34:43 +0700 Eugene Grosbein wrote about Re: high cpu irq load and slow boot after update from 10.4 to 11.2: > > Any ideas? > Maybe this box has some clocking problems incompatible with tickless > kernel. Is there anything I could look out for in dmesg or similar to spot

high cpu irq load and slow boot after update from 10.4 to 11.2

2018-11-26 Thread Gerrit Kühn
Hi all, A couple of weeks ago, I updated an older storage server (2 CPUs, 4 cores each, 48GB RAM, 36x4GB HDDs, 3 LSI-based mps controllers) from 10.4 to 11.2. The first thing I noticed was that booting takes much longer now. The system probes each HDD (there are 36 of them, attached to mps control

Re: devd out of swap space ? (zfs arc related ?)

2018-04-09 Thread Gerrit Kühn
On Mon, 9 Apr 2018 15:27:45 -0400 Mike Tancsa wrote about devd out of swap space ? (zfs arc related ?): > Anyone else seen anything like this on a recent RELENG11 STABLE ? I think I have seen something similar last week with a -stable from somewhen in March. Lots of processes crashed over night

Re: ZFS - poor performance with "large" directories

2015-11-25 Thread Gerrit Kühn
On Wed, 25 Nov 2015 12:06:38 + krad wrote about Re: ZFS - poor performance with "large" directories: K> consumer SSDs are cheap enough now not to bother with usb drives I would K> imagine. Sure. I was just suggesting a USB drive as a quick way to check if this might help at all. Most people

Re: ZFS - poor performance with "large" directories

2015-11-24 Thread Gerrit Kühn
On Tue, 24 Nov 2015 17:11:54 +0100 Albert Cervin wrote about Re: ZFS - poor performance with "large" directories: AC> Will try a bit with the meta limit. You can also put metadata on a flash device to speed things up. To check if this is really the bottleneck in your case, something simple like

Re: dev.ix.0.queueX.interrupt_rate

2015-08-25 Thread Gerrit Kühn
On Tue, 25 Aug 2015 19:45:08 +0300 Slawa Olhovchenkov wrote about Re: dev.ix.0.queueX.interrupt_rate: SO> For discover poor network performance you need: [...] I am already through this, see I just wanted to let /you/ know

Re: dev.ix.0.queueX.interrupt_rate

2015-08-25 Thread Gerrit Kühn
On Tue, 25 Aug 2015 07:55:49 -0400 (EDT) Rick Macklem wrote about Re: dev.ix.0.queueX.interrupt_rate: RM> If you have tso enabled, you could try this patch: RM> https://reviews.freebsd.org/D3477 RM> RM> If TSO is disabled, then we don't have an explanation for poor NFS RM> performance yet.

Re: dev.ix.0.queueX.interrupt_rate

2015-08-25 Thread Gerrit Kühn
On Mon, 24 Aug 2015 22:29:26 +0300 Slawa Olhovchenkov wrote about dev.ix.0.queueX.interrupt_rate: SO> Last -stable, no tuning. Is this normal? >From 10.2-rel (and still having severe performance issues with NFS as reported before): dev.ix.0.queue7.interrupt_rate: 31250 dev.ix.0.queue6.interrupt

Fw: zfs snapshot: Bad file descriptor

2011-08-25 Thread Gerrit Kühn
Sorry for crossposting, but I got no answer at all from freebsd-fs. Anyone in here having any ideas/suggestions on this? cu Gerrit Begin forwarded message: Date: Tue, 23 Aug 2011 17:02:55 +0200 From: Gerrit Kühn To: freebsd...@freebsd.org Subject: zfs snapshot: Bad file descriptor Hi

Re: diskless booting with 8.2 regression?

2011-07-18 Thread Gerrit Kühn
On Mon, 18 Jul 2011 12:38:22 +0200 Gerrit Kühn wrote about diskless booting with 8.2 regression?: I guess I found the root of all evil now: device nodes on zfs! This is how a linux /dev/console looked on the 8.0-FreeBSD server on zfsv15: crw--- 1 root wheel5, 1 Oct 28 2010

diskless booting with 8.2 regression?

2011-07-18 Thread Gerrit Kühn
Hi all, I just updated my nfs/tftp server for diskless booting from 8.0-rel to 8.2-stable. I have a bunch of Linux clients that used to work with the 8.0-setup, but fail to boot now. On the server side I see Jul 18 11:18:24 mclane tftpd[72434]: Got ERROR packet: TFTP Aborted in the log/messages

Re: drives >2TB on mpt device

2011-04-14 Thread Gerrit Kühn
On Mon, 4 Apr 2011 07:37:15 -0700 Artem Belevich wrote about Re: drives >2TB on mpt device: AB> You're probably out of luck as far as 2Tb+ support for 1068-based HBAs: AB> http://kb.lsi.com/KnowledgebaseArticle16399.aspx AB> AB> Newer controllers based on LSI2008 (mps driver?) should not have th

Re: drives >2TB on mpt device

2011-04-04 Thread Gerrit Kühn
On Mon, 4 Apr 2011 14:36:25 +0100 Bruce Cran wrote about Re: drives >2TB on mpt device: Hi Bruce, BC> It looks like a known issue: BC> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/147572 Hm, I don't know if this is exactly what I'm seeing here (although the cause may be the same): I do not us

drives >2TB on mpt device

2011-04-04 Thread Gerrit Kühn
Hi all, I have a freshly installed 8.2-REL with a SuperMicro AOC-USASLP-L8i controller (LSI/MPT 1068E chipset). I have several of these controllers working nicely in other systems. However, this time I tried drives >2TB for the first time (Hitachi Deskstar 3TB). It appears that the mpt device repo

Re: NFS client over udp

2011-02-21 Thread Gerrit Kühn
On Sat, 19 Feb 2011 08:56:45 -0800 (PST) Kirill Yelizarov wrote about Re: NFS client over udp: KY> > > Is ZFS in use on the system which sees rising wired KY> > > memory? KY> > No, ufs only. KY> I found an old post stating there is a leak with nfs udp client over KY> zfs: KY> http://lists.freeb

Re: mbuf leakage with nfs

2010-03-01 Thread Gerrit Kühn
On Mon, 01 Mar 2010 12:52:32 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs: WJW> > In my case it is the Linux client causing the problems (cannot tell WJW> > yet if it is only with udp, but I would think so). If I understand WJW> > Daniel correctly his latest testes were perform

Re: mbuf leakage with nfs/udp (was: mbuf leakage with nfs/zfs)

2010-02-28 Thread Gerrit Kühn
On Sun, 28 Feb 2010 16:52:44 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/udp (was: mbuf leakage with nfs/zfs): DB> well, I have further reduced the problem, it happens with NFS/UDP DB> writes. i'll try the wireshark road, but i'm very rusty with RPC, the DB> other road is to check

Re: mbuf leakage with nfs

2010-02-28 Thread Gerrit Kühn
On Sun, 28 Feb 2010 12:21:28 + "Robert N. M. Watson" wrote about Re: mbuf leakage with nfs/zfs? : RNMW> It's almost certainly one or a small number of very specific RPCs RNMW> that are triggering it -- maybe OpenBSD does an extra lookup, or RNMW> stat, or something, on a name that may not exi

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 22:40:43 +0100 Eirik Øverby wrote about Re: mbuf leakage with nfs/zfs?: E> > So we see this problem with udp clients from OpenBSD and Linux. E> I have not had the opportunity to test with Linux or anything else. I guess all others who reported so far (including me) had Linux

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 11:38:19 -0800 Jeremy Chadwick wrote about Re: mbuf leakage with nfs/zfs?: JC> I should point out that the NFS+ZFS-based filer doesn't actually do its JC> backups using NFS; it uses rsnapshot (rsync) over SSH. There is JC> intense network I/O during backup time though, depend

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 21:36:47 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? : DB> I have been running for the last few hours, 8-rel, and the only client DB> is another DB> 8-stable, furthermore, no ZFS, just plain UFS, and the leak is there! Mounted via udp, not tcp, I guess...?

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 21:32:39 +0100 Eirik Øverby wrote about Re: mbuf leakage with nfs/zfs?: E> I've had a discussion with some folks on this for a while. I can easily E> reproduce this situation by mounting a FreeBSD ZFS filesystem via E> NFS-UDP from an OpenBSD machine. Telling the OpenBSD machi

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 12:26:02 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? : DB> > Hm, I've got a server with 8-PRE from somewhen in Nov09 that is DB> > serving nfs from zfs fine and shows no leakage... DB> the binary search has started! After considering the last email from

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 15:15:52 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs/zfs?: WJW> > 81492/2613/84105 mbufs in use (current/cache/total) WJW> > 80467/2235/82702/128000 mbuf clusters in use WJW> > (current/cache/total/max) 80458/822 mbuf+clusters out of packet WJW> > secondary

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 12:26:02 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? : DB> > Hm, I've got a server with 8-PRE from somewhen in Nov09 that is DB> > serving nfs from zfs fine and shows no leakage... DB> the binary search has started! DB> sorry, have to go know :-) [realy],

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 11:14:56 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? : DB> anyways, I am running tests on an 'unused' server, only me using it to DB> 'make world' DB> and it's leaking. Hm, I've got a server with 8-PRE from somewhen in Nov09 that is serving nfs from zfs fi

Re: mbuf leakage with nfs/zfs?

2010-02-27 Thread Gerrit Kühn
On Sat, 27 Feb 2010 09:24:10 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? : DB> I doubt it, but here is another shot: DB> are we all running samba? I'm asking because the lock manager keeps DB> dying and ... Nope, no samba on my side. I am running lockd and statd on the server

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs/zfs?: WJW> > DB> I'll have to do some packet snooping to check if it's TCP or WJW> > DB> UDP nfs traffic, since some of the clients are Linux ... WJW> > I have Linux clients, too. Some use tcp, some udp

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs/zfs?: WJW> Mine are now: WJW> 41533/2402/43935 mbufs in use (current/cache/total) WJW> 41454/1572/43026/262144 mbuf clusters in use (current/cache/total/max) WJW> 39241/823 mbuf+clusters out of packet sec

Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 22:09:32 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server) : DB> at the moment there is not much activity, but if you check the latest DB> plot.ps you will see that the bottom is slowly increasing, so my bet DB> is that there must

Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 22:09:32 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server) : DB> > Furthermore I found this via Google: DB> > . This did not help, I still see the sam

mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 17:41:02 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> check: DB> ftp://ftp.cs.huji.ac.il/users/danny/freebsd/plot.ps DB> x is seconds, y is mbus current. Looks not as bad as mine. I had 37k when I rebooted the machine some minutes ago (and it's bas

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 17:07:13 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> it's only purpose in life is a nfs server. I thought so, but you did not mention it explicitely. DB> but I wouldn't exclude zfs from the equation yet. DB> I have othere nfs servers, not doing zfs a

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 15:04:37 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> > At least in my case I found out what is eating the buffers: nfsd DB> > does! The buffers stop increasing as soon as I stop nfsd. However, DB> > they start increasing as soon as I start nfsd again.

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 13:31:38 +0100 Gerrit Kühn wrote about Re: em0 freezes on ZFS server: GK> JC> Note how close the "current" value is to that of "total". I'm not GK> JC> too surprised you're seeing what you are as a result of this. GK> JC> What

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 04:03:39 -0800 Jeremy Chadwick wrote about Re: em0 freezes on ZFS server: JC> Note how close the "current" value is to that of "total". I'm not too JC> surprised you're seeing what you are as a result of this. What on JC> earth is this machine doing at all times? Well, spea

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Thu, 25 Feb 2010 14:59:28 -0800 Jack Vogel wrote about Re: em0 freezes on ZFS server: JV> The failure to "setup receive structures" means it did not have JV> sufficient mbufs JV> to setup the RX ring and buffer structs. I'm monitoring mbufs since I rebooted my server. Right now (after 2.5 hou

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Thu, 25 Feb 2010 14:59:28 -0800 Jack Vogel wrote about Re: em0 freezes on ZFS server: JV> The failure to "setup receive structures" means it did not have JV> sufficient mbufs JV> to setup the RX ring and buffer structs. I don't know if this is related, but I updated an amd64 zfs machine with

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 10:34:41 +0100 Willem Jan Withagen wrote about Re: em0 freezes on ZFS server: WJW> Probably the reason why this happened yesterday is that I started WJW> doing major software builds (over ZFS/NFS/TCP/v3) against data stored WJW> on this box. I saw a similar problem this morni

Re: nss_ldap and multiple group memberships

2010-02-25 Thread Gerrit Kühn
On Thu, 25 Feb 2010 15:10:03 +1100 "Scott, Brian" wrote about RE: nss_ldap and multiple group memberships: SB> It looks like you may need to uncomment the line '#nss_map_attribute SB> uniqueMember member' in your ldap.conf to then use the correct SB> attribute name. Yes, that's exactly the solut

Re: nss_ldap and multiple group memberships

2010-02-25 Thread Gerrit Kühn
On Thu, 25 Feb 2010 11:17:32 +1100 "Scott, Brian" wrote about RE: nss_ldap and multiple group memberships: SB> It depends on the type of group. There are at least two types of group SB> objects that you can use in LDAP but only one of them works. You need SB> to use posixGroup objects for unix gr

nss_ldap and multiple group memberships

2010-02-24 Thread Gerrit Kühn
Hi all, Is anyone here using nss_ldap and can successfully get it to work with multiple group memberships? I would really like to get this to work here, but I only get the primary group: penumbra# id gekueh uid=1030(gekueh) gid=1012(aei) groups=1012(aei) getent group comes up with the complete g

Re: bugs in mpt(4) and mptutil(8)

2010-02-11 Thread Gerrit Kühn
On Wed, 10 Feb 2010 08:53:18 -0500 John Baldwin wrote about Re: bugs in mpt(4) and mptutil(8): JB> > This output is definitely wrong, because the drives are split up on JB> > mpt0 and mpt1 (and the USB stick is not connected to mpt at all :-) JB> > as can be seen with camcontrol: JB> Hmm, I aske

bugs in mpt(4) and mptutil(8)

2010-02-10 Thread Gerrit Kühn
Hi, I have 2 8port cards with lsi chips installed in one machine that are driven by mpt(4). I see about the same problem (I think) when disconnecting disks as described here: When I simply pull a disk (without offlineing it first), zfs does not no

Re: zpool vdev vs. glabel

2010-02-10 Thread Gerrit Kühn
On Wed, 10 Feb 2010 10:18:49 +0100 Marius Nünnerich wrote about Re: zpool vdev vs. glabel: MN> It seems there is some kind of race condition with zfs either picking MN> up the disk itself or the label device for the same disk. I guess it's MN> which ever it probes first. This could explain it. H

Re: zpool vdev vs. glabel

2010-02-10 Thread Gerrit Kühn
On Tue, 9 Feb 2010 13:27:21 -0700 Elliot Finley wrote about Re: zpool vdev vs. glabel: EF> I ran into this same problem. you need to clean the beginning and end EF> of your disk off before glabeling and adding it to your pool. clean EF> with dd if=/dev/zero... Hm, I think I did that (at least

Re: zpool vdev vs. glabel

2010-02-09 Thread Gerrit Kühn
On Tue, 9 Feb 2010 06:26:58 -0800 Jeremy Chadwick wrote about Re: zpool vdev vs. glabel: JC> > I'm running out of ideas here... JC> Would "zpool export" and "zpool import" be necessary in this case? I tried that several times, does not change anything. JC> Also, I'm a little confused as to the

zpool vdev vs. glabel

2010-02-09 Thread Gerrit Kühn
Hi, I have created a raidz2 with disk I labeled with glabel before. Right after creation this pool looked fine, using devices label/tank[1-6]. I did some tests with replacing/swapping disks and so on. After doing a zpool offline tank label/tank6 remove disk camcontrol rescan all insert disk camc

Re: hardware for home use large storage

2010-02-09 Thread Gerrit Kühn
On Tue, 09 Feb 2010 17:21:32 +1100 Andrew Snow wrote about Re: hardware for home use large storage: AS> http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H The good thing about this board is that the pineview atoms seem to be 64bit capable, which makes them attractive for zf

Re: hardware for home use large storage

2010-02-09 Thread Gerrit Kühn
CS> pricey hardware raid cards for compatibility reasons. There seem to CS> be no decent add-on SATA cards that play nice with FreeBSD other than CS> that weird supermicro card that has to be physically hacked about to CS> fit. BTW: I recently built some more machines with this card. I can confi

Re: one more load-cycle-count problem

2010-02-08 Thread Gerrit Kühn
On Mon, 8 Feb 2010 06:22:59 -0800 Jeremy Chadwick wrote about Re: one more load-cycle-count problem: JC> The DOS utilities submit custom ATA CMDs or data to all WD disks to JC> toggle or adjust these features. If someone could figure out what the JC> command(s) were, the feature(s) could be imp

Re: one more load-cycle-count problem

2010-02-08 Thread Gerrit Kühn
On Mon, 8 Feb 2010 15:43:46 +0200 Dan Naumov wrote about RE: one more load-cycle-count problem: DN> >Any further ideas how to get rid of this "feature"? DN> 1) The most "clean" solution is probably using the WDIDLE3 utility on DN> your drives to disable automatic parking or in cases where its no

one more load-cycle-count problem

2010-02-07 Thread Gerrit Kühn
Hi all, After being disturbed by the firmware issues of the wd drives causing exceeding load cycles (see thread "immense delayed write to file system (ZFS and UFS2), performance issues" in January), I have found some more problematic drives in the following setup: 4 x 2.5" WDC WD4000BEVT-00ZAT0 i

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 19:12:01 -0500 Damian Gerow wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: DG> Adrian Wontroba wrote: DG> Having a script kick off and write to a disk will help so long as that DG> disk is writable; if it's being used as a hot spare i

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Gerrit Kühn
On Wed, 27 Jan 2010 03:53:20 +0900 Tommi Lätti wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: TL> Well AFAIK WD certifies that there's no extra risk involved unless you TL> go over 300.000 park cycles. On the other hand, my 9 month 1.5tb green TL> drive h

Re: ZFS "zpool replace" problems

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 08:59:27 -0800 Chuck Swiger wrote about Re: ZFS "zpool replace" problems: CS> As a general matter of maintaining RAID systems, however, the approach CS> to upgrading drive firmware on members of a RAID array should be to CS> take down the entire container and offline the drive

Re: ZFS "zpool replace" problems

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 08:46:19 -0800 Jeremy Chadwick wrote about Re: ZFS "zpool replace" problems: JC> - zpool offline JC> - atacontrol detach ataX (where X = channel associated with disk) JC> - Physically remove bad disk JC> - Physically insert new disk JC> - Wait 15 seconds for stuff to settle

Re: ZFS "zpool replace" problems

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 08:27:37 -0800 Jeremy Chadwick wrote about Re: ZFS "zpool replace" problems: JC> Well, to be fair, we can't be 100% certain he got bit by that bug. JC> It's possible/likely, but we don't know for certain at this point. We JC> also don't know what brand hard disks he had conne

Re: ZFS "zpool replace" problems

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 08:15:27 -0800 Chuck Swiger wrote about Re: ZFS "zpool replace" problems: CS> > Meanwhile I took out the ad18 drive again and tried to use a CS> > different drive. But that was listed as "UNAVAIL" with corrupted CS> > data by zfs. CS> There's your problem-- the Silicon Image

Re: ZFS "zpool replace" problems

2010-01-26 Thread Gerrit Kühn
On Tue, 26 Jan 2010 06:30:21 -0800 Jeremy Chadwick wrote about Re: ZFS "zpool replace" problems: JC> I'm removing the In-Reply-To mail headers for this thread, as you've JC> now hijacked it for a different purpose. Please don't do this; start JC> a new thread altogether. :-) Thanks. You're per

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-26 Thread Gerrit Kühn
On Tue, 19 Jan 2010 03:24:49 -0800 Jeremy Chadwick wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: JC> So which drive models above are experiencing a continual increase in JC> SMART attribute 193 (Load Cycle Count)? My guess is that some of the JC> WD Cav

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-19 Thread Gerrit Kühn
On Tue, 19 Jan 2010 03:24:49 -0800 Jeremy Chadwick wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: JC> > JC> If you want a consumer-edition drive that's better tuned for JC> > JC> server work, you should really be looking at the WD Caviar Black JC> > JC> s

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-19 Thread Gerrit Kühn
On Tue, 19 Jan 2010 01:57:36 -0800 Jeremy Chadwick wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: JC> If you want a consumer-edition drive that's better tuned for server JC> work, you should really be looking at the WD Caviar Black series or JC> their RE/

Re: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-19 Thread Gerrit Kühn
On Mon, 18 Jan 2010 21:41:53 -0500 Garrett Moore wrote about Re: immense delayed write to file system (ZFS and UFS2), performance issues: GM> The drives being discussed in my related thread (regarding poor GM> performance) are all WD Green drives. I have used wdidle3 to set all GM> of my drive ti

zfs/nfs mkstemp() failure & subsequent hangs

2009-11-20 Thread Gerrit Kühn
Hi all, I have a 8.0-PRERELEASE zfs/nfs server here that complains about i/o errors when using rsync on a nfs client: rsync: mkstemp "/usr/portage/metadata/cache/app-mobilephone/.ksms-0.1.2.4.BynVFw" failed: Input/output error (5) I found this to be quite similar to kern/135412. However, this o

Re: Support for SAS/SATA non-RAID adapters

2009-11-19 Thread Gerrit Kühn
On Wed, 18 Nov 2009 13:15:59 -0600 Barry Pederson wrote about Re: Support for SAS/SATA non-RAID adapters: BP> What I was questioning was where the OP said: "it fits into a standard BP> PCIe slot and works nicely there as far as I can tell" - which to me BP> sounds like you could use this HBA in

Re: Support for SAS/SATA non-RAID adapters

2009-11-19 Thread Gerrit Kühn
On Wed, 18 Nov 2009 09:35:56 -0800 Freddie Cash wrote about Re: Support for SAS/SATA non-RAID adapters: FC> > Hm, I don't know the recent exchange rate, but are you sure this is FC> > the same card? I paid something like 80,-€ (excl. VAT). FC> Oops, you're right, was reading the model numbers wr

Re: Support for SAS/SATA non-RAID adapters

2009-11-19 Thread Gerrit Kühn
On Wed, 18 Nov 2009 11:37:03 -0600 Barry Pederson wrote about Re: Support for SAS/SATA non-RAID adapters: > > I guess the version of the card I have here was actually intended to > > be used in some kind of special Supermirco-Extension Slot. However, > > it fits into a standard PCIe slot and work

Re: Support for SAS/SATA non-RAID adapters

2009-11-18 Thread Gerrit Kühn
On Wed, 18 Nov 2009 08:56:14 -0800 Freddie Cash wrote about Re: Support for SAS/SATA non-RAID adapters: FC> > I installed a Supermicro AOC-USASLP-L8i card here some days ago. FC> > Should be even cheaper than the ones you mentioned and comes with a FC> > LSI chip supported by mpt driver: FC> > m

Re: Support for SAS/SATA non-RAID adapters

2009-11-18 Thread Gerrit Kühn
On Tue, 17 Nov 2009 16:29:06 -0800 Freddie Cash wrote about Support for SAS/SATA non-RAID adapters: FC> Any recommendations on other SAS/SATA controllers to look at (just not FC> anything with MegaRAID in the name)? I installed a Supermicro AOC-USASLP-L8i card here some days ago. Should be even

zfs panic mounting fs after crash with RC2

2009-11-04 Thread Gerrit Kühn
Hi, Yesterday I had the opportunity to play around with my yet-to-become new fileserver a bit more. Originally I had installed 7.2-R, which I upgraded to 8-0-RC2 yesterday. After that I upgraded my zpool consisting of 4 disks in raidz1 constallation to v13. Some time later I tried to use powerd wh

zfs panic

2009-11-02 Thread Gerrit Kühn
Hi, I got the following panic when rebooting after a crash on 7.2-REL: panic: solaris assert: dmu_read(os, smo->smo_object, offset, size, entry_map) == 0 (0x5 == 0x0), file: /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/spa ce_map.c, line: 341 This seems to be the same pan

Linux/KDE and NFS locking on 7-stable

2009-09-14 Thread Gerrit Kühn
Hi all, I upgraded a FreeBSD fileserver last week from 7.0-stable to 7.2-stable and experience some weird problems now with Linux NFS clients. The Linux Clients mount their home directories via nfs. I usually use "nolock" on the client side, because file locking was always troublesome in the past.

Re: zfs kernel panic

2009-09-09 Thread Gerrit Kühn
On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek wrote about Re: zfs kernel panic: PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. What about vm.kmem_size_max? Does that also need tuning? cu Gerrit ___ freebsd-stable@fre

Re: zfs kernel panic

2009-09-09 Thread Gerrit Kühn
On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek wrote about Re: zfs kernel panic: PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. Yes, it is amd64 (sorry I did not mention that). I will add the option back (the one I used before was set to a somewhat lower value, som

zfs kernel panic

2009-09-08 Thread Gerrit Kühn
Hi folks, I just upgraded a zfs server from 7.0-something to 7.2-stable and hoped to get rid of some minor instabilities I experienced every 6 months or so. Unfortunately, the new system crashed for the first time after only a few hours when copying some files via scp onto it. I got a kernel panic

Re: FreeBSD 7.1 (and 7.2) Breaks re and rl Network Interface Drivers

2009-08-17 Thread Gerrit Kühn
On Mon, 9 Mar 2009 17:33:06 +0900 Pyun YongHyeon wrote about Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers: PY> > I cannot say if the actual issue I had with 7.1-stable has gone PY> > away, too, because this only occured after a longer time of PY> > operation. However, up to now ever

Re: ZFS NAS configuration question

2009-06-02 Thread Gerrit Kühn
On Sat, 30 May 2009 21:41:36 +0300 Dan Naumov wrote about ZFS NAS configuration question: DN> So, this leaves me with 1 SATA port used for a FreeBSD disk and 4 SATA DN> ports available for tinketing with ZFS. Do you have a USB port available to boot from? A conventional USB stick (I use 4 GB or

zfs: dataset is busy

2009-05-11 Thread Gerrit Kühn
Hi all, I have several machines here that do automatic snapshotting via RSEs snapshot-tool (sysutils/freebsd-snapshot). I use a homemade script to incrementally transfer daily snapshots to a backup server. This runs fine with machines running 7.0-STABLE of Jun 08. However, I have one box with 7.1-

Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers

2009-03-09 Thread Gerrit Kühn
On Mon, 9 Mar 2009 14:51:41 +1000 "Gavin Stone-Tolcher" wrote about RE: FreeBSD 7.1 Breaks re and rl Network Interface Drivers: GST> Hi, Just some more feedback on your patch. GST> I have a Jetway J7F4K1G2E board with dual embedded GST> RealteK RTL8110SC. I tried using the 19 January 2009 jkim

Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers

2009-03-09 Thread Gerrit Kühn
On Sun, 8 Mar 2009 11:36:42 +0900 Pyun YongHyeon wrote about Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers: PY> Have you tried re(4) in HEAD? PY> I had one report that re(4) in HEAD still does not fix the issue so PY> I posted a possible workaround for that. Unfortunately he didn't P

Re: zfs crashes with nfs and snapshots

2009-02-17 Thread Gerrit Kühn
On Mon, 16 Feb 2009 19:43:00 +0200 Jaakko Heinonen wrote about Re: zfs crashes with nfs and snapshots: JH> > Ok, I will upgrade to 7.1-stable asap. The client was Linux 2.6.25, JH> > I cannot say if it uses readdirplus and if I could disable that (the JH> > manpage says nothing about it at all, b

Re: fun with if_re

2009-02-13 Thread Gerrit Kühn
On Fri, 13 Feb 2009 20:39:55 +0900 Pyun YongHyeon wrote about Re: fun with if_re: PY> Ok, try attached patch. Thanks, building new images right now. I'll be back later (next week). cu Gerrit ___ freebsd-stable@freebsd.org mailing list http://lists

Re: fun with if_re

2009-02-13 Thread Gerrit Kühn
On Fri, 13 Feb 2009 19:24:00 +0900 Pyun YongHyeon wrote about Re: fun with if_re: PY> > I had to reboot some of the machines meanwhile and could do some PY> > further testing. One strange thing I noticed is that the PY> > re-interfaces often do not come up in a working state after PY> > rebooting

Re: zfs crashes with nfs and snapshots

2009-02-13 Thread Gerrit Kühn
On Wed, 11 Feb 2009 19:55:11 +0200 Jaakko Heinonen wrote about Re: zfs crashes with nfs and snapshots: JH> This is likely the issue described in this message: JH> http://lists.freebsd.org/pipermail/freebsd-fs/2008-October/005217.html Yes, this looks very much like it. JH> The nfs fix has been c

Re: fun with if_re

2009-02-13 Thread Gerrit Kühn
On Thu, 5 Feb 2009 17:28:04 +0900 Pyun YongHyeon wrote about Re: fun with if_re: PY> > I did build new nanobsd images with these patches meanwhile and will PY> > start using them today. However, as it has worked without problems PY> > for weeks with the buggy version before, I will not be able to

zfs crashes with nfs and snapshots

2009-02-11 Thread Gerrit Kühn
Hi folks, I just saw one of my FreeBSD servers (7.0-stable of June 2008) crash while trying to access the .zfs snapshot directory via a nfs client machine. The server got a page fault caused by the nfsd process. It wasn't even able to dump the kernel image anymore. Resetting the machine it first a

Re: fun with if_re

2009-02-05 Thread Gerrit Kühn
On Thu, 5 Feb 2009 12:05:46 +0100 Gerrit Kühn wrote about Re: fun with if_re: GK> Sorry to be back so soon again, but I just noticed that I did in fact GK> not produce new images yesterday. :-) GK> Kernel build stopped with [...] Ignore me, my bad (downloaded the webpage instead of

Re: fun with if_re

2009-02-05 Thread Gerrit Kühn
On Thu, 5 Feb 2009 17:28:04 +0900 Pyun YongHyeon wrote about Re: fun with if_re: PY> > I did build new nanobsd images with these patches meanwhile and will PY> > start using them today. However, as it has worked without problems PY> > for weeks with the buggy version before, I will not be able to

Re: fun with if_re

2009-02-04 Thread Gerrit Kühn
On Wed, 4 Feb 2009 19:46:55 +0900 Pyun YongHyeon wrote about Re: fun with if_re: PY> Since you're using RTL8169SC it could be related with my commit PY> r180519(cvs rev 1.95.2.22). It seems that RTL8169SC does not like PY> memory mapped register access and I think jkim@ committed patch PY> for t

fun with if_re

2009-02-04 Thread Gerrit Kühn
Hi folks, I have several routers here which are based on Jetway J7F4 ITX boards that come with two onboard re-interfaces. I run 7-stable on them via nanobsd and update them about once in three or four months. After the last update (11th December 2008) I have noticed the following strange behaviou

Re: Curious failure of ZFS snapshots

2008-12-01 Thread Gerrit Kühn
On Sun, 30 Nov 2008 01:05:48 + Pete French <[EMAIL PROTECTED]> wrote about Re: Curious failure of ZFS snapshots: PF> Here is what I am doing - this script is run with an argument '7am' or PF> '7pm' once per day. the mysql database is a slave replication from a PF> master, so there is a continu

Re: Curious failure of ZFS snapshots

2008-12-01 Thread Gerrit Kühn
On Sat, 29 Nov 2008 11:46:40 +0100 Pawel Jakub Dawidek <[EMAIL PROTECTED]> wrote about Re: Curious failure of ZFS snapshots: PJD> > > GK> mclane# ll /tank/home/pt/.zfs/ PJD> > > GK> ls: snapshot: Bad file descriptor PJD> > > GK> total 0 PJD> Is there a way for me to reproduce that? None that I c

  1   2   >