Weblogic5.1 VM goes to swap on startup

I'm running Weblogic5.1 SP4 on Solaris7 64bit with the Sunsoft
JDK1.2.2-05a, I have 1Gig of memory installed, yet when I start a
weblogic VM with min heap size of 256M and a max heap size of 300M, it
immediately goes into swap space.
Memory: 1024M real, 821M free, 351M swap in use, 1506M swap free
Before starting the VM only 10M of swap is in use, and after starting
the VM as you see above, it appears that the VM hits swap immediately.
Anyone else notice this problem? How might I force the VM into physical
memory instead of swap?

Thanks for the links and pointers to utilities... I really appreciate having
learned something about investigating this further on my own.
Charlie Therit wrote:
Please make sure that you understand the complete meaning of the swap
numbers being reported. "/etc/swap -s" will show you the total amount of
swap space allocated (actually being used) and the amount reserved (pages
identified as anonymous memory that have not yet been backed by swap).
Even if you don't supply Solaris with any swapFS, the system will still
have and use swap space as Solaris swap space includes all allocated
swapFS partitions and available memory.
As long as the amount of allocated swap space (swap -s) doesn't exceed the
amount of disk space allocated for swap (swap -l), your system will have
the maximum use of its available RAM. If the amount allocated exceeds the
amount of swapFS then your system has begun locking pages in RAM and this
could lead to memory shortages. Paging should not be feared and is a
normal part of Solaris VM management. Unless the scan rate (vmstat 'sr'
column) reports higher than 300 in a 30 second period you aren't losing
performance because of memory management.
If you are interested in learning more about Solaris VM and swap
allocation, please read:
http://www.sunworld.com/swol-12-1997/swol-12-insidesolaris.html
and
http://www.sunworld.com/sunworldonline/swol-01-1998/swol-01-insidesolaris.html
Hope this helps,
Charlie
PS - If you really want to understand your JVM process, try using
/usr/proc/bin/pmap to view all segments, their sizes, and type. Also keep
in mind that each page in the JVM is backed by either anonymous memory
(swap) or the file system (UFS). Solaris reserves anonymous memory as the
process is created and allocates anonymous memory as the pages are
accessed and modified.
The views expressed in this posting are solely those of the author, and
BEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness of
the
information provided and assumes no duty to correct, expand upon, delete
or update
any of the information contained in this posting.
Bryan O'Sullivan wrote:
w> Before starting the VM only 10M of swap is in use, and after
w> starting the VM as you see above, it appears that the VM hits swap
w> immediately.
I wouldn't come to this conclusion. The stats you are looking at tell
you how much swap is in use on the machine, not who's using it. You
should be using something else, such as ps, to see what the resident
set size of the java process is. That is the important number that
gives some indication of VM performance.
I would bet that idle processes are being swapped out on your system,
not the VM. If it turns out that those processes are not idle,
though, then you'll probably see bad performance as those processes
and the VM get into a food fight over who gets to be in physical
memory, with lots of thrashing.
<b

Similar Messages

  • Hp w7707h monitor goes to sleep on startup ?

    can anyone help me fix my hp w7707h monitor that goes to sleep on startup ?

    Can you test it with another pc or laptop?
    Is anything displayed at all?
    How is it connected?
    Which pc? Which graphics port/cables?
    V.
    *** Say 'Thanks' with Kudos ***

  • Screen goes dark/ black in startup.

    My computer is a 2008 Macbook.  It was working perfectly until summer 2011 when the battery died.  I brought it to Apple and they did some diagnostic tests, whereupon I was told that everything worked perfectly except for the faulty battery.  Instead of buying a new battery I decided to continue using the Macbook as a desktop computer (keeping it always plugged in) and bought an Ipad for travel and teaching.  I was told this should cause no problems, but that I should remove the battery as it could potentially swell up and cause other problems for the computer.  I removed the battery.  I then flew back to Spain (where I currently live).  Several days after my arrival the computer began to act up.  The screen began to go black after one or two minutes of use.  I could hear that the computer was still running, but was unable to see anything.  After doing a PRAM restart, the screen stopped going black but then the computer refused to start, instead staying in think mode with the apple icon runnng.  I brought it to the Mac store in Madrid and they helped me to back everything up before erasing everything on the computer.  It began working again, but once I got the computer home the same problem ocurred- the the screen goes black shortly after startup.  Again I brought it to a Mac Store in Barcelona and after hours of diagnostics they were unable to find anything wrong with the components of the computer.  Nothing.  I had no choice but to return home, where it continues to go black upon startup.  I am able to see (very faintly) the cursor and the suggestion of the background, but little else.  I have tried adjusting the color options from this faint view I have, but nothing works.  Occassionally the computer will work normally for a minute or two before going black, but eventually the screen always turns black again.  The only thing that the Mac employee mentioned was to change the user or something... but I dont know how to do that when I am unable to see anything to make changes.  Moreover, I had never made a change, so I dont understand why this is happening.  Each time I take the computer to a Mac store I must spend 5-7 hours on a bus, and stay the night in Madrid or Barcelona.  Meanwhile I am using only my Ipad for work and studies.  I really must fix this problem, but I dont know how or why!  Any suggestions?!

    Try going into Recovery mode -- holding down Command and R keys on startup, and using Disk Utility there to Verify and Repair the startup disk. Also repair disk permissions.
    If nothing improves, try a PRAM reset and SMC reset.

  • Problems with the computer going to sleep on startup

    The past 2 nights I've been working in Final Cut Pro and after an hour or so of the computer being one, it goes to sleep despite being in use. The first time it happened last night I found it odd but didn't think anything of it. Well, 5 minutes later it went back to sleep. I woke it up and kept working. It went back to sleep a few minutes later. This kept going on for about a half hour before I figured something was wrong and I should shut down. It was a hot night last night so I thought that may have had something to do with it.
    Tonight, I started up the computer and went back to work. After about an hour the same thing started happening only tonight it was more frequent. It would go to sleep about every minute. I restarted the computer and this is when it gets bad. It will go through the startup process and just when it is about to go to the desktop, it goes to sleep only I can't wake it up. I can't do anything. My main monitor appears to shut off completely and my secondary monitor goes to sleep. Not even holding down the power button to shut it down works. I have to turn off the power strip it is plugged into to get it to turn off. This happens every time I try to boot up I don't have a Leopard disk handy to try and boot from that since that is at my studio.
    I can't seem to find this on the forum. I'm stumped.
    here is what I'm using
    G4 dual 1.42 ghz
    2 GB ram
    20" cinema display main monitor
    17" apple display other monitor
    I think I'm using the latest version of Leopard but I'm not sure when the last time I ran software update was. Same for Final Cut Studio.

    Start up in safe boot:
    Safe Boot
    http://support.apple.com/kb/HT1455
    This forces a disk check called fsck -fy it is similar to repair disk on the disk utility. Once it has started up to your log in screen restart normally and see if that helps

  • Windows 7 boot camp screen goes black after windows startup screen!!!!!!

    A few days ago when I tried to start my MacBook Pro in windows 7 (enterprise) I encountered a completly black screen after the startup screen.
    1) Choose start in Windows 7 from boot camp menu (holding option after starting up computer)
    2) Windows start up screen would appear and finish
    3) For a very brief second my cursor pointer would appear and login screen would flash onto the screen, then the screen would go black
    BUT
    I CAN boot windows 7 in safe mode
    The computer is still on when screen goes black (fan still running and i can use keyboard commands to shut down the computer)
    I've been searching the Internet for DAYS to no avail
    PLEASE someone help me....... ive already tried the sfc /scannow and dskchk commands in the command prompt window

    Win 7 Enterprise is not supported by Boot Camp, you may or may not get it to work reliably, (I would not bother to try)
    Read this document then pick a supported version of Windows for your Mac.

  • Bootcamp goes blank screen after startup sign.

    I'm unable to start up my bootcamp. It just goes blank screen after the startup moving icon and stays blank screen. Can anyone help? Thank you in advance!!!

    @MT1 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • RAM goes to swap often

    I have a late 2011 macbook pro with 8GB RAM and a samsung SSD. Pretty good little machine!
    I do a lot of reasearch stuff for school.
    I work Safari pretty hard with many tabs open for a while while I sort out what I use and do not use.
    Having Mail, Safari, Word, and maybe Xcode open can blow through my RAM pretty quickly.
    I tend to keep it to a dull roar by usually only having Safari, maybe Mail and Word open gathering data for the various papers I write.
    Having only those three open routinely runs me out of RAM and sends me to swap. Like I said, I have 8GB. Does anyone here think I should be using 16GB? I haven't even gotten around to virtual machines this semester or anything which is lucky, but might in the future semesters. So far I've always found a native Mac alternative to get me out of the VM scenario.
    I just wonder because I go to swap so often, and amounts like 800MB or more pretty much everyday during a school week. I know it sounds excessive when I put it that way, it's just I have a lot going on pulling data together and this is how I use my computer. My machine works, but I'm just wondering if it would be better, or maybe be a little easier on the battery having more RAM for what I do.
    What do you guys think?

    Yosemite does a much better job of memory management than the previous versions of Mac OS X, but still will run out of space with a lot of applications open.  You would probably benefit from more memory since you have only 8 GB...that machine should be able to go to 16 GB without issues.  See reliable sources for ram such as OWC, http://www.macsales.com or Crucial, http://www.crucial.com for ram that is guaranteed to work.  Avoid bargain ram as that is not likely to work in a  Mac.

  • IMAC goes to Mail on startup,not desktop

    On startup my IMAC goes to desktop and then immediately to MAIL. Has never done this before.

    Oops, I saw your separate post but did not remember it was I who helped you. Glad it did the trick, and please ignore my post in the other topic.

  • Fan goes on from the startup and never stop!

    Is that normal?
    When I turned on my MBP fist in the morning, the temp was only 22 for CPU Core 1 and 22 for CPU Core 2. However, the fan went on from the startup. If the fan noise was silent and soft, I wouldn't complain, but it is so NOTICEABLE.
    It makes "shhhhhhhhhhhhhh" sound "All The Time." I wonder if this is normal.
    If you guys give me some advices or help, I would appriciate your help.
    thanks...

    > I do not have any ideas about resetting the PMU or SMC, Firmware updates.
    Welcome to Mac's
    My reply to you contained active links to the three items I mentioned might help fix your problem. If you move you mouse over the words Power management / SMC / Firmware it will turn into a hand and they will be underlined links, once clicked they will load a page of information in your browser on each topic.
    If replies are helpful or solve your problem please mark them so and close the thread.

  • Macbok pro screen goes dead during the startup process

    Everything was working fine tonight until the computer went to sleep. After that I couldn't get the screen to stay on. I restart and it seems typical then the screen goes dead while the laptop continues to boot. Any ideas? The screen stays on during firewire target disk mode, ***!
    Message was edited by: Dennis Murray

    It's a warranty issue. Make a "Genius" appointment at an Apple Store.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    *An SSD doesn't need to be zeroed.

  • Monitor Going to Sleep at Startup; Can't Even Run Diagnostic​s or Repairs

    Months and months ago, my system stopped waking up from sleep mode.  Unable to find a solution, I abandoned using sleep mode and rebooted on each use.  The other week, it began going into sleep mode while just randomly browsing the web.  It would then take multiple hard reboots (holding in the power key) until it would come back up.  Multiple because it would fall asleep again during reboot, so I'd have to do it a few times to finally get it to stay awake.
    Last night, as lucks x-mas gift to me, it did this again.  Only this time it will not come back after a half-dozen hard boots.  It keeps falling asleep while booting up or running diagnostics or repairs or any of the other options I can briefly try.
    I have tried another monitor; it still gives me the "no input signal" error.  So now I know it isn't the monitor.  Which leaves the video card, the motherboard, the power supply, and the operating system as the culprits.
    I can't test any of them though because as I said, it falls asleep while running boot-up diagnostics, repairs, or just anything else.
    The inside of my machine is clean; did that when it began doing this.  I also smelled the very faint aroma of ozone last night when it crashed and refused to wake this latest time, which could mean it's a card issue and the card is fried.
    I'm at my wits end and about to give up on it.  All I know is that I won't be buying anymore HP products.  The number of threads about similar issues to mine is staggering, and no one seems to be able to offer an actual solution from HP.
    If anyone has any last minute ideas... I'll give them a whirl.
    This question was solved.
    View Solution.

    It could be the graphics driver needs to be install for the onboard.  If you can run the diagnostics or whatever you wanted to run and then install a new video card, it will probably need a driver anyways.  If you want to try inatalling the onboard graphics driver, try this: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=pv-63977-1&cc=us&dlc=en&lc=en&​...
    That may say it is for a different PC but it uses the same motherboard as yours.
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • Anytime I Alt+Tab over to Firefox, the browser immediately goes to the Firefox Startup (home) page. In fact, pretty much anytime I use Tab it does it. What gives?

    see question..

    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites

  • [SOLVED] Network Upload goes crazy at XFCE startup

    My machine sends massive amounts of data to my router until it crashes.
    When i boot my machine and start XFCE, the network monitor shows that i am constantly uploading about 8 MB/s. At the same time, i get no connection to the internet whatsoever. After a short time the router crashes and needs to be rebooted. I can bypass this behaviour if i quickly unplug the cable when it begins to mass-shovel the data and plug it in again. Then, everything turns to normal and i immediately get internet access.
    How can i find out which service or application is causing this?
    Last edited by Alp (2015-02-24 18:22:32)

    fixles wrote:
    Alp wrote:Dropbox wasn't the issue. nettop and tcpdump do not show process names at all. I will try wireshark at the next reboot.
    before logging into xfce swtich to a seperate tty (Ctrl + Alt + F6) and start tcpdump
    sudo tcpdump -s 0 -w netcaptured.cap
    after you've logged into xfce swith back to tcpdump hit Ctrl + C to stop it. Open this file in wireshark. Whatever it is is probably using dns so in filter bar enter udp.port == 53
    Ok, i did this. The log got huge after a very short time and is overloaded by this lines:
    2241781 25.759631 fe80::5177:b219:6c9b:bab7 ff02::1:2 DHCPv6 100 Information-request XID: 0x3355a0 CID: 0001000118ff11fc1c6f65c412e9
    2241782 25.759642 fe80::5177:b219:6c9b:bab7 ff02::1:2 DHCPv6 100 Information-request XID: 0x3355a0 CID: 0001000118ff11fc1c6f65c412e9
    2241783 25.759653 fe80::5177:b219:6c9b:bab7 ff02::1:2 DHCPv6 100 Information-request XID: 0x3355a0 CID: 0001000118ff11fc1c6f65c412e9
    2241784 25.759664 fe80::5177:b219:6c9b:bab7 ff02::1:2 DHCPv6 100 Information-request XID: 0x3355a0 CID: 0001000118ff11fc1c6f65c412e9
    Here are the details to one of those lines:
    Frame 2241781: 100 bytes on wire (800 bits), 100 bytes captured (800 bits)
    Ethernet II, Src: Giga-Byt_c4:12:e9 (1c:6f:65:c4:12:e9), Dst: IPv6mcast_01:00:02 (33:33:00:01:00:02)
    Internet Protocol Version 6, Src: fe80::5177:b219:6c9b:bab7 (fe80::5177:b219:6c9b:bab7), Dst: ff02::1:2 (ff02::1:2)
    User Datagram Protocol, Src Port: 56855 (56855), Dst Port: 547 (547)
    DHCPv6
    Last edited by Alp (2015-02-09 21:36:54)

  • My computer screen goes from grey to black on startup and stays there. Can any one help me?

    Hi there,
    I was wondering if anyone can tell me what is going on with my Mac Pro. The screen is blank or black. When I reboot, it goes from the grey startup screen to black and nothing after that. HELP.

    You don't say which year it is, but if it's a 13" you're not having a common GPU that some 2010 and 2011 15" models are having.
    Since reinstalling the OS didn't help, I'm afraid that the only real choice you have is to take the machine to your local Apple Store or an AASP and have them run diagnostics on the machine. It's likely a screen problem, rather than a logic board problem (although that's always a possibility).
    The testing is free as if the estimate for repair. There's really nothing else you can do yourself at this point.
    Sorry,
    Clinton

  • Bless, Boot != Root, and System Startup Fogginess

    I've been scouring the Internet, and asking this question in other forums, and either I'm terrible at searching, or the answer is fuzzy and unclear:
    How does one configure the root volume? Not the Boot volume, but the volume that the system mounts as "/"?
    Configuring the boot volume is easy: one goes to System Preferences-->Startup Disk. But, twice now I've run into this issue: I have Disk A and Disk B. Disk A was the system the OS was installed on. I mirrored it onto Disk B. I went into Startup Disk and told OSX to boot from Disk B. If I yank disk A from the system (a Mac Pro) and boot up, Disk B starts up beautifully. Everyone's happy. BUT if Disk A is in the system, OSX will boot from Disk B as the *boot* disk, but then it'll still make Disk A the *root* disk, meaning if you do a df -k /, or diskutil info /, you will notice Disk A is mounted as "/"! Not what I want.
    I looked at bless (the man page is very non-technical and non-detailed), and attempted both:
    bless --mount /Volumes/DiskB --setbooot --verbose
    and
    bless --device /dev/disk2 [the equivalent of DiskB] --setboot --verbose, with no success.
    Someone please enlighten me, or point me to some technical documentation.
    Thanks!

    I tell you the truth, I have no clue as to what is happening in your system. What you are describing
    doesn't happen normally in Darwin (OS X).
    Normally, the Volume that the system boots from (whichever one it is: A, B, C, D, etc.), gets the root
    "/" assigned to it, and only it. All other mounted Volumes get assigned as /Volumes/<A, B, Etc.>.
    Darwin is unlike Unix/Linux in that respect. Additional mounted Volumes don't normally get mounted "Unix Style" as /boot, /usr, /usr/local, /swap, etc, however you can force "Unix Style"
    behavior if you wish by editing the /etc/fstab file.
    You can use the fstab file to mount a Volume on a directory at boot time. The directory must,
    of course, be empty and available on the boot volume, to be able to mount a second Volume
    as a subdirectory.
    Although deprecated, the /etc/fstab mod still worked up until Leopard 10.5.x. I have not tried it in Snow Leopard.
    Here is the format in case you wish to try it:
    97AC9040-81DD-351B-8675-20C53C555620 /macdata ufs rw 0 2
    #<device> <mountpoint> <filesystemtype> <option> <dump> <fsckorder>#
    notes: OS X only recognizes the "ufs" *filesystem type* and the "rw" or "none" option.
    The last two ( dump and fsckorder ) should always be "0 2", or left off completely.
    The Universally Unique Identifier (UUID) must be used to prevent mounting the wrong Volume.
    The "none" option is handy to prevent a Volume from mounting at boot time.
    OS X does not necessarily mount disks in the order they are connected to the controller,
    or even mount them in the same order every time it boots.
    Maybe that's what you are seeing in disk Utility (using the list command), OS X will, most of the
    time, mount disks in different order when booting different Volumes. disk0 becomes disk1,
    disk2 becomes disk0, etc.
    Here is a sample diskutil command to mount a volume "Unix Style" manually:
    sudo mount -t hfs -o nosuid,-w,-m=775 97AC9040-81DD-351B-8675-20C53C555620 /macdata
    #mounts the volume "97AC9040-81DD-351B-8675-20C53C555620" on the /macdata directory#
    Hope this "muddies" the water up for you.

Maybe you are looking for