【翻译自mos文章】在/tmp/.oracle目录下的文件是什么?
来源:互联网 发布:大塘网络平台 编辑:程序博客网 时间:2024/05/04 11:51
在/tmp/.oracle目录下的文件是什么?
来源于:
What Are The Files In The /tmp/.oracle Directory? (文档 ID 1050601.6)
问题描述:
在/tmp/.oracle目录下有很多临时文件,比如:
s#1571.1 s#1753.1 s#3246.1
用操作系统的file命令来看这些文件的类型:
[oracle@rhel63single .oracle]$ file s#3710.2s#3710.2: socket[oracle@rhel63single .oracle]$ ps -ef |grep lsnroracle 3710 1 0 15:20 ? 00:00:00 /u02/app/oracle/product/11.2.0.4/db_1/bin/tnslsnr LISTENER -inherit ----->>>注意进程号oracle 8290 3205 0 15:45 pts/0 00:00:00 grep lsnr[oracle@rhel63single .oracle]$
对于 Oracle 7.1.X RDBMS版本:
The files are in /tmp/o OR /var/tmp/o
对于Oracle 7.2.2 RDBMS以及更新版本:
The files are in /tmp/.oracle OR /var/tmp/.oracle
问题解释:
The files that are created are named pipes of the form s{IPC_KEY} and s#{PID of listener}
s{IPC_KEY} files are generated from IPC connections.
s#{PID of listener} files are listener connections to the network. When the listener is started, it creates a new socket file.
Oracle不会自动remove掉这些文件
方案描述:
如果这些文件是 IPC connection files,如果重启操作系统不会自动清理这些文件,那么就手工remove掉这些文件
如果这些文件是 listener connection files,在remove掉这些文件之前,你应该停止掉监听器。这会保证你不会kill掉监听器连接( kill the listener connections)
方案解释:
有些操作系统配置了在shutdown 或者startup时清理/tmp。
为什么这些文件依然在?有如下的原因:
- The system is configured to clean out /tmp and the files will be removed upon reboot and the system has not been rebooted recently.- The system is making a lot of IPC connections and/or the listener has been restarted many times since the last reboot.- The system is NOT configured to clean out /tmp directory.
You may wish to setup a cron job to clean out the /tmp directory regularly if
your system is not configured to clean out /tmp directory.
- 【翻译自mos文章】在/tmp/.oracle目录下的文件是什么?
- 【翻译自mos文章】Clusterware间歇性的hang,命令报CRS-184并且Network Socket Files in /tmp/.oracle or /var/tmp/.oracle被删
- 【翻译自mos文章】oracle支持在RDBMS HOME 下的 符号链接( Symbolic Links)吗?
- 【翻译自mos文章】 在Oracle software 被安装时, /dev/null0文件被创建。
- 【翻译自mos文章】在Oracle GoldenGate中循环使用ggserr.log的方法
- 【翻译自mos文章】在Oracle 数据库中对SHA-2算法的支持
- 【翻译自mos文章】在windows平台上怎么启用Oracle database 企业版的partition?
- 【翻译自mos文章】在win2003 sp1下,遇到无法解释的数据库性能下降
- 【翻译自mos文章】在不同操作系统下的UNIX命令
- 【翻译自mos文章】在不停止Clusterware的情况下重新设置hangcheck Timer
- 【翻译自mos文章】recover.bsq文件在数据库软件安装光盘的哪个位置?
- 【翻译自mos文章】在重建控制文件之前应该考虑的事情
- 【翻译自mos文章】Linux 操作系统下的内存使用
- 【翻译自mos中文文章】重建控制文件的方法
- 【翻译自mos文章】尽管指定了目的地,asmcmd cp命令还是在 +DATA/ASM 下创建文件
- 【翻译自mos文章】在OGG (Oracle GoldenGate) 中使用SCHEMATRANDATA的话,需要额外的db patch
- 【翻译自mos文章】在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求
- 【翻译自mos文章】在oracle db 11gR2版本中启用 Oracle NUMA 支持
- 模式串匹配问题
- 利用caffe 用自己的数据集在imagenet网络中实践
- C++入门学习笔记(二)--类的复制控制
- 快速排序(java实现)
- JAVA 全排列
- 【翻译自mos文章】在/tmp/.oracle目录下的文件是什么?
- 慕课网 Java遇见html-servlet篇
- [转] iOS --- 基于面向协议MVP模式下的软件设计
- Error instantiating class with invalid types () or values ()
- 自我总结
- 获取树莓派当前状态和数据(温度、CPU、内存、硬盘)
- 自动化上位机软件的模块化
- iOS开发系列--Objective-C之KVC、KVO
- 欧拉函数