- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle Users can't login - Fork Error- Too man...
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
Discussions
Forums
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
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
тАО09-05-2001 07:50 AM
тАО09-05-2001 07:50 AM
in. It says too many processes.
We have increased our work/ # of people on this
box for Oracle 8i.
I get no errors in syslog. But in Oracle we
get "can't start a dedicated process in Oracle".
We doubled the kernel parameters:
SEMMNI to 200
SEMMNS to 400
We are running Oracle 8i. Can you think
of any other parameters to increase?
Everything was running fine till we increased
the oracle work load. We have 4 CPU's of 440MHz and ONLY 2 GB of Memory...Could this
be the problem?
Thank you,
Laurie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 07:59 AM
тАО09-05-2001 07:59 AM
SolutionThere are two kernel parameters that need to be adjusted.
maxuprc and nproc.
Check nproc by executing
sar -v 2 20
if you see proc-sz almost full, then you need to increase it.
I would say increase it to the current value + 30% of the current value.
maxuprc will be fine most of the times.
You can use SAM to accomplish this task.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 08:04 AM
тАО09-05-2001 08:04 AM
Re: Oracle Users can't login - Fork Error- Too many processes
"Too many processes" points to the kernel parameter 'nproc' or 'maxuprc'.
If you are getting this failure only for a particular user, then you may want to increase the 'maxuprc' kernel parameter. If this is happening for all users (system-wide), then you may want to increase 'nproc'. In either case, make sure that the overflow isn't due to a rogue application.
Since 'nproc' is calculated based on 'maxusers', you may want to increase 'maxusers' and let it inflate 'nproc'.
You can use 'sar -v' and 'glance' ([t]able view) to monitor 'nproc' utilization.
With 'sar' if you do this:
# sar -v 5 10
...then you will get 10-samples at 5-second intervals of critical table levels. The one headed "proc-sz" shows the current and maximum 'nproc' values along with the number of times an overflow has occured.
See this document for an guide to kernel parameters:
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 08:09 AM
тАО09-05-2001 08:09 AM
Re: Oracle Users can't login - Fork Error- Too many processes
How many oracle processes are running?
You may getting limited by the kernel parameter maxuprc (which by default is 75, which means any user cannot spawn more than 75 processes) If this is the only user who is having this problem then you may get by increasing just this parameter, you may also want to look at the parameter nproc (which determines the maximum(total) number of processes that can be run simultaneously)
A quick way to check the number of oracle processes is "ps -ef |grep oracle |wc -l"
You could also look at sar -v and look for the entry proc-siz (which indicates the total number of processes (nproc) running on the system)
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 02:51 PM
тАО09-05-2001 02:51 PM
Re: Oracle Users can't login - Fork Error- Too many processes
Before increasing value of nproc, try looking for zombies process :
#ps -ef ? grep defunct ?grep -v grep
if there is an ouput, then you may look way you have them first. Otherwise,
#sar -v interval numberOfTimes
and look for proc-sz to see how full it is in comparing with the value just next to the slash "/".
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 05:10 PM
тАО09-05-2001 05:10 PM
Re: Oracle Users can't login - Fork Error- Too many processes
executing a script that recursivly calls itself. Moving
or removing the script solves the problem.
There are a couple of Oracle issues that can
lead to this problem.
Processes connected to dropped connections persist
until the keepalive process realizes they are dead.
This can be set to a very long time. Processes for
connections that are properly closed clear out quickly.
Check the count of processes owned by Oracle. Each
instance uses a little less than ten processes. The
number of processes should be less than ten times
the number of instances plus the number of concurrent
users. If it is more you likely have servers for dropped
connections.
Adding Oracle users can also cause this problem.
If you have a lot of users consider using the
multi-threaded server. This allows several users
to use the same server process. This will
reduce the process load substantially. If you have
processes that do long running queries, you should
consider running them on a single threaded server.