Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: file handle limitation of 255

by radnus (Novice)
on Jul 14, 2010 at 19:07 UTC ( #849610=note: print w/ replies, xml ) Need Help??


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

Hard to believe, considering that I am using Solaris 10. In any case, this restriction is not coming from PERL, but the underlying OS, right?


Comment on Re^2: file handle limitation of 255
Re^3: file handle limitation of 255
by Corion (Pope) on Jul 14, 2010 at 19:08 UTC

    Yes. Perl (not PERL) has no limit on the number of open file handles.

Re^3: file handle limitation of 255
by eyepopslikeamosquito (Canon) on Jul 15, 2010 at 02:26 UTC

    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

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://849610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-12-25 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls