ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread Karl Pielorz
Hi All, I originally posted this in freebsd-fs - but didn't get a reply... I have a number of systems (mostly 7.2-S/amd64) running ZFS. Some of these handle millions of files. I've noticed recently, according to df -i I'm starting to run out of inodes on some of them (96% used). e.g.

Re: ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread Ivan Voras
Karl Pielorz wrote: Hi All, I originally posted this in freebsd-fs - but didn't get a reply... I have a number of systems (mostly 7.2-S/amd64) running ZFS. Some of these handle millions of files. I've noticed recently, according to df -i I'm starting to run out of inodes on some of

Re: unix socket: race on close?

2010-02-18 Thread Robert Watson
On Thu, 18 Feb 2010, Mikolaj Golub wrote: Below is a simple test code with unix sockets: the client does connect()/close() in loop and the server -- accept()/close(). Sometimes close() fails with 'Socket is not connected' error: Hi Mikolaj: Thanks for this report, and sorry about not

Re: ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread pluknet
On 18 February 2010 14:41, Ivan Voras ivo...@freebsd.org wrote: Karl Pielorz wrote: Hi All, I originally posted this in freebsd-fs - but didn't get a reply... I have a number of systems (mostly 7.2-S/amd64) running ZFS. Some of these handle millions of files. I've noticed recently,

Re: ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread krad
On 18 February 2010 12:04, pluknet pluk...@gmail.com wrote: On 18 February 2010 14:41, Ivan Voras ivo...@freebsd.org wrote: Karl Pielorz wrote: Hi All, I originally posted this in freebsd-fs - but didn't get a reply... I have a number of systems (mostly 7.2-S/amd64) running ZFS. Some

Re: ZFS'inodes' (as reported by 'df -i') running out?

2010-02-18 Thread Karl Pielorz
--On 18 February 2010 12:41 +0100 Ivan Voras ivo...@freebsd.org wrote: I know ZFS doesn't have inodes (think they're znodes), and is capable of handling more files than you can probably sensibly think about on a filesystem - but is df -i just getting confused, or do I need to be concerned?

Debug registers on FreeBSD‏

2010-02-18 Thread Anderson Eduardo
I want some papers, documentations or articles about Debug Registers on FreeBSD, I googled and didn't find any references about it. I'm using i386 AMD. Can someone help me? _ Quer deixar

Re: Debug registers on FreeBSD‏

2010-02-18 Thread Dunceor
You probobly need to specify it some more. Debug registers for what? The x86 processor, some other hardware or what? What do you need it for since you need debug registers? BR Dunceor On Thu, Feb 18, 2010 at 2:28 PM, Anderson Eduardo anderson_undergro...@hotmail.com wrote: I want some papers,

Re: unix socket: race on close?

2010-02-18 Thread Mikolaj Golub
On Thu, 18 Feb 2010 11:59:40 + (GMT) Robert Watson wrote: On Thu, 18 Feb 2010, Mikolaj Golub wrote: Below is a simple test code with unix sockets: the client does connect()/close() in loop and the server -- accept()/close(). Sometimes close() fails with 'Socket is not connected' error:

Re: Debug registers on FreeBSD

2010-02-18 Thread John Baldwin
On Wednesday 17 February 2010 11:07:36 pm Anderson Eduardo wrote: Hello Folks, First, I'm starting in the world of the debugging FreeBSD Kernel and, I don't know to use kgdb and ddb properly and, I need set breakpoints using debug register. Those breakpoints in the all tasks. This last

Re: Debug registers on FreeBSD

2010-02-18 Thread Kostik Belousov
On Thu, Feb 18, 2010 at 09:44:24AM -0500, John Baldwin wrote: On Wednesday 17 February 2010 11:07:36 pm Anderson Eduardo wrote: Hello Folks, First, I'm starting in the world of the debugging FreeBSD Kernel and, I don't know to use kgdb and ddb properly and, I need set breakpoints

Re: Debug registers on FreeBSD‏

2010-02-18 Thread Ivan Voras
On 02/18/10 14:28, Anderson Eduardo wrote: I want some papers, documentations or articles about Debug Registers on FreeBSD, I googled and didn't find any references about it. I'm using i386 AMD. Can someone help me? Maybe you are thinking about this: http://www.freebsd.org/cgi/man.cgi?pmc

Re: Debug registers on FreeBSD

2010-02-18 Thread John Baldwin
On Thursday 18 February 2010 10:12:39 am Kostik Belousov wrote: On Thu, Feb 18, 2010 at 09:44:24AM -0500, John Baldwin wrote: On Wednesday 17 February 2010 11:07:36 pm Anderson Eduardo wrote: Hello Folks, First, I'm starting in the world of the debugging FreeBSD Kernel and, I

RE: Debug registers on FreeBSD

2010-02-18 Thread Anderson Eduardo
Thanks all, Now I understood too more. I found some manuals of the AMD and I saw more some details about debug registers. I'm going to try doing some hacks today. If I have questions I send it again. From: j...@freebsd.org To: kostik...@gmail.com Subject: Re: Debug registers on FreeBSD

Re: linprocfs proc/pid/environ patch list question

2010-02-18 Thread Fernando Apesteguía
On Wed, Feb 17, 2010 at 8:11 PM, Kostik Belousov kostik...@gmail.com wrote: On Wed, Feb 17, 2010 at 07:51:06PM +0100, Fernando Apestegu?a wrote: Hi, I have a small patch (against 8.0-RELEASE-p2) that _should_ implement the /proc/pid/environ file under linprocfs. However, it seems it does

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Juergen Lock
On Wed, Feb 17, 2010 at 10:38:30PM -0800, Tim Kientzle wrote: Juergen Lock wrote: ... since bsdtar/libarchive know iso9660 I just did the command in the Subject. It worked, but it was sloow... :( Apparently it read all of the disc without seeking. The following patch fixes this, is

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Joerg Sonnenberger
On Thu, Feb 18, 2010 at 07:34:59PM +0100, Juergen Lock wrote: Ok here is a new version of the patch with these things fixed and the Linux case added: (Linux case not tested yet, and yes I did this on stable/8.) Why the check at all? Shouldn't devices that don't allow seek fail that? E.g. for

junior tasks wiki page - please add stuff

2010-02-18 Thread Eitan Adler
I made a wiki page[1] to list small odd-jobs that beginners to work on. It is intended to answer the question I'm just starting out with coding, what can I help with? The tasks put on the wiki page should be things that require little programming skill. It would become a lot more useful if people

Re: Debug registers on FreeBSD‏

2010-02-18 Thread Julian Elischer
Anderson Eduardo wrote: I want some papers, documentations or articles about Debug Registers on FreeBSD, I googled and didn't find any references about it. I'm using i386 AMD. Can someone help me? Usually one does not use the debug registers directlym but instead uses one of the drivers

Re: linprocfs proc/pid/environ patch list question

2010-02-18 Thread Kostik Belousov
On Thu, Feb 18, 2010 at 06:48:35PM +0100, Fernando Apestegu?a wrote: On Wed, Feb 17, 2010 at 8:11 PM, Kostik Belousov kostik...@gmail.com wrote: On Wed, Feb 17, 2010 at 07:51:06PM +0100, Fernando Apestegu?a wrote: Hi, I have a small patch (against 8.0-RELEASE-p2) that _should_ implement

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Juergen Lock
On Thu, Feb 18, 2010 at 07:34:59PM +0100, Juergen Lock wrote: On Wed, Feb 17, 2010 at 10:38:30PM -0800, Tim Kientzle wrote: Juergen Lock wrote: ... since bsdtar/libarchive know iso9660 I just did the command in the Subject. It worked, but it was sloow... :( Apparently it read all

Re: junior tasks wiki page - please add stuff

2010-02-18 Thread Garrett Cooper
On Thu, Feb 18, 2010 at 11:22 AM, Eitan Adler eitanadlerl...@gmail.com wrote: I made a wiki page[1] to list small odd-jobs that beginners to work on. It is intended to answer the question I'm just starting out with coding, what can I help with? The tasks put on the wiki page should be things

Re: Sudden mbuf demand increase and shortage under the load (igb issue?)

2010-02-18 Thread Maxim Sobolev
Folks, Indeed, it looks like igb(4) issue. Replacing the card with the desktop-grade em(4)-supported card has fixed the problem for us. The system has been happily pushing 110mbps worth of RTP traffic and 2000 concurrent calls without any problems for two days now. e...@pci0:7:0:0:

Re: Sudden mbuf demand increase and shortage under the load (igb issue?)

2010-02-18 Thread Pyun YongHyeon
On Thu, Feb 18, 2010 at 05:05:16PM -0800, Maxim Sobolev wrote: Folks, Indeed, it looks like igb(4) issue. Replacing the card with the desktop-grade em(4)-supported card has fixed the problem for us. The system has been happily pushing 110mbps worth of RTP traffic and 2000 concurrent

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Tim Kientzle
Joerg Sonnenberger wrote: On Thu, Feb 18, 2010 at 07:34:59PM +0100, Juergen Lock wrote: Ok here is a new version of the patch with these things fixed and the Linux case added: (Linux case not tested yet, and yes I did this on stable/8.) Why the check at all? Shouldn't devices that don't

Re: junior tasks wiki page - please add stuff

2010-02-18 Thread jhell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 18 Feb 2010 17:13, yanefbsd@ wrote: On Thu, Feb 18, 2010 at 11:22 AM, Eitan Adler eitanadlerl...@gmail.com wrote: I made a wiki page[1] to list small odd-jobs that beginners to work on. It is intended to answer the question I'm just

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Garrett Cooper
On Thu, Feb 18, 2010 at 10:34 AM, Juergen Lock n...@jelal.kn-bremen.de wrote: On Wed, Feb 17, 2010 at 10:38:30PM -0800, Tim Kientzle wrote: Juergen Lock wrote:  ...  since bsdtar/libarchive know iso9660 I just did the command in the Subject.  It worked, but it was sloow... :(  Apparently

Re: Sudden mbuf demand increase and shortage under the load (igb issue?)

2010-02-18 Thread Maxim Sobolev
Jack Vogel wrote: This thread is confusing, first he says its an igb problem, then you offer an em patch :) I suspect it could be patch for the kern/140326. -Maxim ___ freebsd-hackers@freebsd.org mailing list