472,328 Members | 1,108 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

Webservice running very slowly

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
11 1897

"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
"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

"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

"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
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
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
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

"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
<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
<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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Karuppasamy | last post by:
H I have a WebService calling a Method in a Remote Object. The Remote method Returns an Object. This Webservice also returns the same object. All...
0
by: ksams | last post by:
Hi Hope this mail finds you in the best of health and in good sprit. I have a problem with Web Service in a Windows 2000 Advanced Serve...
6
by: MA | last post by:
Hi all! I know there is other newsgroups for webservices, but I dont get any answers on those. I have developed a webservice that writeing...
0
by: Claire | last post by:
Ive written a threaded service application, realtime monitoring across a network, heavy processor usage. Probably will be running on a dedicated pc...
0
by: Det | last post by:
Hi there I am somewhat stuck with calling a WebService from out of a VB App. My Goal: - Get a WebService invoked under MS - Access 2002, not...
8
by: kenneth fleckenstein nielsen | last post by:
hi guru's I want to restart my webservice when ever it throws an exception that isn't cought. can i do that by web.config or iss or how ??
1
by: Suresh | last post by:
Hi all, I have a webservice that's running on a specific port (8003) in webserver behind a firewall. The service accesses a CC authorization...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The...
7
by: Amirallia | last post by:
Hi, I consume my webservice with the IE browser and all is ok when I call it with one browser. But when I call it a the same time with two...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.