perlbal[603]: crash log: illegal fh argument, either not an OS file or read/write mode mismatch.

16 views
Skip to first unread message

Marty

unread,
Jul 1, 2009, 8:42:26 AM7/1/09
to mogile
We've been using Mogile in our production environment for a while now.
We have, however, been unable to get reliable instances running on 2
of our newer servers.

The mogstored becomes unresponsive to mogadm fsck and the only
information we have to go on is the following line in /var/log/
messages

Jul 1 07:14:16 eul0001303 perlbal[603]: crash log: illegal fh
argument, either not an OS file or read/write mode mismatch at /usr/
local/.../perl/lib/site_perl/5.10.0/Perlbal/AIO.pm line 41.

Restarting mogstored fixes the issue for a few minutes. When the
mogstored daemon becomes unresponsive, it refuses even basic telnet
connections..

Can anybody shed some light on this issue?

Regards

Marty

Sanados

unread,
Jul 8, 2009, 4:51:46 AM7/8/09
to mogile
we ran into this problem aswell.
Just happens for us when draining devices though.

I am out of ideas. :(

Sanados

unread,
Jul 13, 2009, 1:57:16 AM7/13/09
to mogile
seems that is an issue caused by an update in IO::AIO from Sun Apr 19
21:17:32 CEST 2009.

-- crash log: illegal fh argument, either not an OS file or read/write
mode mismatch at /usr/local/share/perl/5.8.8/Perlbal/AIO.pm line 35

sanados

unread,
Jul 13, 2009, 2:58:44 AM7/13/09
to mog...@googlegroups.com
as workaround i just replaced:

IO::AIO::aio_readahead($fh, $offset, $length, $cb); ##on line 35
with
$cb->();

this sure is not the right way, but it works until someone comes up with
a new version.

dormando

unread,
Aug 29, 2009, 3:50:04 AM8/29/09
to mog...@googlegroups.com
Were you running a released version of IO::AIO, or tracking their code
repo?

sanados

unread,
Aug 31, 2009, 3:25:03 AM8/31/09
to mog...@googlegroups.com
Installed released version over CPAN.
Reply all
Reply to author
Forward
0 new messages