473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 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 1982

"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 things are working fine when this Web Service is...
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 Machine. I have a WebService calling a Method in a...
6
by: MA | last post by:
Hi all! I know there is other newsgroups for webservices, but I don´t get any answers on those. I have developed a webservice that writeing and reading files in different folders. Question...
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 When it's running as an application it's nippy....
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 using the MS-SOAP-Toolkit but the .net - Framework ...
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 service on the internet. We use a proxy to get out to...
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 .dll to the .bin directory and the single .asmx file...
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 browsers, the IE page tells me that the apllication...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.