|
> 有的人说rss实际上内核并不限制
According to AIX ps man page, ulimit -m limits rss size. I suspect your "memory(kbytes) 32768" is exactly that. See your above message #14.
> 我当时用存储过程得到ORA-04030错误,应该是由于data 的限制,而不是rss。当时data的限制正是131072。
How do you know? Can you find out what that "data" means? You have "data(kbytes) unlimited". Maybe you got these two things backward?
> 通过truss对oracle(10.2.0.5)进程进行跟踪可以发现,sqlplus / as sysdba 方式启动进程时,oracle server process重新设置了nofilles和stack的资源限制。
That's what I suspect in message #18. But as I said, we need to confirm that even after setrlimit() is called, ps -v doesn't show the new LIM. So please test it with the four simple commands in my message #18.
> 没有人知道如何像linux一样查看单个进程的limit
Isn't the LIM column of ps -v what you're asking? Read my message #18. But depending on your test, we may say LIM of ps -v probably only shows the process's *initial* limit, not after it calls setrlimit().
Yong Huang
[ 本帖最后由 Yong Huang 于 2011-8-15 13:18 编辑 ] |
|