- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem increasing nfile
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
05-13-2007 10:23 PM
05-13-2007 10:23 PM
problem increasing nfile
since serveral times already we don't use the formula anymore (nfile=etc etc) (because with 100 (standard=16) x ( )it made too many characters to complete the formula) now we just put the wanted number (ie 200000)
this time we got an error: nproc < =4 ....
how can I increase my nfile from 140 000 to 200000 (150 000 was not accepted either, and even 140 000 was fount uncorrect, so it seemed)
some values: 1000 users, progress databases with togeteher ca 52 extends, 1 user+some system use=132 open files. on a busy day 126 000 open files.
ptys 2048 (since a month,before it was 1024, files made after latest nfile change)should 1 have changed it in the kernetl too? I experienced a year ago that even if the kernel says 1024, the workeable standard is only 60 ptys (you have to create the files yourself)
i read already some about nfile en nproc but still don't found the answer i wanted/understood
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2007 10:49 PM
05-13-2007 10:49 PM
Re: problem increasing nfile
Bill Hassell counsel's to remove formulas from the kernel in HP-UX. I follow this philosophy. There are some rules you can't break, but formulas are not realistic and can cause frustration.
Take them out using sam and set values you want or need.
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
05-13-2007 11:49 PM
05-13-2007 11:49 PM
Re: problem increasing nfile
You can set nfile to any value (millions). As Steven mentioned, the formula is worthless for most situations. If you need 250000 then replace the formula with that number. Remember that large numbers in sam have no spaces or commas in the number.
> ... only 60 ptys (you have to create the files yourself)
Always change npty, nstrpty and nstrtel at the same time to the same value. If you need 2000 users to login, change all 3 parameters to 2500. When you use sam, the necessary device files are created automatically for you.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2007 02:36 AM
05-14-2007 02:36 AM
Re: problem increasing nfile
you wrote: Always change npty, nstrpty and nstrtel at the same time to the same value
on my server npty=2048, nstrpty=1024 end nstrtel=2048
is this a problem? it was like that before when nfile had a value 140 000
the error while increasing 140 000 to 200000 was more exactly (i rembered when browsing the kernel parameters)
semmnu < =nproc-4
i found that nproc-4 is the maximum for nproc
our values:
nproc=8020
npty=2048
nstrpty=1024
semmnu=12288
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 09:22 PM
05-23-2007 09:22 PM
Re: problem increasing nfile
still haven't got a response for about a week. no brilliant ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2007 10:24 PM
05-23-2007 10:24 PM
Re: problem increasing nfile
I suspect you still have a formula in your system that uses nproc or an nproc derived value that now exceeds some bounds for it.
Likely suspects are (together with their max limits - 11.23):
maxuprc
msgseg =< 32767
msgtql
nfile <= 2147483647
nflocks <= 16777216
ninode <= 30000
nkthread <= 4194304
nproc <= 30000
nstrtel
semmni <= 32767
semmns <= 335534080
semmnu
If you unsure where the formula might be, also look at the file /stand/system - don't edit the file!
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2007 04:48 AM
05-26-2007 04:48 AM
Re: problem increasing nfile
on my server npty=2048, nstrpty=1024 end nstrtel=2048
is this a problem? it was like that before when nfile had a value 140 000
No, the 3 values refer to the number of interactive network logins. The values can be different but it is simpler to make them all the same. The reason is that HP-UX has been changing the underlying pty handling code to streams-based, so it depends heavily on which version you are running. Make them all the same and then you don't have to research your version of HP-UX. The pty values have not relationship to nproc other than if more people login then you'll need more processes (nproc).
> the error while increasing 140 000 to 200000 was more exactly (i rembered when browsing the kernel parameters)
semmnu < =nproc-4
>
> i found that nproc-4 is the maximum for nproc
The comment isn't clear. As mentioned, using the formulas is not helpful. Semaphore count simply depends on processes that need to use semaphores.
Bill Hassell, sysadmin