Aix pid issue

Hi
I have an IBM AIX 5.3 64Bit running with 64bit application (Kernel runs on 64bit also).
I changed the maximum proccesses per user to the maximum.
Currently the pids of proccesses in the system using 5 digits (<100000).
Is it possible to make the system use pids bigger then 4500000? I need it for some debug issues (need to simulate a problem of a customer).
In other words : i need to make the system give a pid of 4500000 to one proccess.

Thanks for any help

what problem are you seeing? You cannot assign a PID. This is done by the kernel. The actual PID number should not matter nor cause any issues.

They are having some issues with oracle when the pid is high (6 digits) on the same version of AIX.
the support guys in my company want to simulate the problem but we are not getting pid higher then 5 digits on our machine...

I do not think you can do that. You may need to change the PL/SQL code.

no way to fake the pid? what if i will open 4.5 million processes (from 40 different users)? will i eventually get a process with 4500000 pid?

I have found this thread, which might help you and contains pointers to some additional sources.

I have never encountered a problem like the one you describe because there is a certain data type in C (pid_t) in the system header files. There should be no range problems if you use it. If someone wouldn't use it this would be extremely bad programming style and i wouldn't expect such a hack in a standard software (you mentioned Oracle).

Of course, nothing is really impossible, so maybe you have a point here, however unlikely. I'd appreciate it if you could tell us your findings once your investigation is completed.

I hope this helps.

bakunin

I think your focusing on the wrong thing. Having a larger number for a PID does not cause problems. Please explain what problem your having.