Re: [Patch] get db2 (finally) working again with shm fs

From: Christopher Zimmerman (zim@av.com)
Date: Tue Jun 06 2000 - 13:44:07 EST


Christoph Rohland wrote:

> Hi Alan,
>
> The following patch against -ac8 finally gets db2 working again with
> recent kernels. (I hate the SYSV API :-( )
>
> It also makes a change to shm.h to make the compile of ipcs
> et.al. happy again.
>
> Please apply
> Christoph
>
> ------------------------------------------------------------------------
>
> patch-shm_perm2Name: patch-shm_perm2
> Type: Plain Text (text/plain)

hey Christoph

I've tried this patch with ac9 and it doesn't seem to solve the problems I've
been having. Basically I can cause any system running 2.4.0-test1+ to lock
up without any messages to the console or log files. Right before the lockup
one can still login, but ps halts at the process that's about to cause the
lock up and top will not even run. If one tries to nicely shutdown the
machine locks. The process in question is multithreaded and basically mmaps
files read/shared and read/write/shared.

Okay I just finished another test. This one takes a while to kill the box.
Basically this program opens a 10GB file and has 100 threads reading and
writing to it. A mutex is used every time the file is accessed. Any help
would be appreciated. :)

-zim

Christopher Zimmerman
AltaVista Company
Index Build Engineering

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:26 EST