cannot fork process on IBM - AIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cannot fork process on IBM - AIX
# 1  
Old 08-22-2005
cannot fork process on IBM - AIX

Hi,

Currently, I'm getting the foll error on an IBM AIX
/etc/profile[36]: 0403-030 The fork function failed. Too many processes already exist.

How can i check the current no. of processes which can run simultaneously on an IBM AIX machine for oracle user and how can i change ?

Thanks
Vin
# 2  
Old 12-17-2008
Please check the contents of your .profile.

The max number of processes can be started by a user is set by maxuproc parameter of sys0 device(kernel). This can be altered from 128 (default).

using chdev -l sys0 -a maxuproc=512 or so

But as oracle user doesn't fork so many processes it has something to do with your profile entries.

You can check by renaming your current profile and including a single command like 'ls -l' or 'whoami' only inside your profile and logging in as the user.

Let me know how many times the ls -l runs when you do so.

TIP "If your profile contains a line ./.profile it can end up creating infinite number of recursive processes :-)"

Thanks

Ranjith
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

2. Programming

Problem with fork() and execlp process

Hello everyone, this is my first post. I have a task to use a fork to create multiple processes and then use execlp to run another program to add 2 numbers. The problem I am having is we are supposed to use the exit() call in the execlp to return the small integer. This is a bad way to... (3 Replies)
Discussion started by: Johnathan_1017
3 Replies

3. Programming

fork n process

Making a C program (process PP) that satisfies the following requirements: 1. Pp receives 3 ≤ N ≤ 10 arguments on the command line invocation, to interpret as a whole and thus should be 1 ≤ Ni ≤ 4; 2. Pp initially will have to create N processes Pi children facing a range of life to ... (1 Reply)
Discussion started by: loweherz
1 Replies

4. Programming

Timed action after fork() in parent process

Assume you have such a piece of (more or less pseudo-)code: if(fork() == 0) {// childprocess chmod(someProgram, 00777); exec(someProgram); } else { // assume it never fails and this is the parent chmod(someProgram, 00000); // should be executed as soon as possible after the... (5 Replies)
Discussion started by: disaster
5 Replies

5. AIX

pwage-aix for IBM AIX servers

This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies

6. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

7. Shell Programming and Scripting

knowing the process status in IBM AIX 5.3

i have quit a few process running in background. The problem is even though the process seems to run background. the process gets hanged or wait for something and these detail is not shown in their respective logs How to check the status of a background process when it's 1) gets hanged 2)... (1 Reply)
Discussion started by: ali560045
1 Replies

8. Programming

Multiple process using fork()

I have a code which has four different process, each printing different message. I have provided it with user input (implemented using thread), depending on which the corresponding message from that process has to be printed.The code is shown below.when I run the pgm, it takes input such as... (1 Reply)
Discussion started by: shashi
1 Replies

9. HP-UX

error : can not fork new process

hi today we came across error "can not fork new process" when i checked there were 400 ksh processes were running for that particular user ( due to kernel parameter setting no of processes were restricted to 400 ) and the reason for this was somebody executed shell script which had "*" ( only *... (3 Replies)
Discussion started by: zedex
3 Replies

10. UNIX for Dummies Questions & Answers

Cannot fork , too many process - SCO Unix 5.05

I need a help... I have a HP Netserver LH 6000 U with Hardware Raid . Sco 5.0.5 installed with Oracle database. Total number of users, normally logged in are around 60 nos. The system is very slow ( takes 6 hours for processing one Lakh bills) during the Billing process. Also it is... (1 Reply)
Discussion started by: saleeshpl
1 Replies
Login or Register to Ask a Question