PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

LINUX Server Reboot Frequency 7372


Your Ad Here

Your Ad Here

OK: you can't "check for memory leaks" in such closed source code, you can only check that the amount of RAM being used is expanding: the "top" command will give a hint, and you should be able to poke around in theproc filesystem and find some appropriate flags buttociated with the Oracle processes that can be examined to see how large they are.

LINUX Server Reboot Frequency 7373
This used to be true, but no longer. Large chunks are given back to the system. This program...

Linux tries hard to keep as much in RAM as feasible: it's only when things start overflowing RAM, such as a database that's been up for a while and gotten really, really big with people doing work on it or a program with a memory leak, that you start swapping and things slow down. Paul is right that just restarting the Oracle server should get it to release all resources.

To understand how leaks happen, read the manual pages on "free" and "malloc". Notice that "free" does not give the memory back to the system! It only frees up memory to be used by the same program, so that the next malloc can occur in that freed up memory space. But it's very easy to make mistakes with a big database or big program, mistakes in userland, that generate *grotesquely* large tables for only a few minutes, and they can never be returned to the system without restarting the program: they're only preserved for further use by that program.

what do these names stand for 7375
Variable data. Traditionally Unix has been arranged so that andusr could be mounted read-only, so logfiles and other writable stuff had to be somewhere that could...

Now, Oracle is supposed to have all sorts of nifty fail-over behavior which I've never gotten a chance to push: if you have such a setup, it should be possible to keep the servers synchronized, reboot one while the other takes the load, then restore the first server without that overflowing RAM problem, then a week later reboot the second one while the first takes the load. I've done things like that for DNS and DHCP, for various reasons, and it seems to work well.



Your Ad Here

List | Previous | Next

LINUX Server Reboot Frequency 7373

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Moving harddisk with Linux installation to a different machine. 7371