- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java:open files error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 07:43 AM
06-05-2007 07:43 AM
Java:open files error
syslog: Java: Number of open files: 1024
Jun 5 08:17:32 syslog: Java: Maximum number of allowed open files: 1024
The current nfile setting is 50000. maxfiles and maxfiles_lim are both 2048.
Does this require a kernel parm change. I can't think of any other parameter for these open files error. no other error in syslog. Please advise.
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 08:20 AM
06-05-2007 08:20 AM
Re: Java:open files error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 08:39 AM
06-05-2007 08:39 AM
Re: Java:open files error
Yes it probably requires a kernel change.
Check maxuprc
Thats probably the problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 08:41 AM
06-05-2007 08:41 AM
Re: Java:open files error
Before invoking java, issue a
ulimit -Sn
and ulimit -Hn
to display the soft and hard limits, respectively.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:05 AM
06-05-2007 09:05 AM
Re: Java:open files error
Jov
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:05 AM
06-05-2007 09:05 AM
Re: Java:open files error
# ulimit -Sa
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015464
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
# ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015464
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) unlimited
Also clay, ulimit -Sn and ulimit -Hn, is that the correct command?
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:10 AM
06-05-2007 09:10 AM
Re: Java:open files error
The maxuprc is set at 2550. I am not sure where it thinks the open files for java is set to 1024.
Thanks
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:13 AM
06-05-2007 09:13 AM
Re: Java:open files error
For more information on 'ulimit' have a look at the man page for whatever shell you are using.
If POSIX (the HP-UX default /usr/bin/sh or /sbin/sh (for root) ) then do 'man sh-posix' and search for 'ulimit'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:14 AM
06-05-2007 09:14 AM
Re: Java:open files error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:24 AM
06-05-2007 09:24 AM
Re: Java:open files error
# ulimit -Sn
ksh: ulimit: bad option(s)
# ulimit -Hn
ksh: ulimit: bad option(s)
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:27 AM
06-05-2007 09:27 AM
Re: Java:open files error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:28 AM
06-05-2007 09:28 AM
Re: Java:open files error
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:38 AM
06-05-2007 09:38 AM
Re: Java:open files error
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 09:41 AM
06-05-2007 09:41 AM
Re: Java:open files error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:18 AM
06-05-2007 10:18 AM
Re: Java:open files error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:48 AM
06-05-2007 10:48 AM
Re: Java:open files error
If all limits are set higher than 1024 and this is still happening, then it probably is a Java issue.
Then its time to go to sun and report it.
What other OS's have maxfiles_lim and maxuprc other than HP-UX.
This IS a HP-UX box is it not?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 12:50 PM
06-05-2007 12:50 PM
Re: Java:open files error
Thanks
Joe.