- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changed kernel parameter not effective after rebo...
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
04-30-2003 04:27 AM
04-30-2003 04:27 AM
I was getting error "fork failed, proc table full"
I found maxuprc low (75), and increased to 200.
Since it is dynamic parameter, it changed. But
After I reboot old value is coming back.
How to make this value permanent?
Thanks in advance.
T.Thayanidhi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 04:47 AM
04-30-2003 04:47 AM
Re: changed kernel parameter not effective after reboot
Your problem is not related directly to maxuprc, but rather to nproc which is static. If you use kmtune -s for maxuprc, change should become permanent but also check if your nproc value really depends on maxuprc.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 04:47 AM
04-30-2003 04:47 AM
Re: changed kernel parameter not effective after reboot
2. Here is how I do it on hp-ux 11.0:
a. SAM:
set display
sam
kernel parameters
change parameter
click okay until reboot now.
b. commands:
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
vi system
# make changes
# maxuprc 200
mk_kernel -s system # makes /stand/build/vmunix_test
ll vmunix_test
cd /stand
cp system system.prev
cp vmunix vmunix.prev
mv dlkm dlkm.vmunix.prev
cp ./build/system system
kmupdate
cd /
shutdown -r 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 04:51 AM
04-30-2003 04:51 AM
Re: changed kernel parameter not effective after reboot
"proc table full" comes from nproc too small. You should change nproc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 05:02 AM
04-30-2003 05:02 AM
Re: changed kernel parameter not effective after reboot
NPROC is static is it enough I feel (4096).
At any movement I don't see processes more
than 300. (ps -ef | wc -l), ans also root
user never gave this erro.
MAXUPRC is change through sam. After reboot
I see in /stand/system "maxuprc 200".
Still I am wondering where from it is picking
up the old value.
Since the maxuprc is dynamic I don't need to
rebuild the kernel correct?
Thanks and Regards
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 05:31 AM
04-30-2003 05:31 AM
Re: changed kernel parameter not effective after reboot
did u rebuild the kernel after changing the value.
(ofcourse sam does this while exiting)
you might have choosen to build the kernel later.
choose defaults from in the SAM screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 05:33 AM
04-30-2003 05:33 AM
Re: changed kernel parameter not effective after reboot
sar -v 5 5
nproc will be listed in numerator / denominator format and designated as "proc-sz". The denominator is your ceiling, the numerator is the current usage. Refer to 'proc-sz' below:
08:06:08 text-sz ov proc-sz inod-sz ov file-sz ov
08:06:10 N/A 0 656/1072 0 900/900 656/656
Use 'kmtune' to display or change its value.
kmtune -q nproc
-or-
kmtune -q nproc -l (* long listing *)
To change 'nproc':
cd /stand/build
kmtune -s nproc=##### -S /stand/build/system
kmupdate /
kmtune -q nproc -S /stand/build/system
mk_kernel -s /stand/build/system
kmupdate /stand/build/system_test
cd /
shutdown -r now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 05:39 AM
04-30-2003 05:39 AM
Re: changed kernel parameter not effective after reboot
To see how many processes are being run by a specific user ID:
ps -f -u oracle
which shows all processes owned by the user oracle.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 05:58 AM
04-30-2003 05:58 AM
Re: changed kernel parameter not effective after reboot
I think you misunderstood the question.
If I change maxuprc,I could see the new value after I exit sam using "# sysdef | grep maxuprc". After that system behaves properly.
If I reboot the value changed from 200 to 75,
And giving problems.
When I exit from sam after modifying maxuprc,
sam doesn't rebuild kernel (i.e. Dynamic parameter)
My question is If I modify a dynamic value, do
I have rebuild the kernel forcebly. If so
then why it is called dynamic?
Thanks and Regards
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 06:16 AM
04-30-2003 06:16 AM
Re: changed kernel parameter not effective after reboot
# kmtune -q maxuprc
==> This shows what's the current value (look at "current" and "planned") they should match. Now say you want to to make it 200, you would ..
# kmtune -s maxuprc+125
# kmtune -q maxuprc
==> You will see planned=200 and current=75.
# kmtune -u
==> Update the change.
# kmtune -q maxuprc
==> Now current=planned.
Check /stand/system to make sure this gets added.
# grep maxuprc /stand/system
The next time you reboot this setting will stay. Now in SAM, after you have changed it, check 2 things..
a) kmtune -q
b) the /stand/system
Are they updated ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 06:22 AM
04-30-2003 06:22 AM
SolutionI think it will help with your problem.
Also have a look at Technical Knowledge Base document KBRC00001138 located here: http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065680020
I think it may give you some other good background.