Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: file handle limitation of 255

by eyepopslikeamosquito (Chancellor)
on Jul 15, 2010 at 02:26 UTC ( #849676=note: print w/replies, xml ) Need Help??

in reply to Re^2: file handle limitation of 255
in thread file handle limitation of 255

When I logged in as a non root user to a Solaris 10 system, my default file limit (somewhat to my surprise) was 256 but I was able to change it easily enough as shown in the shell session below:

# ulimit -n 256 # ulimit -n 1024 # ulimit -n 1024

Replies are listed 'Best First'.
Re^4: file handle limitation of 255
by radnus (Novice) on Jul 15, 2010 at 17:40 UTC

    This problem of 255 limit happens even after the hard/soft ulimit has been altered. That is why I started this thread. I set this on /etc/system :- set rlim_fd_max=65536 set rlim_fd_cur=65536 So that I get :- host# ulimit -n 65536 But still I have 255 limitation.

      I can assure you that Solaris 10 does not have some bizarre 255 limitation on process file descriptors, at least that's not what I've experienced, having used many Solaris 10 systems over the years. Besides, no modern Unix vendor could survive with such a ridiculous limit. It therefore appears that you have a broken Solaris 10 system and that your 255 file handle "limitation" can be fixed with proper Solaris 10 system administration. Based on a random Solaris 10 google, you seem to be doing the right thing with /etc/system. I am not a Solaris sysadmin though, so I suggest you ask Sun for technical support and/or ask for help on a Solaris 10 system administration forum. I hope it's not something silly like having to reboot and/or login/logout before the new file descriptor limit takes effect.

        It really is a nasty problem with Solaris, that needs some patching. (looks shady) Check:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849676]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-05-21 07:39 GMT
Find Nodes?
    Voting Booth?