• oracle TNS12549: TNS:operating system resource quota exceeded


    1.问题现象
    客户端无法连接到,listener运行正常,但是,在重新启动listener后报出如下错误:
    TNS-12549: TNS:operating system resource quota exceeded
    TNS-12560: TNS:protocol adapter error
       TNS-00519: Operating system resource quota exceeded
        IBM/AIX RISC System/6000 Error: 11: Resource temporarily unavailable

    监听无法启动,观察后台连接到数据库的session不是很多。

    2.问题处理思路
    既然提示资源超出额度,无外乎和压力和限制有关,从另外一个角度来分析,既然是新做的系统,是否与某些与“限制”相关的没有调整有关?
    这个maxuproc参数可以解释为“max user processes”,用来限制每个用户最多可用的进程数(类似于Oracle的processes参数对session数的限制)。

    CentOS修改用户最大进程数

    一般在/etc/security/limits.conf 中修改最大打开文件数和进程数,如:

    * soft noproc 102400
    * hard noproc 102400
    * soft nofile 102400
    * hard nofile 102400

    但是在centos 6.3下,方法不一样了

    首先在/etc/security/limits.conf中修改最大文件数和进程数

    *  soft  nofile  102400

    *  hard  nofile  102400
     
    然后在/etc/security/limits.d/90-nproc.conf中修改最大文件数和进程数
    *  soft  nproc  102400
    *  hard  nproc  102400

  • 相关阅读:
    Codeforces 1196E. Connected Component on a Chessboard
    Codeforces 1196C. Robot Breakout
    Codeforces 1194E. Count The Rectangles
    Codeforces 1194D. 1-2-K Game
    Codeforces 1194C. From S To T
    Codeforces 1194B. Yet Another Crosses Problem
    Codeforces 1194A. Remove a Progression
    Codeforces 1201E2. Knightmare (hard)
    关于cookie
    关于js的addEventListener 和一些常用事件
  • 原文地址:https://www.cnblogs.com/uniqueness/p/3035024.html
Copyright © 2020-2023  润新知