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-30-2004 09:28 PM
05-30-2004 09:28 PM
maxfiles
I checked using lsof for the number of files being opened by a process and the max i could see was only 109. I believe maxfiles parameter is for the maximum number of files that can be opened by a process. If that's the case, why i am i getting this problem when there are only 109 files being opened by a process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2004 09:42 PM
05-30-2004 09:42 PM
Re: maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2004 09:53 PM
05-30-2004 09:53 PM
Re: maxfiles
# sysdef | grep maxfiles
Calculate the number of open files for the Oracle user by using the Oracle SQL*Plus to get these values. Shutdown the database first, then execute these commands as the Oracle user:
SQL> connect sys/
SQL> startup mount
SQL> select count(*) from v$datafile;
SQL> select count(*) from v$controlfile;
SQL> select count(*) from v$logfile;
The sum of these values for all instances should be less than MAXFILES.
To change the MAXFILES kernel parameter:
1. Change the parameter value by using the 'sam'
2. Rebuild the kernel by using the 'sam'
3. Shutdown the database
SQL> shutdown immediate
4. Reboot the server
5. Startup the database, again using the Oracle SQL*Plus:
SQL> connect sys/
SQL> startup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:46 PM
05-31-2004 08:46 PM
Re: maxfiles
sar -v 2 10
09:49:22 text-sz ov proc-sz ov inod-sz ov file-sz ov
09:49:24 N/A N/A 187/1220 0 1204/1538 0 1466/6010 009:49:26 N/A N/A 187/1220 0 1239/1538 0 1466/6010 0
My parameter nfile is set to 6000!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:47 PM
05-31-2004 08:47 PM
Re: maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 08:57 PM
05-31-2004 08:57 PM
Re: maxfiles
1:54:44 text-sz ov proc-sz ov inod-sz ov file-sz ov
11:54:49 N/A N/A 206/4116 0 1181/34848 0 1592/63558 0
11:54:54 N/A N/A 204/4116 0 1181/34848 0 1588/63558 0
11:54:59 N/A N/A 202/4116 0 1181/34848 0 1590/63558 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 09:01 PM
05-31-2004 09:01 PM
Re: maxfiles
have u read Oracle Metalink Document ID: 169706.1, i.e. if u r on Oracle 9i?
for HP-UX 11.11 running 9.2.0, the kernel parameters are :
KSI_ALLOC_MAX (NPROC*8)
MAX_THREAD_PROC 256
MAXDSIZ 1073741824 bytes
MAXDSIZ_64BIT 2147483648 bytes
MAXSSIZ 134217728 bytes
MAXSSIZ_64BIT 1073741824
MAXSWAPCHUNKS 16384
MAXUPRC ((NPROC*9)/10)
MSGMAP (MSGTQL+2)
MSGMNI NPROC
MSGSEG 32767
MSGTQL NPROC
NCALLOUT (NKTHREAD+16)
NCSIZE ((8*NPROC+2048)+VX_NCSIZE)
NFILE (15*NPROC+2048)
NFLOCKS 4096
NINODE (8*NPROC+2048)
NKTHREAD (((NPROC*7)/4)+16)
NPROC 4096
SEMMAP (SEMMNI+2)
SEMMNI 4096
SEMMNS (SEMMNI*2)
SEMMNU (NPROC - 4)
SEMVMX 32768
SHMMAX AvailMem
SHMMIN 1
SHMMNI 512
SHMSEG 32
VPS_CEILING 64
do reply on your OS version and Oracle DB version.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 09:19 PM
05-31-2004 09:19 PM
Re: maxfiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 10:13 PM
05-31-2004 10:13 PM
Re: maxfiles
I have checked my parameters the only difference are
max_thread_proc = 64
maxuprc = 2048
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 10:41 PM
05-31-2004 10:41 PM
Re: maxfiles
Also check if are are in the latest patch set: 9.2.0.5 (see note 263791.1 on Metalink)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2004 10:49 PM
05-31-2004 10:49 PM
Re: maxfiles
See also shmmax: for 1.5 Gb of memmory, I setted it to 1073741824 (1 Gb): 75% of the total memmory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2004 03:27 AM
06-02-2004 03:27 AM
Re: maxfiles
Are you still there? I you solved your issue??
Another thing that may help is on this thread: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604320