eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« Using Create directory & UTL_FILE in Oracle | Blog首页 | The Usage Of BFILENAME Function »

Solaris Open File Limit
modb.pro

Solaris操作系统具有打开文件数量的限制,数据库的db_files参数设置会受操作系统的参数限制。
Solaris使用两个参数来控制,可以通过在/etc/system文件中修改参数更改设置:

* set hard limit on file descriptors set rlim_fd_max = 4096 (or whatever) * set soft limit on file descriptors set rlim_fd_cur = 1024 (or whatever)

但是这些设置在32/64位平台下具有先天限制:

A 32-bit program using standard I/O is limited to 256 file descriptors。 A 64-bit program using standard I/O can use up to 2 billion descriptors。

具体可以参考:
Tunable Parameter Change History >> Kernel Parameters
也可以使用sysdef命令查看:

sysdef | grep descriptors

输出结果是16进制显示,第一个是soft limit, 第二个是hard limit:

# sysdef | grep descriptors 0x0000000000000100:0x0000000000001000 file descriptors


历史上的今天...
    >> 2020-04-24文章:
    >> 2016-04-24文章:
    >> 2013-04-24文章:
    >> 2011-04-24文章:
    >> 2008-04-24文章:
           peer.exe 进程是什么?
    >> 2006-04-24文章:

By eygle on 2005-04-24 10:08 | Comments (0) | System | 268 |


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com