VPC 2004 SP1 - Hangs or Get "An error has occurred"

Discussion in 'Virtual PC' started by ohaya, Jul 16, 2006.

  1. ohaya

    ohaya Guest

    Hi,

    I've been using VPC for awhile now, but I've been starting to use VPC
    more frequently for testing. This is on a machine with Win2K Server and
    2.5GB of memory.

    I've noticed that I'm frequently getting situations where VPC (and the
    guest hosts) will either freeze completely, or I get a popup error
    saying "An error has occurred" (and asking if I want to send something
    to MS). This happens frequently when I try to run the following guests:

    Guest1: Win2K Server SP4, 900MB memory allocated
    Guest2: Win2K Server SP4, 700MB memory allocated
    Guest3: Win2K Server SP4, 512MB memory allocated

    I especially notice this happening when more than one of the guests
    happen to be trying to start simultaenously, but it'll happen even when
    I start the guests one at a time.

    The total memory allocated for the guests is about 2.1GB, and I'm
    wondering if the ~400MB that is left for the host might not be enough
    and causing these problems?

    Thanks,
    Jim
     
    ohaya, Jul 16, 2006
    #1
    1. Advertisements

  2. One way to find out is to reduce the ram allocated until the problem
    dissappears.
     
    Colin Barnhorst, Jul 17, 2006
    #2
    1. Advertisements

  3. ohaya

    ohaya Guest

    Colin,

    Unless I'm misunderstanding your suggestion, I don't think that I can do
    that, because if I reduce the memory allocated for the guest hosts, as I
    posted originally, the apps that I'm running in the guest hosts (in
    particular, two instances of BEA WebLogic in the larger guests) won't run.

    I've increased the pagefile size on the larger guests to over 2.5GB, but
    am still having the problem.

    I have an additional 2GB of RAM on order and will try that when it gets
    here, but if anyone has any other suggestions, please post. Also FYI, I
    have VM Additions installed on all 3 guests.

    Jim
     
    ohaya, Jul 17, 2006
    #3
  4. ohaya

    ohaya Guest

    Hi,

    I just got the additional 2GB in today, and installed it.
    Unfortunately, my mobo apparently only can handle ~3.3GB, even with 4
    sticks of 1GB RAM. Anyway, it's about 700MB more than I had before, and
    the guest hosts STILL hang occasionally.

    I'm running a memory test now, to see if that could be the problem, but
    does anyone have any other ideas about what the problem might be?

    I've also increased the swap disk size on each guest to about 2.5GB, but
    still the same problem :(!!

    Jim
     
    ohaya, Jul 20, 2006
    #4
  5. That is normal on XP x86.

     
    Colin Barnhorst, Jul 20, 2006
    #5
  6. ohaya

    ohaya Guest

    Colin,

    What you say "That is normal", what do you mean by "That"? Do you mean
    the guests hanging is "normal"?

    Jim
     
    ohaya, Jul 20, 2006
    #6
  7. No, the 3GB memory reported for x86.

     
    Colin Barnhorst, Jul 20, 2006
    #7
  8. Hi,

    Try adding the /PAE switch to your OS in boot.ini. It should enable you to
    take full advantage of the 4 GB of RAM
    (http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx)

    --
    --Jonathan Maltz [Microsoft MVP - Windows Server - IIS, Virtual PC]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
    here
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.
     
    Jonathan Maltz [MS-MVP], Jul 20, 2006
    #8
  9. If the internal drives are IDE then you probably didn't benefit by the move.
    The ideal situation would be to have the files on a separate spindle on a
    separate controller from the system.

     
    Colin Barnhorst, Jul 20, 2006
    #9
  10. ohaya

    ohaya Guest

    Colin,

    I just moved the guests in question to a 2nd IDE drive, and I am seeing
    exactly the same problem. This 2nd drive is on the 2nd IDE port on my
    motherboard because I don't have a 2nd IDE controller available.

    So now, so far, I have increased physical memory and added a 2nd drive
    for the guests, and am still having this problem.

    BTW, am I the only one who is seeing this behavior? Or is this
    occurring for others at all?

    Thanks,
    Jim


     
    ohaya, Jul 24, 2006
    #10
  11. ohaya

    ohaya Guest

    When the error occurs, here's what's in the report:

    Exception Information
    Code: 0xc0000005 Flags: 0x00000000
    Record: 0x000000000000000000 Address: 0x00....0045ba8b

    Jim

     
    ohaya, Jul 24, 2006
    #11
  12. ohaya

    Robert Comer Guest

    Just to try something -- try adding the /NoExecute=AlwaysOff to your OS
    line in the boot.ini, just to see if that makes any difference. (This turns
    off DEP)

    --
    Bob Comer <Microsoft MVP Windows - Virtual Machine>



     
    Robert Comer, Jul 24, 2006
    #12
  13. ohaya

    ohaya Guest

    Bob,

    A couple of questions:

    1) Are you suggesting putting this in the boot.ini for the 'real' PC, or
    in the boot.ini for the guest hosts, or for BOTH?

    2) From what I've been able to find, this parameter is only for Windows
    XP SP2 and Win2K3? Is it applicable to Win2K Server SP4 also?

    Jim
     
    ohaya, Jul 24, 2006
    #13
  14. ohaya

    ohaya Guest

    Bob,

    I tried adding that to the boot.ini for my 'real' PC, and it hung again.

    Also, something I didn't mention: I've been monitoring performance with
    Task Manager on the 'real' PC. I can pretty much tell when this hangs
    occurs: The CPU utilization graph drops almost immediately to ~2%.

    Task Manager shows all the guest hosts and the VPC console as "not
    responding".

    Jim
     
    ohaya, Jul 24, 2006
    #14
  15. ohaya

    Robert Comer Guest

    1) Are you suggesting putting this in the boot.ini for the 'real' PC, or
    The "real" pc.
    You are correct, sorry, I had forgotten about the W2K. This wont make any
    difference.
     
    Robert Comer, Jul 24, 2006
    #15
  16. ohaya

    Robert Comer Guest

    Also, something I didn't mention: I've been monitoring performance with
    Interesting. I haven't ever seen something like that and don't have a clue
    why it would do that.
     
    Robert Comer, Jul 24, 2006
    #16
  17. ohaya

    ohaya Guest

    Hi,

    I was going through the posts on this thread, and noted that I had not
    mentioned that this machine has an AMD64-3000 CPU. Is it possible that
    that might be causing the problem?

    Jim
     
    ohaya, Jul 24, 2006
    #17
  18. ohaya

    Robert Comer Guest

    I doubt it.

    It sounds like either a driver issue, or some other piece of software you
    have on your PC is interfering with VPC somehow. (any shell enhancement
    software running?)

    --
    Bob Comer <Microsoft MVP Windows - Virtual Machine>
     
    Robert Comer, Jul 24, 2006
    #18
  19. ohaya

    ohaya Guest

    Bob,

    What do you mean by "shell enhancement software"?

    The way it hangs is really strange. I typically have 3 guests running
    when it happens. When I watch Task Manager, there's activity, then all
    of a sudden CPU utilization just drops. At that point, all 3 of the
    guests' windows are frozen (the VPC console also, if I had it
    displayed). Everything "outside" of VPC seems to still work, i.e., I
    can open up a browser on the host, etc.

    Then, if I try to close one of the guests' windows by clicking on the
    "X", all 3 windows die.

    What I don't understand is that these are suppose to be "VIRTUAL" guest
    hosts, right? Why would a problem in one guest host (if there is one),
    cause ALL of the guest hosts to hang? Aren't they suppose to be isolated?

    It seems move like VPC *itself* is hanging, but what could something
    within a guest host be doing that would cause that???

    Jim
     
    ohaya, Jul 24, 2006
    #19
  20. ohaya

    Robert Comer Guest

    What do you mean by "shell enhancement software"?

    Something that changes the appearance/functionality of windows explorer.
    Virtual PC is pretty much a single threaded app, so it makes sense that when
    the main thread in Virtual PC dies, everything dies. Virtual Server
    wouldn't act the same.

    Something is blocking the main VPC thread on your PC, and that's why it does
    what it does, unfortunately I don't know what that might be. Is there any
    kind of message in the event viewer system and Application logs?
    That's exactly what it sounds like to me too, but I kind of doubt its
    something in a guest that's doing it, it sounds like something else on the
    host.

    Is there some kind of power management software running (something to quite
    the fans or throttle back the CPU? (on the host)

    --
    Bob Comer <Microsoft MVP Windows - Virtual Machine>
     
    Robert Comer, Jul 24, 2006
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.