From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7e15c77af742f25d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-15 08:30:41 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Mark Garrett Newsgroups: comp.unix.tru64 Subject: Re: Disk write error when processing more than 1 GB Organization: Garetech Computer Solutions Message-ID: References: <9gd5dp$mdb$1@muguet.sncf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 15 Jun 2001 15:30:37 GMT NNTP-Posting-Host: 144.132.244.163 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 992619037 144.132.244.163 (Sat, 16 Jun 2001 01:30:37 EST) NNTP-Posting-Date: Sat, 16 Jun 2001 01:30:37 EST Xref: archiver1.google.com comp.unix.tru64:2532 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 ;)