VMware Cloud Community
madviz
Contributor
Contributor

Dealy access of webpage hosted on Windows 2003 Virtula machine

Hi all,

We have a phsical machine with 1gb ram and core 2 deo processor. we hosted a web application which using tomcat web server which is running fine. due to some technical problems we need to migrae that machine into virtual environment.

now we are facing a problem to access the web page hosted on the vm (guest os is Windows 2003). it is very slow accessing and very difficult to access and each page is taking 5 min time to display. if i see the task manager cpu utilization 1% and Memory persentage is 10%.

Any possible sollution for these?

Awaiting for your reply

Tags (1)
0 Kudos
35 Replies
kjb007
Immortal
Immortal

What kind of resource did you give the vm? CPU? Memory? How many other vm's are on your host? Are you overallocating memory? In your performance tab, are you swapping? Ballooning?

-KjB

VMware vExpert 2009

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
madviz
Contributor
Contributor

I have given CPU shares . Total 10 vm's are running on the host. I have given cpu reservation as 300mhz. There is no swapping and balloning . Let me know if you need any furthere information.

0 Kudos
kjb007
Immortal
Immortal

You have 10 vm's and your ESX server has 1 GB of RAM? The CPU may not be the issue here. How much RAM is allocated to the vm, and how much RAM do you have on the ESX host?

-KjB

VMware vExpert 2009

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
madviz
Contributor
Contributor

ESX Server is having 32Gb of memory. and the vm is having 2Gb.

0 Kudos
avlieshout
VMware Employee
VMware Employee

Did you install the VMware Tools ?

Do any of the other vms suffer from the same sluggish network performance?

If so you may have a problem on the physical nic of your ESX host. Check is speed/duplex settings are correct

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
madviz
Contributor
Contributor

Yes I installed VMtools.

All machies are runnign with windows only. but we haven't face any issues with other vm's.

2 Nic cards attached to the server and only one virtual switch configured on that and both are 100Mbps fullduplex.

0 Kudos
runclear
Expert
Expert

What about the disk subsystem? What type of disks, and how are those configured?

-------------------- What the f* is the cloud?!
0 Kudos
kjb007
Immortal
Immortal

Do you have hyperthreading enabled on your processor?

-KjB

VMware vExpert 2009

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
madviz
Contributor
Contributor

disk is internal scsi and having 600gb for the server and 30gb allocated for the vm.

0 Kudos
madviz
Contributor
Contributor

No, hyperthreading is not enabled.

0 Kudos
avlieshout
VMware Employee
VMware Employee

Is the patchlevel of your ESX host up-to-date?

Check if you are suffering from network congestion. You say that you have 2nics running at only 100MB and you have 10vms running on it.

All these vms have to share those 100MB nics

I would recommend 1Gb nics.

Are both nics active?

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
madviz
Contributor
Contributor

Yes, We have recently installed ESX on top of the server.

yes bothe nic's are 1gb ps and fully automated.

0 Kudos
avlieshout
VMware Employee
VMware Employee

Is this web server the only server in your web chain or is there any kind of back-end database involved?

Maybe the server is waiting for something.

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
madviz
Contributor
Contributor

Yes this is the only web server we have. and connected with SQL database as internal.

0 Kudos
madviz
Contributor
Contributor

Any news on this? please let me know if you need any info

0 Kudos
Sanjana
Hot Shot
Hot Shot

- Does the event log from inside the Windows guest show anything funny?

- Also, did you convert the physical machine into a VM using converter?

--sanjana

0 Kudos
mlubinski
Expert
Expert

test pings from Your PC to this VM ping VM_NAME -t, and see if there is lag between (should be <1 or ~1 ms)

second test, download executable file called NETCPS2 (www.netchain.com/NetCPS) and do following test:

on this VM start this exe like this: netcps -server

next on Your desktop start it like: netcps2 -mn VM_NAME and see how fast will it run. copy/paste output from this tool.

[I]If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points[/I]
0 Kudos
kjb007
Immortal
Immortal

If you open a browser locally on the windows host itself and browse to the webpage, is it still slow, or only when accessed over the network?

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
madviz
Contributor
Contributor

Sorry for the late reply.

Yes it is very slow with in the network.

0 Kudos