lkml.org 
[lkml]   [2001]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectShared memory confusion
Date
Hello,
I try locked shared memory with shmctl.
I get :

ipcs


------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 131072 root 644 110592 6 dest
0x00000000 163841 root 777 196608 2 dest
0x00000000 262146 root 644 110592 2 dest
0xd679dce8 360451 oracle 640 38506496 6 locked

Segments 'oracle' is locked (I guess)

cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 526213120 518074368 8138752 0 62365696 286019584
Swap: 542826496 2560000 540266496
MemTotal: 513880 kB
MemFree: 7948 kB
MemShared: 0 kB
Buffers: 60904 kB
Cached: 276816 kB
SwapCached: 2500 kB
Active: 357364 kB
Inactive: 89768 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 513880 kB
LowFree: 7948 kB
SwapTotal: 530104 kB
SwapFree: 527604 kB

MemShared is 0kB. Why ?
Is shared memory really locked ?

regards,
haris peco
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.049 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site