|
|
发表于 2006-4-4 23:38:10
|
显示全部楼层
简单的说,如果应用程序使用了posix shared memory(注意是posix不是SysV),就要加上这一行
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
|