On Fri, 2005-05-13 at 16:13 +0200, Per Jessen wrote: > Dave Kleikamp wrote: > > > Ideally, it would be best to avoid this. There may be cases where we're > > part of the way into a transaction and without allocating memory, we > > can't complete it, leaving the file system in an inconsistent state. It > > isn't normal to have 0-order allocations fail. > > I didn't think so - the box is a dual Xeon 500MHz with 1280Mb memory. The > application does use > quite a bit of memory, but would normally be less 1Gb.
How much swap space? (Not that I know how much swap space you should have.) > > Is there anything in the syslog to indicate why jfs mounted read-only? > > There should be. > > Not much - and nothing that actually says 'jfs': > > May 13 07:47:51 gold Last message repeated 2 times > May 13 07:47:51 gold kernel: __alloc_pages: 0-order allocation failed > (gfp=0x1d0/0) > May 13 07:47:51 gold kernel: ERROR: (device sd(8,1)): txAbort > May 13 07:47:52 gold kernel: __alloc_pages: 0-order allocation failed > (gfp=0x70/0) > May 13 07:47:52 gold kernel: __alloc_pages: 0-order allocation failed > (gfp=0x1f0/0) > May 13 07:47:52 gold kernel: __alloc_pages: 0-order allocation failed > (gfp=0x1d0/0) > May 13 07:47:52 gold kernel: __alloc_pages: 0-order allocation failed > (gfp=0x1f0/0) > > an hour later I see another couple of "ERROR: (device sd(8,xx)): txAbort". > At this point the > memory situation looked ok, and I could also do a normal shutdown. > I'm wondering if the txAbort indicates a hardware problem, except I've seen > no other > indications. The txAbort error does come from JFS. This would be the case that a transaction is partially completed, but the out-of-memory error prevented it from completing. You can change the behavior of jfs to leave the file system read-write by mounting with "-o errors=continue". The default is errors=remount-ro, and you probably don't want errors=panic. -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
