ulimit Command Problem???

Hi,

I have changed the ulimit for the user dsadm on one of my server. Its only changed IF i su to dsadm from root, but its not changing if i ssh to dsadm.

i want to change the data(kbytes)to unlimited. i edit the /etc/profile and .profile of dsadm user by set this my OS 11.31

ulimit -d unlimited
>id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)

>ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 63488

>ulimit -Sa
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 8000

but when i login to server directly with a dsadm user i facing this error and i see limited number for a data.

/etc/profile[132]: ulimit: exceeds allowable limit
${HOME:-.}/.profile[37]: ulimit: exceeds allowable limit
$ id
uid=111(dsadm) gid=107(dstage)
$ ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) unlimited
$ ulimit -Sa
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303

the kctune command output

maxdsiz 1073741824 Default Immed
maxdsiz_64bit 2147483648 2147483648 Immed
maxfiles 8000 8000 
maxfiles_lim 63488 63488 Immed
maxrsessiz 8388608 Default 
maxrsessiz_64bit 8388608 Default 
maxssiz 134217728 134217728 Immed
maxssiz_64bit 1073741824 1073741824 Immed
maxtsiz 100663296 Default Immed
maxtsiz_64bit 1073741824 Default Immed

please i need your support.

Thanks

The ulimit -d unlimited is not a valid value.

Judging from the current kctune output valid ulimit for user is the kernel parameters are stopping you to increase it further.

Since it's closely related to maxdsize (which is in bytes, while ulimit is in KB)

After increasing the value of maxdsiz parameter you will be able to increase the ulimit -d to more, upto 4GB.

I belive unlimited is wrongly displayed, but i'm open for suggestions.