1834646 Members
2266 Online
110069 Solutions
New Discussion

Re: ulimit problem

 
SOLVED
Go to solution
Murat SULUHAN
Honored Contributor

ulimit problem

Hi

our rp5470 system has these values about ulimit

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

How can I set ulimit's nofiles(descriptors) value to 8192

Best Regards
Murat
Murat Suluhan
5 REPLIES 5
Joseph Loo
Honored Contributor
Solution

Re: ulimit problem

hi,

you may do so at SAM.

sam -> Kernel Configuration -> Configurable Parameters -> maxfiles_lim and maxfiles

you should see maxfiles as 2048, so please set maxfiles to 8192 and maxfiles_lim higher.

regards.
what you do not see does not mean you should not believe
Robert-Jan Goossens
Honored Contributor

Re: ulimit problem

Mark Grant
Honored Contributor

Re: ulimit problem

ulimit -n 8192

However, there is a maximum limit specified by the kernel parameter "maxfiles_lim". Although you can set it higher than this limit using the above command, it probably won't work if the parameter isn't set high enough.
Never preceed any demonstration with anything more predictive than "watch this"
SAHA
Honored Contributor

Re: ulimit problem

I think best palce is to set at kernel
maxfiles_lim.

Thanks,
You must PASS failure on way to success !!!
Murat SULUHAN
Honored Contributor

Re: ulimit problem

Hi all

my ux version is 11.00

I changed maxfiles and maxfiles_lim parameters then reboot

Now

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 8192


Thank you so much
Murat Suluhan