Sponsored Content
Top Forums UNIX for Advanced & Expert Users Not using more than 8G of memory Post 33874 by greddy09sc on Wednesday 22nd of January 2003 10:44:34 AM
Old 01-22-2003
# echo "maxuprc/D" | adb -k /dev/ksyms /dev/mem
physmem 1f3415
maxuprc:
maxuprc: 29995

# isainfo -kv
64-bit sparcv9 kernel modules

# swap -s
total: 4384192k bytes allocated + 1722416k reserved = 6106608k used, 37170768k available

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:
Code:
psoft:fshw > vmstat 1 5
 procs     memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr m0 m1 m2 m3   in   sy   cs us sy id
 0 0 0 37946976 11757256 112 422 311 4 1 0 0 0 0  1  0 1102 4396 1193  6  2 92
 0 0 0 37073088 10833640 14 510 0 0 0 0  0  0  0  0  0 1782 37611 1839 18 3 79
 0 1 0 37069600 10830040 42 670 0 0 0 0  0  0  0  0  0 5293 8597 2602 32  7 61
 1 1 0 37069280 10829704 114 653 0 0 0 0 0  0  0  0  0 5950 18070 6655 31 7 62
 0 0 0 37069480 10829848 0 0 0  0  0  0  0  0  0  0  0 1839 2007 1246 18  6 75

psoft:fshw > kstat -p "cpu_stat:0:cpu_stat0:procovf"
cpu_stat:0:cpu_stat0:procovf    0

psoft:fshw > echo "fork_fail_pending/D" | adb -k /dev/ksyms /dev/mem
Cannot adb -k: cannot open /dev/kmem


psoft:fshw > grep swap /etc/vfstab
/dev/md/dsk/d5  -       -       swap    -       no      -
/dev/dsk/c1t1d0s1       -       -       swap    -       no      -
/dev/dsk/c1t2d0s1       -       -       swap    -       no      -
/dev/dsk/c1t4d0s1       -       -       swap    -       no      -
#/dev/dsk/c1t5d0s1      -       -       swap    -       no      -
swap    -       /tmp    tmpfs   -       yes     -

psoft:fshw > df -k /tmp
Filesystem            kbytes    used   avail capacity  Mounted on
swap                 37067824      72 37067752     1%    /tmp

psoft:fshw > swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d5      85,5      16 8395184 8395184
/dev/dsk/c1t1d0s1   118,17     16 16780208 16780208
/dev/dsk/c1t2d0s1   118,1      16 16780208 16780208
/dev/dsk/c1t4d0s1   118,41     16 16780208 16780208

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..
 

9 More Discussions You Might Find Interesting

1. Programming

how to round up a memory address(memory alignment problem)

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)
Discussion started by: nj302
6 Replies

2. HP-UX

How can I get memory usage or anything that show memory used from sar file?

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)
Discussion started by: panithat
1 Replies

3. AIX

ulimits max locked memory virtual memory

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)
Discussion started by: big123456
5 Replies

4. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

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)
Discussion started by: 0ktalmagik
4 Replies

5. Programming

How to deal with lots of data in memory in order not to run out of memory

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)
Discussion started by: emitrax
1 Replies

6. Solaris

restrcit physical memory with zone.max-locked-memory

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)
Discussion started by: fugitive
1 Replies

7. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

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)
Discussion started by: lilili07
1 Replies

8. Solaris

relationship or difference between entitled memory and locked memory

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)
Discussion started by: thegeek
0 Replies

9. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

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)
Discussion started by: edydsuranta
4 Replies
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy