The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
kernel parameter values mhbd UNIX for Dummies Questions & Answers 1 03-21-2008 04:50 AM
kernel parameter in SOL aladdin UNIX for Dummies Questions & Answers 3 05-22-2007 05:51 AM
How to change a kernel parameter soestx UNIX for Dummies Questions & Answers 7 05-18-2005 09:12 PM
kernel parameter settings grep UNIX for Dummies Questions & Answers 2 12-09-2002 09:10 PM
kernel parameter Prafulla UNIX for Dummies Questions & Answers 1 02-09-2002 11:06 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-15-2001
Registered User
 

Join Date: Jul 2001
Location: India
Posts: 57
Arrow kernel parameter

Hi all

How to change the system parameter (kernel Parameter)
in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048

i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process reached can not fork a new process.

->If i make a entry in /etc/system
set semsys:seminfo_v.v_proc=8000

WILL IT WORK after a reboot?

IN HPUX we can easily do it from SAM tool.
But i don't know how to in SOLARIS

please suggest .....

try n learn
praful
Forum Sponsor
  #2  
Old 10-16-2001
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,614
I was hoping that a Sun expert would show up and tackle this question. But I guess I'll give it a try.

First, yes you modify /etc/system and reboot...no need to build a new kernel, it gets built on the up.

But your syntax looks wrong. We have stuff like:
set semsys:seminfo_semmni= 4096
in our /etc/system. Any values in the seminfo structure are going to support system v semaphores.

On hp-ux, maxuprc is the max processes per user with maybe 50 or 100 being typical values. But on Sun maxuprc is the total processes for all users and it is typically set to NPROC - 5. So while you could bump this up, it wouldn't make sense.

If you are getting "can't fork", you surely want to up NPROC. But, just as with hp-ux, NPROC is a calculated value that rides off MAXUSERS. So my guess is that you want to increase MAXUSERS, which will increase NPROC, NFILE, NINODE, NCALLOUT, and NCLIST all at once.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0