1753877 Members
7392 Online
108809 Solutions
New Discussion юеВ

ulimit -d problems

 
SOLVED
Go to solution
ellaia adil
New Member

ulimit -d problems

Hi,
i want to set ulimit for user Oracle to 4000000.
i set "unlimited" as hard limit, but when i try to set 4000000 to soft limit, it doesn't work.
thx.

[crm-prd1]/home/oracle>ulimit -Hd unlimited
[crm-prd1]/home/oracle>ulimit -Hd
unlimited
[crm-prd1]/home/oracle>ulimit -d
2000000
[crm-prd1]/home/oracle>ulimit -d 4000000
su: ulimit: The specified value exceeds the user's allowable limit.
5 REPLIES 5
RAC_1
Honored Contributor
Solution

Re: ulimit -d problems

Your value is exceeding maxdsiz kernel setting.

What are your settings for maxdsiz and maxdsiz_64bit?
There is no substitute to HARDWORK
spex
Honored Contributor

Re: ulimit -d problems

# kmtune | grep maxdsiz
ellaia adil
New Member

Re: ulimit -d problems

Hi,
maxdsiz 2147483648
maxdsiz_64bit 2147483648
spex
Honored Contributor

Re: ulimit -d problems

Hi,

You will need to increase these parameters and recompile your kernel.

Here's the relevant chapter from HP's SW Recovery Handbook:

http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fiv%2FdocDisplay.do%3FdocId%3DprodITRC%2FDE_SW_UX_swrec_EN_01_E%2FKernel.pdf&aid=SEARCH_IV&pil=1&serStr=kernel+compile

You can also use 'sam' to do this.

PCS
ellaia adil
New Member

Re: ulimit -d problems

Thx for your posts.
i dont understand why have i to increase maxdsize & maxdsize_64bit ? (setten to 2G)

however, i want to set "ulimit -d" to juste 4Mega.