修改/dev/shm大小

/dev/shm  在oracle开启AMM时发现/dev/shm下的空间不够用

WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 10536091648 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 8589852672 and used is 81920 bytes.
memory_target needs larger /dev/shm

tmpfs是Linux/Unix系统上的一种基于内存的文件系统。tmpfs可以使用您的内存或swap分区来存储文件。由此可见,tmpfs主要存储暂存的文件。它有如下2个优势 : 1. 动态文件系统的大小。2. tmpfs 的另一个主要的好处是它闪电般的速度。因为典型的 tmpfs 文件系统会完全驻留在内存 RAM 中,读写几乎可以是瞬间的。同时它也有一个缺点  tmpfs 数据在重新启动之后不会保留,因为虚拟内存本质上就是易失的。所以有必要做一些脚本做诸如加载,绑定的操作。

参考:1.https://blog.csdn.net/weiwangsisoftstone/article/details/38581843

           2.https://jingyan.baidu.com/article/358570f60c9b8dce4724fce8.html

猜你喜欢

转载自www.cnblogs.com/jycjy/p/10097183.html