We previously had 8 G of mem. Started getting fork errors. Thought problem was becauseit was low on memory. Upgrade to 16 G of mem. Still, box is getting fork errors. Not seem to be using over 7 G of memory. We think it's the PeopleSoft and Oracle application problem related.
Is there some tool or software that uses a lot of memory? Like over 2 G? I want to use this memory to see if the box is allowing me to go over this 7 G amount.
When i do a top:
Memory: 16G real , 8777 free, 7000m swap in use , 35 G swap free.
I need some sort of application to test that uses a lot of memory. This will determine if the box is allowing me to use all these available memory.
I have messed with the /etc/system parameters settings and it is not the problem
Any input on this problem would be greatly appreciated.
Originally posted by greddy09sc I have messed with the /etc/system parameters settings and it is not the problem
Let's take another look at the system file just to be sure...
I'm guessing that you have maxusers set way too low. Here is a command to display the current value, but you must type this correctly because it is a dangerous command:
echo "maxusers/D" | adb -k /dev/ksyms /dev/mem
This is controlled by a setting in /etc/system, but you should probably not set it at all. It should default to 2048 on your system.
One of the values controlled by maxusers is max_nprocs. A maxusers of 2048 will result in a max_nprocs of 30000. You are probably bumping in to max_nprocs. You can display that with:
echo "max_nprocs/D" | adb -k /dev/ksyms /dev/mem
max_nprocs is the maximum number of processes allowed on the system. Once that limit is reached, fork() will fail.
Dang! I thought that this was going to be an easy one....
First of all , maxusers=2048, and max_nprocs = 30000 are the correct values for your system. There is one more process slot oriented parameter and:
echo "maxuprc/D" | adb -k /dev/ksyms /dev/mem
will display it. It should be 29995 for you. Please verify that.
I assume that you are running a 64 bit kernel, but let's make sure:
isainfo -kv
The best command to look at swap is:
swap -s
what does it say?
Are you actually maxing out at 300 processes????
What message do you get when the problem occurs? How do you fix it? Do you have a system console? Any messages on it? Can root still run some commands?
If you can, very soon after a forking problem run:
vmstat 1 5
kstat -p "cpu_stat:0:cpu_stat0:procovf"
echo "fork_fail_pending/D" | adb -k /dev/ksyms /dev/mem
and post the results.
No, I was wrong, I am not maxing out at 300 processes.
The message occurs when I try to start another PeopleSoft App. I currently have 5 PeopleSoft Application running. I get the fork errors when I try to start the 6th one. So, to get around it, I shut off one of the PeopleSoft App to start another one. I want to start all 6. Soon, I will need to add 5 more Apps. I ran 5 oracle database with 10 Peoplesoft App one time on a 4G mem system. There was no problem. I did not get this fork error with the 4G system. Therefore, I think it has something to do with the system, not letting me using more than 8G. Maybe some sort of parameters or something is wrong. When you upgrade your system memory, all you do is manually add the physical memory into the box right? No need to configure anything special right? I believe the box will automatically detect the memory and let you use it, correct? But, even before we upgrade to 16G, the box never really used all of the previous 8G of memory. It always get to around 7 to 7 ½ G.
There is no message on the system console. I only get the message when I try to start my PeopleSoft processes. The system does not freeze or anything. Just fork error and system continues to run. Does not matter what user you are logged in as.
I ran these right after the fork error:
I don't think the problem is swap related.
Here is the error message:
Booting admin processes ...
exec BBL -A :
Failed.
tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
exec tmshutdown -y
Shutting down all admin and server processes in /opt/psoft/ftst/appserv/fshw/PSTUXCFG
tmshutdown: internal error: CMDTUX_CAT:764: ERROR: can't attach to BB
tmboot: CMDTUX_CAT:828: ERROR: Cannot create error process - fork() failed
One thing that I can try is to use some sort of application that uses a lot of memory and test my machine memory. Do you know of any sample/test application that does this?
Thanks
Last edited by Perderabo; 01-22-2003 at 01:50 PM..
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Hello solaris experts,
Being new to solaris containers, from Linux, feeling difficulty in understanding certain concepts. Hope somebody can help me here.
I understand that, & some questions ....
Locked memory -- memory which will not be swapped out at any cause.
is this for... (0 Replies)
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Hi,
I'm trying to learn how to manage memory when I have to deal with lots of data.
Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that
holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at
once (yep!) but of course the... (1 Reply)
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Hi,
Would any one be so kind to explain me :
are ulimits defined for each user seperately ? When ?
Specialy what is the impact of :
max locked memory
and
virtual memory
on performance of applications for a user.
Many thanks.
PS :
this is what I can see in MAN :
ulimit ]
... (5 Replies)
Refer from title:
How can i get memory used or anything that can show memory from sar file
example on solaris:-
we can use sar with option to show memory used at time that sar crontab run.
on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10.
My code to marshal... (6 Replies)