Memory and CPU usage, server hangs

V

VC

We have developed an Windows app using .net 2.0. We have tested it on our
local Windows 2008 server without hyper v, which works fine. On running the
same in our Web server, which is also a windows 2008 server without hyper V,
we noticed in the task bar, that the CPU usage jumps up to 80%+ and it starts
memory occupied in the process windows starts increasing gradually, till the
system hangs. I wonder what could cause it, as the same works well in the
local server.
 
A

Andrew Faust

VC said:
We have developed an Windows app using .net 2.0. We have tested it on our
local Windows 2008 server without hyper v, which works fine. On running
the
same in our Web server, which is also a windows 2008 server without hyper
V,
we noticed in the task bar, that the CPU usage jumps up to 80%+ and it
starts
memory occupied in the process windows starts increasing gradually, till
the
system hangs. I wonder what could cause it, as the same works well in the
local server.

There are lots of possible causes. Without more information about what your
application does, I can only give you some general things to check. Does
your app use a database? Did the database you used for test have
significantly fewer records than production? How many concurrent users are
hitting your production system? How are you storing session state?

You can also use a .Net profiler (Red Gate and Jet Brains both have good
ones) to see what your app is actually doing.

Andrew Faust
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top