473,692 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2008

"John Sheppard" <sp**@nospam.co mwrote 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.c omwrote in message
news:eL******** ******@TK2MSFTN GP04.phx.gbl...
>
"John Sheppard" <sp**@nospam.co mwrote 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.c omwrote in message
news:eL******** ******@TK2MSFTN GP04.phx.gbl...
>
"John Sheppard" <sp**@nospam.co mwrote 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.c omwrote in message
news:eL******** ******@TK2MSFTN GP04.phx.gbl...
>>
"John Sheppard" <sp**@nospam.co mwrote in message
news:fm******* **@news2.newsgu y.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
410
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 running in a Windows XP. But when I am trying to run the same webservice in a Windows 2000 Advanced Server Machine, I am getting the following error “System.Web.Services.Protocols.SoapException: Server was unable to process request. ...
0
2010
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 Remote Object. The Remot method Returns an Object. This Webservice also returns the same object All things are working fine when this Web Service is running in
6
4323
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 and reading files in different folders. Question 1: I need to be able to stop this service by using a web interface
0
1122
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. As a service it's running slowly as a snail. I'm running it on an XP pro machine with performance priority set to background services. What else can I do to speed it up? CPU monitor in task manager shows it's only getting 0-11% processor time...
0
2792
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 My Restrictions: - The WebService is pure Java, running under WebSphere5.1 - The Request requires Basic Authentication and needs to be SSL
8
9315
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
10459
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 the internet. We have a domain name registered for this webservice. So my WSDL gives me the following: http://ourdomain.com:8003/ProcessCC.asmx
1
3474
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 to a directory called Services. When referenced from a webapplication running on localhost it operates correctly. When referenced from a webapplication running on the same remote server as the webservice it operates correctly.
7
2163
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 server is not available!! Any idea ?
0
9086
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8963
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8806
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6459
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5820
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4324
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4557
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2974
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1959
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.