- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to chage the file value
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
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
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
08-15-2011 04:10 AM
08-15-2011 04:10 AM
Hi Gurus,
Could you please guide me how to "Increase the number of maximum files opened files to 8000" in my server box 11.11 ?
is it be done via SAM? I guess its for ulimit?
I need to do it for my Oracle user. Any reboot is needed for this modification?
existing values
server1 $ root:/root# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
server1 $ root:/root#
waiting for your advice.Thank you.
Rgds
Sree
Solved! Go to Solution.
- Tags:
- kernel parms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2011 04:30 AM
08-15-2011 04:30 AM
Re: need to chage the file value
Hi:
You will need to modify the kernal parameter 'nfile' and perhaps 'maxfiles_lim'. The 'maxfiles_lim' governs the hard limit for the number of open files any one process is allowd. The 'nfile' parameter controls the overall system limit for the number of open files. The value of 'nfile' must be nfile >= 2*maxfiles_lim,
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2011 04:40 AM
08-15-2011 04:40 AM
Re: need to chage the file value
Hi James ,
thanks for reply.
Hope we can change the value via sam? any reboot needed?
And I want to assign points to you urus.. dunno how? Any idea?
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2011 04:46 AM
08-15-2011 04:46 AM
Solution
@Sreer wrote:Hope we can change the value via sam? any reboot needed?
And I want to assign points to you urus.. dunno how? Any idea?
Hi (again):
Yes SAM will be fine on 11.11 and yes, as I recall, a reboot will be needed.
As for points, they are now "kudos". You may assign them as you see fit. They are like the old ITRC "bunny". Marking the post that solved your problem is also helpful for future readers, though marking a reply as solved does not generate a kudo. See:
http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos
http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/solutions#solutions
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2011 10:22 PM
08-16-2011 10:22 PM
Re: need to chage the file value
Hi All,
Again,,
I need to set the max open file value for a particular user! eg. want to set it as 8000
How it can be done?
Is it possible to do it as root?
And another case is , from history o/p is it possible to get the time stamp of the commands issued?
eg.
ls -l
reboot
cat file ..
is it possible to get the execution date/time?
Rgds
Sree
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011 01:48 AM
08-17-2011 01:48 AM
Re: need to change maxfiles_lim
>I need to set the max open file value for a particular user! eg. want to set it as 8000
There is one kernel parm for everyone. If you want the max to be 8000 and then reduce it for everyone else, you can add logic in /etc/profile to set the limit smaller to any posix shell user.
(But ksh doesn't have this ulimit -n option.)
Any reason you don't want just give 8000 to everyone?
>Is it possible to do it as root?
Root can do anything. ;-)
The trick is to automate it so you don't have to do it manually more than once.
>from history o/p is it possible to get the time stamp of the commands issued?
Not after the fact. See this topic: