- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- need to chage the file value
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
need to chage the file value
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2011 04:30 AM
08-15-2011 04:30 AM
Re: need to chage the file value
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2011 04:40 AM
08-15-2011 04:40 AM
Re: need to chage the file value
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-16-2011 10:22 PM
08-16-2011 10:22 PM
Re: need to chage the file value
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-17-2011 01:48 AM
08-17-2011 01:48 AM
Re: need to change maxfiles_lim
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:
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP