Samba not using my RAM for shared memory?
Steve Snyder
swsnyder at home.com
Thu Jul 8 21:12:54 GMT 1999
The Samba v2.0.4b doc says:
share modes (S)
These open modes are not directly supported by
UNIX, so they are simulated using shared memory, or
lock files if your UNIX doesn't support shared mem-
ory (almost all do).
Yet I have these files on my (RedHat v6.0 / kernel v2.2.10) system:
# ls -l /var/lock/samba
total 12
-rw-r--r-- 1 root root 1048576 Jul 8 14:51 SHARE_MEM_FILE
-rw-r--r-- 1 root root 12 Jul 8 14:53 SHARE_MEM_FILE.processes
-rw-r--r-- 1 root root 4000 Jul 8 14:57 STATUS..LCK
-rw-r--r-- 1 root root 231 Jul 8 16:49 browse.dat
-rw-r--r-- 1 root root 20 Jul 6 18:41 nmbd.pid
-rw-r--r-- 1 root root 20 Jul 6 18:41 smbd.pid
Note that file SHARE_MEM_FILE is 1MB in size, the same as the default size
("shared mem size") as the shared memory.
Does this mean that Samba is *not* using my system's RAM for tracking file
use? And if not, why not?
Thank you.
*** Steve Snyder ***
More information about the samba
mailing list