From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladimir V. Saveliev" Subject: Re: reiser4: fd -1 problem ? Date: Wed, 07 Dec 2005 13:57:11 +0300 Message-ID: <4396C007.3050408@namesys.com> References: <439626FD.7020500@ursynow.2a.pl> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <439626FD.7020500@ursynow.2a.pl> List-Id: Content-Type: text/plain; charset="iso-8859-1" To: =?ISO-8859-1?Q?Artur_Mak=F3wka?= Cc: reiserfs-list@namesys.com, Alexander Lyamin aka FLX Hello Artur Mak=F3wka wrote: > Hello, i've been investigating this problem for few weeks, and it seems > reiser4 can be reason for this. >=20 > My apache process is from no clear reason suddenly peaking to 95% CPU > usage and it stays that way until i kill it and start again. >=20 > It happens 6-7 times a day, i have hosting services on my server. I > thought it was apache fault, but it strings shows this: >=20 > [pid 31610] munmap(0xb6f29000, 729088) =3D 0 > [pid 31610] mmap2(NULL, 729088, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0xb6f29000 > [pid 31610] munmap(0xb6f29000, 729088) =3D 0 > [pid 31610] mmap2(NULL, 729088, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =3D 0xb6f29000 >=20 >=20 > in endless loop, when this strange 'lock' happens. >=20 > is it a problem of fd -1 ?=20 -1 is fine because MAP_ANONYMOUS is set. > of course that could be also apache bug, that > it can't handle wrong fd number, but why there is wrong fd number? >=20 they are using MAP_ANONYMOUS, fd is ignored in that case. > i ran reiser4.fsck and it didnt help. >=20 what did reiser4.fsck report? No corruptions found? > i use kernel 2.6.12.6 with latest 2.6.12 reiser4 patch, as it seemed the > most stable from recent releases. >=20 > What could be the problem here, and how can i repair it ? should i keep > running fsck.reiser4 until it finds it ? >=20 > it doesnt happen very often, but like i said 6-7 times a day, but it > varies, sometimes it more often sometimes almost 0. >=20 > thanks in advance for response. (this is probably not Apache issue, i > already asked for this many many times) >=20 so far it does not look as reiser4 problem either. Flex, can we have apache server running on reiser4 for test purposes?