Operating System - HP-UX
1833494 Members
2533 Online
110052 Solutions
New Discussion

tzupdater fails "Too many open files"

 
SOLVED
Go to solution
Leon A. Howorth
Advisor

tzupdater fails "Too many open files"

I tried using the tzupdater 1.0.2a for java 1.4 and it failed with message "Too many open files". The apps using /opt/java1.4 were shutdown and I verified with "ps -ef|grep java". Any idea as to why I got that error message? Thanks.
4 REPLIES 4
Dennis Handly
Acclaimed Contributor
Solution

Re: tzupdater fails "Too many open files"

What is the value of your maxfiles_lim tunable?
If 60, you need to make it much bigger. 2 K or 4K. (The defaults on 11.23.)
Leon A. Howorth
Advisor

Re: tzupdater fails "Too many open files"

The Maxfiles and Maxfiles_lim are both 2048.
Leon A. Howorth
Advisor

Re: tzupdater fails "Too many open files"



This is the known side effect on new tzupdater. It fixed the problem with timezone data ownership and permission issue on previous version. But the fix requires a significant number of file handles to be open during processing of the timezone data. If you receive the following type of error:



% /opt/java1.4/bin/java -jar tzupdater.jar -u Too many open files (errno:24)

Here is the word from HP Tech Support:
---------------------------------------
You will need to adjust the maxfiles and maxfiles_lim kernel configuration parameters .

In the README file, it suggests to increase to 4096. I also have customer that failed on 4096, but run sccessfully with bigger setting.

Leon A. Howorth
Advisor

Re: tzupdater fails "Too many open files"

Resolution is to increase maxfiles parameter.