By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

Webservice running very slowly

P: n/a
Hello there,

I am running a webservice on IIS6, sometimes it runs at a reasonable speed,
sometimes it runs painfully slow and sometimes inbetween. The application
that consumes the service is vb.dotnet and runs on a local area network.

Does anyone have any ideas? Where should I start to look? What could be
causing this?

Thank you for any help or ideas
Kind regards
John Sheppard

Jan 16 '08 #1
Share this Question
Share on Google+
11 Replies


P: n/a

"John Sheppard" <sp**@nospam.comwrote in message
news:fm*********@news2.newsguy.com...
Hello there,

I am running a webservice on IIS6, sometimes it runs at a reasonable
speed, sometimes it runs painfully slow and sometimes inbetween. The
application that consumes the service is vb.dotnet and runs on a local
area network.

Does anyone have any ideas? Where should I start to look? What could be
causing this?
What else is running on the Web server?

What else can be using HTTP on port 80 TCP?

Is the Web server used in an Intranet only environment or is the Web server
an Intranet/Internet solution?

What kind of resources are being used at any given point on the computer?

Does the Web server and its O/S platform running on the computer have the
power/resources to service things in a timely manner during peak periods of
usage?

Jan 16 '08 #2

P: n/a
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:eL**************@TK2MSFTNGP04.phx.gbl...
>
"John Sheppard" <sp**@nospam.comwrote in message
news:fm*********@news2.newsguy.com...
>Hello there,

I am running a webservice on IIS6, sometimes it runs at a reasonable
speed, sometimes it runs painfully slow and sometimes inbetween. The
application that consumes the service is vb.dotnet and runs on a local
area network.

Does anyone have any ideas? Where should I start to look? What could be
causing this?

What else is running on the Web server?

What else can be using HTTP on port 80 TCP?

Is the Web server used in an Intranet only environment or is the Web
server an Intranet/Internet solution?

What kind of resources are being used at any given point on the computer?

Does the Web server and its O/S platform running on the computer have the
power/resources to service things in a timely manner during peak periods
of usage?
All of those things should be done. It may also be necessary to do the same
sort of performance analysis that you would with any other sort of
application. You may need to do profiling, look at performance counts, etc.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
Jan 16 '08 #3

P: n/a

"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:eL**************@TK2MSFTNGP04.phx.gbl...
>
"John Sheppard" <sp**@nospam.comwrote in message
news:fm*********@news2.newsguy.com...
>Hello there,

I am running a webservice on IIS6, sometimes it runs at a reasonable
speed, sometimes it runs painfully slow and sometimes inbetween. The
application that consumes the service is vb.dotnet and runs on a local
area network.

Does anyone have any ideas? Where should I start to look? What could be
causing this?

What else is running on the Web server?

What else can be using HTTP on port 80 TCP?

Is the Web server used in an Intranet only environment or is the Web
server an Intranet/Internet solution?

What kind of resources are being used at any given point on the computer?

Does the Web server and its O/S platform running on the computer have the
power/resources to service things in a timely manner during peak periods
of usage?
It will be used in both an intranet and internet environment. However at the
moment it is just the intranet. I very much doubt its the intranet thats
causing the problem.

The server has 3 webservices on it. All different versions of the same one.
Only one ever gets used at a time as I cycle them for versioning. I guess I
should stop 2 of them and see if that solves the problem.

The server should have the resources, it has 8GB ram, running Windows 2003
server (Im not sure of the processor, but its fairly beafy). It does have a
terminal service client on it with approximatly 15 people attached to it
running an access application, word and excel. It could be that it is just
too overloaded because of the terminal services.

The webservice connects to an access database.

What I dont understand is why isnt it lightning fast say when running on my
development computer. For example, on my AMD6000+, 4GB ram development
computer, it doesnt run particularly fast (faster than the beefy server, but
not a whole lot). The load there is just IIS and visual studio. Shouldnt
that run lightning fast as there is no network to go through? (im sure this
sounds increadibly newbish)

Thank you so much for your advice, I should have listed those specifications
in my original post.
John
Jan 17 '08 #4

P: n/a

"John" <no****@nospam.comwrote in message
news:fm********@news5.newsguy.com...
>
"Mr. Arnold" <MR. Ar****@Arnold.comwrote in message
news:eL**************@TK2MSFTNGP04.phx.gbl...
>>
"John Sheppard" <sp**@nospam.comwrote in message
news:fm*********@news2.newsguy.com...
>>Hello there,

I am running a webservice on IIS6, sometimes it runs at a reasonable
speed, sometimes it runs painfully slow and sometimes inbetween. The
application that consumes the service is vb.dotnet and runs on a local
area network.

Does anyone have any ideas? Where should I start to look? What could be
causing this?

What else is running on the Web server?

What else can be using HTTP on port 80 TCP?

Is the Web server used in an Intranet only environment or is the Web
server an Intranet/Internet solution?

What kind of resources are being used at any given point on the computer?

Does the Web server and its O/S platform running on the computer have the
power/resources to service things in a timely manner during peak periods
of usage?

It will be used in both an intranet and internet environment. However at
the moment it is just the intranet. I very much doubt its the intranet
thats causing the problem.

The server has 3 webservices on it. All different versions of the same
one. Only one ever gets used at a time as I cycle them for versioning. I
guess I should stop 2 of them and see if that solves the problem.

The server should have the resources, it has 8GB ram, running Windows 2003
server (Im not sure of the processor, but its fairly beafy). It does have
a terminal service client on it with approximatly 15 people attached to it
running an access application, word and excel. It could be that it is just
too overloaded because of the terminal services.

The webservice connects to an access database.

What I dont understand is why isnt it lightning fast say when running on
my development computer. For example, on my AMD6000+, 4GB ram development
computer, it doesnt run particularly fast (faster than the beefy server,
but not a whole lot). The load there is just IIS and visual studio.
Shouldnt that run lightning fast as there is no network to go through? (im
sure this sounds increadibly newbish)

Thank you so much for your advice, I should have listed those
specifications in my original post.
John
Is perfmon the best monitoring tool to use to be scoping this kind of thing
out?

I have mucked with that and get some very strange answers. In pretty much
all instances of trying this I essentially see as follows; A few seconds
then a webservice output spike, then like 30 seconds later the thread ends
and the data comes up in the GUI. Im so confused...I need to do more
testing..

Im not actually using asynchronous calls either, the threading is all done
manually...(i inherited the project like this)..hmmm i wonder if this has
something to do with it...

Would I be wiser testing on my development computer or testing on my
production server?

Thank you
John
Jan 17 '08 #5

P: n/a
Sorry for so many posts...

Is bytes total per second on the webservice the appropriate counter to be
using in perfmon?

Thank you
John
Jan 17 '08 #6

P: n/a
Sorry, yet another post...

http://www.careware.com.au/Webserver...e%20cache).jpg

Here is a image of perfmon, this was taken over about 6 minutes with 5sec
intervals and is a capture of the application logging in, 3 calls are made
to the webservice, 2 small, 1 large to download a cache....

Looking at this it makes me think that its my client application that has
issues...

There is currently very little load on the server because everyone has gone
home...

I dont get it :(

Anyone got any tips on the correct counters to be using...

Thank you for anyone who spends the time to look at this...
John
Jan 17 '08 #7

P: n/a
I see your posts today. I have to get to work. I'll get back with you.

"John" <no****@nospam.comwrote in message
news:fm********@news5.newsguy.com...
Sorry, yet another post...

http://www.careware.com.au/Webserver...e%20cache).jpg

Here is a image of perfmon, this was taken over about 6 minutes with 5sec
intervals and is a capture of the application logging in, 3 calls are made
to the webservice, 2 small, 1 large to download a cache....

Looking at this it makes me think that its my client application that has
issues...

There is currently very little load on the server because everyone has
gone home...

I dont get it :(

Anyone got any tips on the correct counters to be using...

Thank you for anyone who spends the time to look at this...
John
Jan 17 '08 #8

P: n/a

"John" <no****@nospam.comwrote in message
news:fm********@news5.newsguy.com...
Sorry, yet another post...

http://www.careware.com.au/Webserver...e%20cache).jpg

Here is a image of perfmon, this was taken over about 6 minutes with 5sec
intervals and is a capture of the application logging in, 3 calls are made
to the webservice, 2 small, 1 large to download a cache....

Looking at this it makes me think that its my client application that has
issues...

There is currently very little load on the server because everyone has
gone home...

I dont get it :(

Anyone got any tips on the correct counters to be using...

Thank you for anyone who spends the time to look at this...
John
I think one of your problem could be the Access database. Access is not a
multi client solution and it could be an issue with speed. Access is not an
Enterprise database solution.
http://www.sql-server-performance.co...server_p1.aspx
http://www.aldex.co.uk/sqlupsizing.html
If nothing else, SQL Server Express or MySQL are better solutions for an
Enterprise solution if one doesn't have a production server running full SQL
Server.
Jan 17 '08 #9

P: n/a
<snip>

I *think* i have found the problem...

Its not actually a webservice issue at all :(

It has something to do with a few dll's im using on the client side. I
deleted everything from my bin and obj directories and its runs approximatly
70% faster. Still slower than I would like, but scraping in as acceptable.

It now runs properly on my machine, but when I deploy it on another
computer...its slow again :(

But at least I now know to put my energies into exploring elsewhere. Im not
sure where, but im guessing its some kind of dll regestering problem or
something...not sure...

Thanks so much for spending your time helping me Mr Arnold
Very much appreciated
John Sheppard
Jan 18 '08 #10

P: n/a
<snip>

Hmm, ok I tell a lie, it is kinda a webservice issue...

It has something to do with inputtrace.webinfo and outputtrace.webinfo...if
i copy those to the deployed directory things speed up immensly...

Im not sure what these do, Im looking at that now!

Hope this helps someone, somewhere..
John
Jan 21 '08 #11

P: n/a

"John Sheppard" <sp**@nospam.comwrote in message
news:fn*********@news2.newsguy.com...
<snip>

Hmm, ok I tell a lie, it is kinda a webservice issue...

It has something to do with inputtrace.webinfo and
outputtrace.webinfo...if i copy those to the deployed directory things
speed up immensly...

Im not sure what these do, Im looking at that now!

Hope this helps someone, somewhere..
John
yes it was definitly these, I switched the tracing off and the problem went
away. As to why this was happening. Im not sure, but I'm content to have it
turned off as I dont need it.
John
Jan 22 '08 #12

This discussion thread is closed

Replies have been disabled for this discussion.