Not using more than 8G of memory


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Not using more than 8G of memory
# 8  
Old 01-22-2003
You should not need to do anything to use installed memory. "prtconf | head" will display how much memory the sytem thinks is installed.

Look at column 5 on vmstat. That is how much free memory you have (in kilobytes). You have over 10 gigabytes of memory free. To be able to use that you must have virtual swap available. You have 37 Gigabytes. You simply have plenty of memory. And you have the swap to use it.

It looks like you tried /dev/kmem instead of /dev/mem on the "fork_fail_pending" command. But I believe it will be zero if procovf is zero. If procovf is not being incremented, you have not run out of process slots.

Memory that can be allocated and slots in the process table are really the only two things that the kernel needs to be able to fork. You have enough of both of those.

There is one more thing to check, but it is a long shot. Try the following three commands:
kstat -p "unix:0:var:v_proc"
kstat -p "unix:0:var:v_maxup"
kstat -p "unix:0:var:v_maxupttl"
The first one should be 30000 and the last two should be 29995. If these three values are correct then I simply do not believe that your system is having any trouble forking.

Instead I think it is time to look at your peoplesoft program. It is probably incorrect in saying that it cannot fork.

That is why I asked about other users. Recreate the problem where peoplesoft thinks that it cannot fork. Leave it like that. Sign on as another user. Type "ksh". Your shell will run ksh which will give you a prompt. Type "ksh" again. And again. And again. Each time that you do this the shell is forking another process. If your shells can fork, why not people soft? After you do this for a few levels, type "ps -f" to see all the new processes you created.

And no, I don't know of a program to intentionally burn memory.
# 9  
Old 01-24-2003
Thanks again for all your help Perderabo.

I solved the problem. It was concerning the exact numbers and specific paramters in the /etc/system files. It had to be exact. Semophores and shared memory related.

Thanks again. You are good.

By the way what does Perderabo mean?

Oh one more thing. I have a top utility. How do I uninstall it?
# 10  
Old 01-24-2003
I'm glad that you figured this out. I hope that you yelled at the authors of the package. "can't fork" is not a good way to inform the user that you need more semaphores or shared memory. And I wince when I think of the 8 Gigs of memory that you bought...

Thanks for the kind words. I must mention that nine tenths of knowledge came from a single source: SOLARIS Internals by Jim Mauro and Richard McDougall (ISBN 0-13-022496-0). It's a wonderful book and I highly recommend it.

Since I don't know how you installed top, I can't tell you the precise steps to uninstall it. It comes from the public domain. In my case, I install top by ftp'ing it to /usr/local/bin. I could uninstall it with a simple "rm /usr/local/bin/top". Unless your top does not match your release of solaris, I don't know why you'd want to remove it. It is actually a great program.

I don't know what "Perderabo" means. (What does greddy09sc mean?) I wanted a name that sounded daemonic and Perderabo seems to meet that criterion. I also wanted a name so obscure that no one else on any web site would also pick it.....well one out of two isn't bad....

I can tell you where it came from. HP Lovecraft often wrote stories that mentioned a fictional book called the Necronomicon (sp?). Other authors also borrowed this title and it popped up in lots of horror stories. Eventually some would-be occultists convinced themselves that it is real. And someone actually wrote a book by the title. In the intro, he thanks "the great demon Perderabo". Now you know as much as I do about it.

(At other sites I have learned that some people know very much more about my name. If someone out there falls into that category, spare me, I'm really not that interested in my nom de guerre.)
# 11  
Old 01-27-2003
greddy09sc is a screen name I first started using years ago. It kinda got stuck to me since it is unique. greddy is a name brand for car performance parts, ie: exhaust, headers, turbo, etc. 09sc means 9 seconds --> time it takes for a car to run a quarter mile. Back when I created my screen name, a 9 second quarter mile by an import car was impossible. Now, there is 7 seconds running import cars.

I am so far surpass all of this import car racing "stuff". I just kept the screen name.

I will check out that book that you recommended. Well, most likely I will buy it since you are so good, at least that's how you sound : )


Last edited by greddy09sc; 01-28-2003 at 11:39 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

9. 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
Login or Register to Ask a Question