Question about shared memory
Posted: Wed Mar 09, 2011 6:50 pm
Hi,
I have a Guruplug with 3 cameras, these are my settings in /etc/sysctl.conf:
And this is the ipcs output:
Everything works fine, but I have a doubt.... could anyone explain me (I'm a newbie!), the 'df -f' command output?
Why the system is showing a 1% of shared memory used, if the real use is about 6913112*3 bytes, that is aprox.20 Mbytes??
Any good explanation is welcome! Thanks in advance,
PacoLM
I have a Guruplug with 3 cameras, these are my settings in /etc/sysctl.conf:
Code: Select all
kernel.shmmax = 3221225472
kernel.shmall = 786432
Code: Select all
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x7a6d0001 1114112 www-data 700 6913112 2
0x7a6d0002 1146881 www-data 700 6913112 2
0x7a6d0003 1376258 www-data 700 6913112 1
Code: Select all
Filesystem Size Used Avail Use% Mounted on
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 736K 9.3M 8% /dev
tmpfs 252M 4.0K 252M 1% /dev/shm <<< look this line!
rootfs 463M 291M 172M 63% /
tmpfs 252M 0 252M 0% /var/cache/apt
/dev/sdc1 75G 4.7G 70G 7% /zmdisk
Any good explanation is welcome! Thanks in advance,
PacoLM