Memory and CPU usage, server hangs

  • Thread starter Thread starter VC
  • Start date Start date
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.
 
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
 
Back
Top