Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au>
Subject: Re: Disk write error when processing more than 1 GB
Date: Fri, 15 Jun 2001 15:30:37 GMT	[thread overview]
Message-ID: <B7506750.186C4%Mark.Garrett@wedontwantyourspam.com.au> (raw)
In-Reply-To: 9gd5dp$mdb$1@muguet.sncf.fr

in article 9gd5dp$mdb$1@muguet.sncf.fr, Jerome Bellet at
ext.green.bellet@sncf.fr wrote on 16/06/2001 00:17:

> Hi all!
> 
> We use OSF1/AdvFs.
> When our DBMS (Ingres) tries to modify a 1,6 GB table, the following error
> occurs :
> ----------------------------------------------------------------------------
> ---------
> 41  [HOST]  ::[1299            , 000000014228d580]: Fri Jun 15 12:51:04
> 2001 E_CL0606_DI_BADWRITE   Error writing page to disk
> 42  lseek() failed with operating system error 22 (Invalid argument)
> 43  [HOST]  ::[1299            , 000000014228d580]: Fri Jun 15 12:51:04
> 2001 E_DM9006_BAD_FILE_WRITE        Disk file write error on
> database:[DATABASE] table:[TABLE]
> pathname:/var/openi/data/[DATABASE]/ingres/data/default/[DATABASE]
> filename:a0aaaat5.m00 page:1048576
> ----------------------------------------------------------------------------
> ---------
> 
> I've look for any system limits regarding filesizes or memory...Here are the
> outputs :
> ----------------------------------------------------------------------------
> ---------
> % ulimit -Ha
> time(seconds)        unlimited
> file(blocks)         unlimited
> data(kbytes)         1048576
> stack(kbytes)        32768
> memory(kbytes)       507720
> coredump(blocks)     unlimited
> nofiles(descriptors) 4096
> vmemory(kbytes)      1048576
> ----------------------------------------------------------------------------
> ---------
> % ulimit -Sa
> time(seconds)        unlimited
> file(blocks)         unlimited
> data(kbytes)         131072
> stack(kbytes)        2048
> memory(kbytes)       507720
> coredump(blocks)     unlimited
> nofiles(descriptors) 4096
> vmemory(kbytes)      1048576
> ----------------------------------------------------------------------------
> ---------
> 
> Apparently, it is due to the swap area? How can I increase its size?

I'm not sure your telling us everything here. Who told you to look at the
swap area? Why are you displaying the output of ulimit ? ie I wan't you to
back track from the solution phase "How can I increase its size" to
explaining what has happened and who told you what about the problem.

Just because you see a value from ulimit it doesn't mean a database can't
foolishly make it smaller. I've seen it twice now where a programmer never
checked how big some ulimit structure was and make it there owner very big
number which turns out to be smaller that that already set and worse so
small that the program explodes, and every one keeps looking out ulimit -a
and scratching there heads ;)

    I don't think this has anything two do with swap or ulimits so tell me
more.

How about also answering the out put of the following :-
What version of Ingres ?
sizer -v
sysconfig -q proc
sysconfig -q vm
swapon -s

also can we see an ls -l of the database files in
/var/openi/data/[DATABASE]/ingres/data/default/a0aaaat5.m00
what is the page size in use by ingres ? thus what byte offset is pagesize*
1048576 ?

What have CA said about your problem ?



Cheers
        Mark ;)



  reply	other threads:[~2001-06-15 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15 14:17 Disk write error when processing more than 1 GB Jerome Bellet
2001-06-15 15:30 ` Mark Garrett [this message]
2001-06-17 16:22 ` Bob Harris
2001-06-17 17:26 ` Piotri
2001-06-19  7:46 ` Jerome Bellet
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox