shared mem limits in linux6.2

shared mem limits in linux6.2

Post by anja » Sun, 29 Jul 2001 20:49:01



Hi,

Quote:

> I am working on Linux ver 6.2. I would like to have
> explanation  on :

> ipcs -ml

> shm limits

> max no. of segments: 128
> max seg size(1Kb) :32768
> max total shared mem :16777216
> min seg size: 1

> These numerical values are not making any sense
> to me. I would be grateful if you can explain the
> same.

Thanx
anjana
 
 
 

shared mem limits in linux6.2

Post by el.. » Mon, 30 Jul 2001 10:10:22




> I am working on Linux ver 6.2.

The first thing you need to do is find out that there is no "Linux ver 6.2"
yet.

--
http://www.spinics.net/linux

 
 
 

shared mem limits in linux6.2

Post by André Davi » Mon, 30 Jul 2001 09:52:59


Hi,


> > I am working on Linux ver 6.2. I would like to have
> > explanation  on :

> > ipcs -ml

> > shm limits

> > max no. of segments: 128
> > max seg size(1Kb) :32768
> > max total shared mem :16777216
> > min seg size: 1

> > These numerical values are not making any sense
> > to me. I would be grateful if you can explain the
> > same.

If you're worried with not having enough space, try

        echo 134217728 > /proc/sys/kernel/shmmax

I remember someone using that in /etc/rc.d/rc.local to max out the shmem
segment :)

HIH,

Andre
--

 "Share the code. If you hide it ain't good."
                                                Popular knowledge

  Andre.David.vcf
< 1K Download
 
 
 

shared mem limits in linux6.2

Post by André Davi » Tue, 31 Jul 2001 00:03:00




> > I am working on Linux ver 6.2.
> The first thing you need to do is find out that there is no "Linux ver 6.2"
> yet.

Come on!

We all know that. He just meant redhat 6.2 ... right?
--

 "Share the code. If you hide it ain't good."
                                                Popular knowledge

  Andre.David.vcf
< 1K Download
 
 
 

shared mem limits in linux6.2

Post by el.. » Wed, 01 Aug 2001 02:29:57




Quote:>> > I am working on Linux ver 6.2.
>> The first thing you need to do is find out that there is no "Linux ver 6.2"
>> yet.

>Come on!

>We all know that. He just meant redhat 6.2 ... right?

Maybe, maybe not.  Red Hat isn't the only distribution with a 6.2 version.

--
http://www.spinics.net/linux

 
 
 

shared mem limits in linux6.2

Post by André Davi » Wed, 01 Aug 2001 04:53:59




> >Come on!

> >We all know that. He just meant redhat 6.2 ... right?

> Maybe, maybe not.  Red Hat isn't the only distribution with a 6.2 version.

Point taken. But (there's always on of these ;) ) don't forget that
users that think their linux version is x.y (x>2, typically x={6,7}),
usually use RedHat. Not SuSe or Mandrake or Corel, or any other. And you
know why. It's just the MS phenomenon coming all over again ;)

Cheers,

Andre

--

 "Share the code. If you hide it ain't good."
                                                Popular knowledge

  Andre.David.vcf
< 1K Download
 
 
 

1. Q: Mem management in shared mem

Perhaps a simple question: Allocating shared memory is easy but it
would be useful to do some memory management in that allocated area
(i.e. convince free() and malloc() or new and delete to do their
memory allocation and deallocation within the shared memory area).
One solution would be to patch the malloc sources. Any other ideas?

Ciao,
Arno

PS
BTW: I'm aware that any solution requires special synchronisation.
But that is not the problem...

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Arno Puder                    

FB Informatik                                      Tel : +49 +69 798-23975
60054 Frankfurt am Main                            Fax : +49 +69 798-22643
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

2. No TCP/IP

3. monitoring/controlling mem/swap/shared mem

4. newbie problem...

5. SOLVED-- Apache Shared Mem Really Isn't Shared

6. tcsh logs off terminal after 20 min

7. Mem limit @16MB & RH 5.1

8. Problem with FD0490I Network Card

9. solaris7 per process mem limit

10. [2.4] Oops if limit of memory via 'mem=123' failed.

11. New User: 64MB Mem limit?

12. fd/mem/proc/etc limits

13. Help Compiling a SMP Kernel w/o 32MB MEM limit