problem writing more than one thousand files

Brad Fitzpatrick brad at danga.com
Sat Sep 23 23:29:20 UTC 2006


Done in svn.  Will be in Perlbal 1.51.

[root at brad1 perlbal]# cat /etc/redhat-release
CentOS release 4.2 (Final)

[root at brad1 perlbal]# uname -a
Linux brad1 2.6.12.6-xenU #1 SMP Fri Apr 7 12:46:13 PDT 2006 x86_64 x86_64 x86_64 GNU/Linux

[root at brad1 perlbal]# ./perlbal --conf=conf/webserver.conf
WARNING:  Your installation of Linux::AIO doesn't work.
          You seem to have installed it without 'make test',
          or you ignored the failing tests.  I'm going to ignore
          that you have it and proceed without async IO.  The
          modern replacement to Linux::AIO is IO::AIO.
WARNING:  AIO mode disabled or not available.
          Perlbal will run slowly under load if you're doing any
          disk operations. (e.g. web_server mode).
          Install IO::AIO for better performance.
Running.
beginning run


[root at brad1 perlbal]# mv /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/IO/AIO.pm{.away,}

[root at brad1 perlbal]# ./perlbal --conf=conf/webserver.conf
Running.
beginning run



On Sat, 23 Sep 2006, Brad Fitzpatrick wrote:

> I actually suggested mogstored refuse to start-up if the tests fail.  That
> is, mogstored will do the questionable test that so often fails before it
> even daemonizes, letting the user know.
>
> It supports both because Perlbal supports both, because historically
> Linux::AIO was the stable one and IO::AIO was experimental.
>
>
>
> On Fri, 22 Sep 2006, Jay Buffington wrote:
>
> > This is something that we talked about at the summit.  This problem
> > happens a lot.  I think Brad suggested that mogile should refuse to
> > install if Linux::AIO make test failed.
> >
> > Also, is there any reason why someone would want to use Linux::AIO
> > instead of IO::AIO?  Why should Mogile support both?  It might
> > simplify things if we drop Linux::AIO support and require IO::AIO.
> > I'd be happy to strip out Linux::AIO if people think this is a good
> > idea.
> >
> > Jay
> >
> > On 9/22/06, komtanoo.pinpimai at livetext.com
> > <komtanoo.pinpimai at livetext.com> wrote:
> > > Seems like you force install Linux::AIO, even it fails the tests.
> > > Uninstall failed Linux::AIO and install IO::AIO instead.
> >
> >
>
>


More information about the mogilefs mailing list