Re: em0 timeout disconnects server

2011-08-02 Thread Willem Jan Withagen
On 2011-08-02 0:49, Claus Guttesen wrote: Do you happen to run nfs on the server? I had weird problems with igb-timeouts when many nfs-reads occured and a down and up on the interface would restore the network connection for a while. I had vmware-servers on a nfs-share and either when booting

Re: em0 timeout disconnects server

2011-08-02 Thread Willem Jan Withagen
On 2011-08-02 1:00, Jeremy Chadwick wrote: On Tue, Aug 02, 2011 at 12:27:57AM +0200, Willem Jan Withagen wrote: A server just all of a sudden dropped from the network. uptime was 26days. This got my ZFS server hanging: Aug 1 23:39:58 zfs kernel: em0: Watchdog timeout -- resetting Aug 1

ZFS directory with a large number of files

2011-08-02 Thread seanr...@gmail.com
Hi there, I Googled around and checked the PRs and wasn't successful in finding any reports of what I'm seeing. I'm hoping someone here can help me debug what's going on. On my FreeBSD 8.2-S machine (built circa 12th June), I created a directory and populated it over the course of 3 weeks with

Re: ZFS directory with a large number of files

2011-08-02 Thread Ronald Klop
Not an in depth solution for ZFS, but maybe a solution for you. mkdir images2 mv images/* images2 rmdir images Ronald. On Tue, 02 Aug 2011 09:39:03 +0200, seanr...@gmail.com seanr...@gmail.com wrote: Hi there, I Googled around and checked the PRs and wasn't successful in finding any

Re: ZFS directory with a large number of files

2011-08-02 Thread Jeremy Chadwick
On Tue, Aug 02, 2011 at 08:39:03AM +0100, seanr...@gmail.com wrote: On my FreeBSD 8.2-S machine (built circa 12th June), I created a directory and populated it over the course of 3 weeks with about 2 million individual files. I'll keep this real simple: Why did you do this? I hope this was a

Re: ZFS directory with a large number of files

2011-08-02 Thread seanr...@gmail.com
inline On Tue, Aug 2, 2011 at 10:08 AM, Jeremy Chadwick free...@jdc.parodius.com wrote: On Tue, Aug 02, 2011 at 08:39:03AM +0100, seanr...@gmail.com wrote: On my FreeBSD 8.2-S machine (built circa 12th June), I created a directory and populated it over the course of 3 weeks with about 2

Re: ZFS directory with a large number of files

2011-08-02 Thread C. P. Ghost
On Tue, Aug 2, 2011 at 9:39 AM, seanr...@gmail.com seanr...@gmail.com wrote: On my FreeBSD 8.2-S machine (built circa 12th June), I created a directory and populated it over the course of 3 weeks with about 2 million individual files. As you might imagine, a 'ls' of this directory took quite

Re: ZFS directory with a large number of files

2011-08-02 Thread Jeremy Chadwick
On Tue, Aug 02, 2011 at 10:16:35AM +0100, seanr...@gmail.com wrote: On Tue, Aug 2, 2011 at 10:08 AM, Jeremy Chadwick free...@jdc.parodius.com wrote: On Tue, Aug 02, 2011 at 08:39:03AM +0100, seanr...@gmail.com wrote: On my FreeBSD 8.2-S machine (built circa 12th June), I created a

Re: ZFS directory with a large number of files

2011-08-02 Thread Daniel O'Connor
On 02/08/2011, at 19:12, Jeremy Chadwick wrote: When I was being taught the ropes of system administration at Oregon State, the team of crotchety UNIX admins there made it quite clear that there were things you just Did Not Do(tm) to computer systems. Shoving thousands of files into a single

Re: ZFS directory with a large number of files

2011-08-02 Thread Daniel O'Connor
On 02/08/2011, at 18:38, Jeremy Chadwick wrote: On Tue, Aug 02, 2011 at 08:39:03AM +0100, seanr...@gmail.com wrote: On my FreeBSD 8.2-S machine (built circa 12th June), I created a directory and populated it over the course of 3 weeks with about 2 million individual files. I'll keep this

Re: ZFS directory with a large number of files

2011-08-02 Thread Daniel Kalchev
On 02.08.11 12:46, Daniel O'Connor wrote: I am pretty sure UFS does not have this problem. i.e. once you delete/move the files out of the directory its performance would be good again. UFS would be the classic example of poor performance if you do this. If it is a limitation in ZFS it

Re: ZFS directory with a large number of files

2011-08-02 Thread seanr...@gmail.com
On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev dan...@digsys.bg wrote: If it is a limitation in ZFS it would be nice to know that, perhaps it truly, really is a bug that can be avoided (or it's inherent in the way ZFS handles such things) It is possible  that there is not enough memory in

9.0 B1 Panic

2011-08-02 Thread Martin Wilke
9.0 Beta1 Panic Hi guys, I just downloaded and install 9.0 BETA1 but it panics on ACPI. Please view attached screenshot for the error. If you need more information, do let us know. Thanks. ___ freebsd-stable@freebsd.org mailing list

Re: ZFS directory with a large number of files

2011-08-02 Thread Jeremy Chadwick
On Tue, Aug 02, 2011 at 11:55:43AM +0100, seanr...@gmail.com wrote: On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev dan...@digsys.bg wrote: If it is a limitation in ZFS it would be nice to know that, perhaps it truly, really is a bug that can be avoided (or it's inherent in the way ZFS

Re: 9.0 B1 Panic

2011-08-02 Thread Lystopad Olexandr
Hello, Martin Wilke! On Tue, Aug 02, 2011 at 12:41:29PM +0800 m...@freebsd.org wrote about 9.0 B1 Panic: 9.0 Beta1 Panic Hi guys, I just downloaded and install 9.0 BETA1 but it panics on ACPI. Please view attached screenshot for the error. If you need more information, do let us

Re: 9.0 B1 Panic

2011-08-02 Thread Gary Palmer
On Tue, Aug 02, 2011 at 02:58:09PM +0400, Lystopad Olexandr wrote: Hello, Martin Wilke! On Tue, Aug 02, 2011 at 12:41:29PM +0800 m...@freebsd.org wrote about 9.0 B1 Panic: 9.0 Beta1 Panic Hi guys, I just downloaded and install 9.0 BETA1 but it panics on ACPI. Please view

Re: 9.0 B1 Panic

2011-08-02 Thread John Baldwin
On Tuesday, August 02, 2011 12:41:29 am Martin Wilke wrote: 9.0 Beta1 Panic Hi guys, I just downloaded and install 9.0 BETA1 but it panics on ACPI. Please view attached screenshot for the error. If you need more information, do let us know. Thanks. Unfortunately the attachment was

Re: ZFS directory with a large number of files

2011-08-02 Thread seanr...@gmail.com
On Tue, Aug 2, 2011 at 12:07 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: On Tue, Aug 02, 2011 at 11:55:43AM +0100, seanr...@gmail.com wrote: On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev dan...@digsys.bg wrote: If it is a limitation in ZFS it would be nice to know that, perhaps it

Re: ZFS directory with a large number of files

2011-08-02 Thread Matthew Seaman
On 02/08/2011 11:10, Daniel Kalchev wrote: Other than that, perhaps in ZFS it would be easier to prune the unused directory entries, than it is in UFS. It looks like this is not implemented. Remember that ZFS uses copy-on-write for all filesystem updates. Any change to a directory contents

Re: 9.0 B1 Panic

2011-08-02 Thread Martin Wilke
On Aug 2, 2011, at 6:58 PM, Lystopad Olexandr wrote: Hello, Martin Wilke! On Tue, Aug 02, 2011 at 12:41:29PM +0800 m...@freebsd.org wrote about 9.0 B1 Panic: 9.0 Beta1 Panic Hi guys, I just downloaded and install 9.0 BETA1 but it panics on ACPI. Please view attached screenshot for

Re: 9.0 B1 Panic

2011-08-02 Thread John Baldwin
On Tuesday, August 02, 2011 8:58:10 am Martin Wilke wrote: On Aug 2, 2011, at 6:58 PM, Lystopad Olexandr wrote: Hello, Martin Wilke! On Tue, Aug 02, 2011 at 12:41:29PM +0800 m...@freebsd.org wrote about 9.0 B1 Panic: 9.0 Beta1 Panic Hi guys, I just downloaded and install

Re: dtrace ustack kernel panic

2011-08-02 Thread maestro something
Hi, just finished installing FreeBSD-9BETA1 and recompiling the kernel with dtrace. This is even worse, I have the same behavior as mentioned here: http://freebsd.1045724.n5.nabble.com/bin-158431-dtrace-crash-in-dt-proc-lookup-when-attaching-to-PID-assert-dpr-NULL-tt4535367.html#none i.e.,

Re: dtrace ustack kernel panic

2011-08-02 Thread maestro something
Hi, This is even worse, I have the same behavior as mentioned here: http://freebsd.1045724.n5.nabble.com/bin-158431-dtrace-crash-in-dt-proc-lookup-when-attaching-to-PID-assert-dpr-NULL-tt4535367.html#none i.e., dtrace regardless of whether with or without any probes just quits with the

zpool doesn't upgrade - Re: ZFS directory with a large number of files

2011-08-02 Thread Ronald Klop
On Tue, 02 Aug 2011 12:55:43 +0200, seanr...@gmail.com seanr...@gmail.com wrote: On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev dan...@digsys.bg wrote: If it is a limitation in ZFS it would be nice to know that, perhaps it truly, really is a bug that can be avoided (or it's inherent in the

ATA_IDENTIFY requeued due to channel reset LBA=0

2011-08-02 Thread Mike Tancsa
I upgraded a RELENG_8 box from a kernel from ~ June 15th to one today to get some of the zfs and bind updates and on reboot, the box panic'd twice, and booted fine the third time. I have not seen this error before and not sure if its a hardware issue, or some odd timing issue I ran into ?

Re: dtrace ustack kernel panic

2011-08-02 Thread Andriy Gapon
on 02/08/2011 20:46 maestro something said the following: Hi, just finished installing FreeBSD-9BETA1 and recompiling the kernel with dtrace. This is even worse, I have the same behavior as mentioned here:

Re: dtrace ustack kernel panic

2011-08-02 Thread Andriy Gapon
on 03/08/2011 00:03 Andriy Gapon said the following: I tried to run dtruss (as you did) and I got this pre-amble before the assertion: [some dtrace script body] : probe description proc:::exit does not match any probes I guess that in my case I got it because my userland was not compiled

Re: 9.0 B1 Panic

2011-08-02 Thread Martin Wilke
On Aug 3, 2011, at 12:56 AM, John Baldwin wrote: On Tuesday, August 02, 2011 8:58:10 am Martin Wilke wrote: On Aug 2, 2011, at 6:58 PM, Lystopad Olexandr wrote: Hello, Martin Wilke! On Tue, Aug 02, 2011 at 12:41:29PM +0800 m...@freebsd.org wrote about 9.0 B1 Panic: 9.0 Beta1 Panic

Re: dtrace ustack kernel panic

2011-08-02 Thread maestro something
Hi, http://freebsd.1045724.n5.nabble.com/bin-158431-dtrace-crash-in-dt-proc-lookup-when-attaching-to-PID-assert-dpr-NULL-tt4535367.html#none Kind of a mentoring note: it would be much shorter and much more useful to paste PR 158431 or, even better, an http URL to the said PR in FreeBSD PR

Re: dtrace ustack kernel panic

2011-08-02 Thread maestro something
Hi, diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c index c372a47..9bd24a2 100644 --- a/lib/libproc/proc_create.c +++ b/lib/libproc/proc_create.c @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int flags, struct proc_handle **pphdl) else phdl-status =

Re: ATA_IDENTIFY requeued due to channel reset LBA=0

2011-08-02 Thread Jeremy Chadwick
On Tue, Aug 02, 2011 at 04:54:38PM -0400, Mike Tancsa wrote: I upgraded a RELENG_8 box from a kernel from ~ June 15th to one today to get some of the zfs and bind updates and on reboot, the box panic'd twice, and booted fine the third time. I have not seen this error before and not sure if

Re: dtrace ustack kernel panic

2011-08-02 Thread Kevin Oberman
On Tue, Aug 2, 2011 at 3:46 PM, maestro something maestr...@gmail.com wrote: Hi, diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c index c372a47..9bd24a2 100644 --- a/lib/libproc/proc_create.c +++ b/lib/libproc/proc_create.c @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int

Re: dtrace ustack kernel panic

2011-08-02 Thread maestro something
Hi, Hi, diff --git a/lib/libproc/proc_create.c b/lib/libproc/proc_create.c index c372a47..9bd24a2 100644 --- a/lib/libproc/proc_create.c +++ b/lib/libproc/proc_create.c @@ -79,12 +79,11 @@ proc_attach(pid_t pid, int flags, struct proc_handle **pphdl) else