Changing rlim_fd_max online

2007-12-24 19:34:00

Hi. I'm trying to change rlim_fd_max online (without a reboot) on
Solaris 2.6. I've been playing on a test system, and successfully
rewrote the setting with
echo "rlim_fd_max/W 0x800" | adb -kw /dev/ksyms /dev/mem. I have
verified that the kernel believes it is changed as well. I still can't
set my number of files limit past 1024 though.

Since rlim_fd_max doesn't limit root, it doesn't seem like this should
be a built-in boot-time structure. Does anyone know if it's possible to
change this online (basically I need to up the max number of file
descriptors for a non-root user), and if so what I'm doing wrong?

Thanks,

George

--
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);

Comments

Got something to say?

You must be logged in to post a comment.