- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Fork process
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
06-27-2007 02:14 AM
06-27-2007 02:14 AM
Fork process
When application team trying to transport data to production box they are getting error like..
" FUNCTION: 'RfcExecProgram'#Not enough space (fork)."
/ & /usr/SAP/trans/ Filesystems have enough free space. Is there any os max process or any such limit will be there? if yes how can I check that.
and how to check the max process limit for a particular user..?
can any one help me.Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 02:20 AM
06-27-2007 02:20 AM
Re: Fork process
Check this link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1075801
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 02:21 AM
06-27-2007 02:21 AM
Re: Fork process
Fork(0 returns a different error if you hit the system-wide process limit (nproc) or the per-user process limit (maxuprc). You can display these values using kmtune or kctune.
e.g. kmtune -q maxupc
Man 2 fork will explain the various ways fork(0 can fell and how errno is then set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 02:24 AM
06-27-2007 02:24 AM
Re: Fork process
You are either out of swapspace or your 'maxdsiz' kernel parameter(s) are too small, or your 'ulimit' has restrained you.
Examine your swap with 'swapinfo -tam' and your kernel paramters with 'k(c|m)tune' and your 'ulimit'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 02:46 AM
06-27-2007 02:46 AM
Re: Fork process
Usually the application specifies the values for Kernel parameters.
check nproc
do
sar -v 1 1
09:46:34 text-sz ov proc-sz ov inod-sz ov file-sz ov
09:46:35 N/A N/A 365/8212 0 3163/9404 0 4210/15205 0
look for column proc-sz. in the above ex:
365/8212 . 365 is the current value and 8212 is the allocated value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 04:05 AM
06-27-2007 04:05 AM
Re: Fork process
I checked that. Proc-Sz is 533/3220. and when I
check ulimit it is giveing as unlimited. even
for root ID and as well as dapadm( SAP ) ID also. so is there any way to check the maximum allowed processes for a particular user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 04:54 AM
06-27-2007 04:54 AM
Re: Fork process
kmtune | grep maxdsiz
or if you are running 11.23 or higher:
kctune | grep maxdsiz
The number is in bytes and maxdsiz will default to 67 megs or 200 megs depending on the version you are running.
Now you should change maxdsiz to about 1700 megs and increase maxdsiz_64 to about 3 Gb or so. This assumes that you cannot find out what the application requires for memory. Note that maxdsiz_64 must be larger than maxdsiz.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 06:56 PM
06-27-2007 06:56 PM
Re: Fork process
Since a fork makes a copy of your space and you already fit, you should not be limited by maxdsize or ulimit. (Unless these limits were mysteriously made smaller.)
So as Clay says, you are out of swapspace. You need to do:
$ swapinfo -mta
Then add more.