From: Jens Axboe <axboe@kernel.dk>
To: yan li <01jay.ly@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: Fio benchmark output "error=Too many open files
Date: Tue, 20 Sep 2011 21:55:41 +0200 [thread overview]
Message-ID: <4E78EFBD.2060603@kernel.dk> (raw)
In-Reply-To: <CAG1+85Fp3HRn+MMQho8X4-34P7mDDdQPj455jCUW3O=wfzPRcQ@mail.gmail.com>
On 2011-09-20 12:06, yan li wrote:
> Hi fio users and developers,
> When I run fio benchmark, there are some error in the screen.
> Does someone meet the same circumstances ?
> Thanks, ^_^
>
> #fio fio.cfg
> ......
> fio: pid=29128, err=24/file:filesetup.c:529,
> func=open(/mnt/rw1/rw1.168.2), error=Too many open files
> fio: pid=29039, err=24/file:filesetup.c:529, func=open(/mnt/rw.79.2),
> error=Too many open files
> fio: pid=29040, err=24/file:filesetup.c:529, func=open(/mnt/rw.80.2),
> error=Too many open files
> fio: pid=29074, err=24/file:filesetup.c:529, func=open(/mnt/rw.114.2),
> error=Too many open files
> fio: pid=29026, err=24/file:filesetup.c:529, func=open(/mnt/rw.66.2),
> error=Too many open files
> ......
Fio keeps all of its data files open, and from the jobs below, you have
3*8*128 = 3072
in data files alone, add some house keeping, and perhaps you hit the
limit? Seems a bit odd, given that the typical max is somewhat larger,
and your selinux settings allow higher as well. What do
/proc/sys/fs/file-{nr,max}
show when this happens? You could also freeze fio at this point and ls
-l /proc/pid-of-fio/fd/ to see if something strange is being held open.
--
Jens Axboe
next prev parent reply other threads:[~2011-09-20 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-20 10:06 Fio benchmark output "error=Too many open files yan li
2011-09-20 19:55 ` Jens Axboe [this message]
2011-09-21 7:34 ` yan li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E78EFBD.2060603@kernel.dk \
--to=axboe@kernel.dk \
--cc=01jay.ly@gmail.com \
--cc=fio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.