473,662 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tcp traffic

Hi,

The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7

Few days ago i was informed that the app generates high network
traffic. Thus
i started to look for some savings.

I found out (sniffer) that even if the client is idle every 30sek. a
TCP packet comes from client to server, then answer goes back. The
packet seems to be empty (TCP data is 1 byte: 0x00), the answer is
empty as well. Seems like kind of watchdog. And it does not seem to be
related to ODBC refresh and any other option possible for setup in
Access client (I set those settings to different that 30sek. values,
and 30 sek. traffic still exists).

Does anybody know what those packets are for, what module is
responsible for them and how to change interval?

My best regards for anybody reading this post,
Mirek
Jul 20 '05 #1
6 4294
Use the profiler for SQL server.
it show the traffic.
if any of the queries can be changed to stored procedures that will reduce
the traffic by many folds.
"Mirek" <mi***@interia. pl> wrote in message
news:b8******** *************** ***@posting.goo gle.com...
Hi,

The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7

Few days ago i was informed that the app generates high network
traffic. Thus
i started to look for some savings.

I found out (sniffer) that even if the client is idle every 30sek. a
TCP packet comes from client to server, then answer goes back. The
packet seems to be empty (TCP data is 1 byte: 0x00), the answer is
empty as well. Seems like kind of watchdog. And it does not seem to be
related to ODBC refresh and any other option possible for setup in
Access client (I set those settings to different that 30sek. values,
and 30 sek. traffic still exists).

Does anybody know what those packets are for, what module is
responsible for them and how to change interval?

My best regards for anybody reading this post,
Mirek

Jul 20 '05 #2
Hi

I am not sure what the packet is for, but you don't say how many clients are
using this? I suspect that the problem is more to do with Access downloading
data to work on it locally which it is notorious for doing.

John
"Mirek" <mi***@interia. pl> wrote in message
news:b8******** *************** ***@posting.goo gle.com...
Hi,

The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7

Few days ago i was informed that the app generates high network
traffic. Thus
i started to look for some savings.

I found out (sniffer) that even if the client is idle every 30sek. a
TCP packet comes from client to server, then answer goes back. The
packet seems to be empty (TCP data is 1 byte: 0x00), the answer is
empty as well. Seems like kind of watchdog. And it does not seem to be
related to ODBC refresh and any other option possible for setup in
Access client (I set those settings to different that 30sek. values,
and 30 sek. traffic still exists).

Does anybody know what those packets are for, what module is
responsible for them and how to change interval?

My best regards for anybody reading this post,
Mirek

Jul 20 '05 #3
John,

Only 4 clients are using this. I made a measurement of the traffic
it was about 350 packets / per hour / client.

For 30 sec interval thare are 120 empty packets / hour /client (60min
/ 30sec),
which is 30% of whole traffic.

It does not seem to be related to Access client, but rather to network
protocol used for connecting to MSSQL: the same effect appears while
using Enerprise Manager.

I checked with Profiler, and it does not show those 'packets' (I run
it in parallel with sniffer). As far as I understand Profiler features
it cannot show network traffic, it just shows queries arrived&execute d
at SQL processes.

For the while the problem becomes just interesting for me, so once
again:
anybody knows what whose packets are from, what module is generating
it, how to adjust the interval?

Regards,
Mirek
"John Bell" <jb************ @hotmail.com> wrote in message news:<3f******* *************** *@news.easynet. co.uk>...
Hi

I am not sure what the packet is for, but you don't say how many clients are
using this? I suspect that the problem is more to do with Access downloading
data to work on it locally which it is notorious for doing.

John
"Mirek" <mi***@interia. pl> wrote in message
news:b8******** *************** ***@posting.goo gle.com...
Hi,

The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7

Few days ago i was informed that the app generates high network
traffic. Thus
i started to look for some savings.

I found out (sniffer) that even if the client is idle every 30sek. a
TCP packet comes from client to server, then answer goes back. The
packet seems to be empty (TCP data is 1 byte: 0x00), the answer is
empty as well. Seems like kind of watchdog. And it does not seem to be
related to ODBC refresh and any other option possible for setup in
Access client (I set those settings to different that 30sek. values,
and 30 sek. traffic still exists).

Does anybody know what those packets are for, what module is
responsible for them and how to change interval?

My best regards for anybody reading this post,
Mirek

Jul 20 '05 #4
Mirek wrote:

It does not seem to be related to Access client, but rather to network
protocol used for connecting to MSSQL: the same effect appears while
using Enerprise Manager.


Mirek,

We've experienced similar problems with both Access clients and
Enterprise Manager connecting to our SQL installations. The first
evidence we noticed were the thousands of Logon/Logoff events in the
host's Security logs. After a little digging, we discovered that this
was being caused by the clients' "server polling" functionality.
Basically, when the client is open, it'll login to SQL every n seconds
to make sure it's still alive, and if not will alert the user, etc..
This can actually be disabled in Enterprise manger by selecting
"Options" from the "Tools" menu and clearing the checkbox next to "Poll
server to find out state of server and related services." As for
Access, we havn't found a way to disable this behavior, and
unfortunatly, the Access clients are provided by a thrid party solution
and can't be rewritten in-house. So, if you find a way to squash this
in Access, I'd love to hear about it!

Good luck,

- Dan
---
Dan Alig
daligatwhartond otupenndotedu

Jul 20 '05 #5
Mirek wrote:

It does not seem to be related to Access client, but rather to network
protocol used for connecting to MSSQL: the same effect appears while
using Enerprise Manager.


Mirek,

We've experienced similar problems with both Access clients and
Enterprise Manager connecting to our SQL installations. The first
evidence we noticed were the thousands of Logon/Logoff events in the
host's Security logs. After a little digging, we discovered that this
was being caused by the clients' "server polling" functionality.
Basically, when the client is open, it'll login to SQL every n seconds
to make sure it's still alive, and if not will alert the user, etc..
This can actually be disabled in Enterprise manger by selecting
"Options" from the "Tools" menu and clearing the checkbox next to "Poll
server to find out state of server and related services." As for
Access, we haven't found a way to disable this behavior, and
unfortunately, the Access clients are provided by a third party solution
and can't be rewritten in-house. So, if you find a way to squash this
in Access, I'd love to hear about it!

Good luck,

- Dan

Jul 20 '05 #6
Sorry I was so cryptic in my first post.
if you have the SQL profile set up it will show all the connection as well
as the processes.
What I expected you to see is the keepalive from the ODBC connection.
the only way around this is to open SQLsever OLEDB connections and use
Execute, IMHO.

Look in the profiler for increment in the connection ID's or connect,
disconnect messages.
in the sniffer.

Do you have pooling enabled?
http://support.microsoft.com/default...b;en-us;328476
RESOLUTION
To ensure pooling, you must create additional data source/session pairs, or
explicitly create ActiveX Data Objects (ADO) connections. By explicitly
creating the ADO connection or OLE DB Session, you can be guaranteed that
the connection will be pooled by OLE DB, which means that the next request
for an ADO connection or OLE DB Session can reuse an existing session and
SQL Server connection.
http://support.microsoft.com/default...b;en-us;271128

"Mirek" <mi***@interia. pl> wrote in message
news:b8******** *************** ***@posting.goo gle.com...
John,

Only 4 clients are using this. I made a measurement of the traffic
it was about 350 packets / per hour / client.

For 30 sec interval thare are 120 empty packets / hour /client (60min
/ 30sec),
which is 30% of whole traffic.

It does not seem to be related to Access client, but rather to network
protocol used for connecting to MSSQL: the same effect appears while
using Enerprise Manager.

I checked with Profiler, and it does not show those 'packets' (I run
it in parallel with sniffer). As far as I understand Profiler features
it cannot show network traffic, it just shows queries arrived&execute d
at SQL processes.

For the while the problem becomes just interesting for me, so once
again:
anybody knows what whose packets are from, what module is generating
it, how to adjust the interval?

Regards,
Mirek
"John Bell" <jb************ @hotmail.com> wrote in message

news:<3f******* *************** *@news.easynet. co.uk>...
Hi

I am not sure what the packet is for, but you don't say how many clients are using this? I suspect that the problem is more to do with Access downloading data to work on it locally which it is notorious for doing.

John
"Mirek" <mi***@interia. pl> wrote in message
news:b8******** *************** ***@posting.goo gle.com...
Hi,

The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7

Few days ago i was informed that the app generates high network
traffic. Thus
i started to look for some savings.

I found out (sniffer) that even if the client is idle every 30sek. a
TCP packet comes from client to server, then answer goes back. The
packet seems to be empty (TCP data is 1 byte: 0x00), the answer is
empty as well. Seems like kind of watchdog. And it does not seem to be
related to ODBC refresh and any other option possible for setup in
Access client (I set those settings to different that 30sek. values,
and 30 sek. traffic still exists).

Does anybody know what those packets are for, what module is
responsible for them and how to change interval?

My best regards for anybody reading this post,
Mirek

Jul 20 '05 #7

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

Similar topics

0
1873
by: Bla | last post by:
Hi, There is a new Yahoo group called " Traffic-Cams " This group discusses everything related to online and realtime traffic-cameras We have a very extensive links-section with links to thousands of online traffic cameras sorted by country or by technique (streaming video,streeaming jpg's,stills)
2
2607
by: Daniel | last post by:
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sites?
0
1029
by: Paul King | last post by:
Hey everyone, I'd like to ask your advice, or at least the advice of all of you who are either interested in, or already involved in, creating income from the internet. I'm not exactly experienced in on-line money making, in fact all I've managed so far is money losing! I don't suppose anyone gets it completely right first time so I'm sure you all know what I mean. Probably my failings are due in no small part to me and my own efforts, or...
2
1592
by: Jules | last post by:
the hi there i have a home network and i would like to write a little application that will be able to stop all internet traffic without stopping the network traffic. i would like the program to be able to stop internet traffic on the pc on which the program will be installed. any idea of where to start please i need help here and idea ?
9
1768
by: google_groups3 | last post by:
Hi all. This is a bit of a long shot i think but right now i am all out of ideas, so any help is greatly appreciated! I have an app that sends information on a specific port. However, te port is blocked on the firewall so the app won't connect. Changing the firewall config is not an option, nor is reconfiguring the app. So, my question is this. Is there a way to develop an app that
2
2093
by: matt | last post by:
Does anyone know of a service, that provides driving traffic information in the form of xml? I see several large cities have information on the web, including traffic cameras. traffic.com has an RSS feed which has some information but when i looked at it, you can't really tell where the traffic problem is. The goal is to write a program that can take your location, such as zip code, or road/direction/city, or lat/long coordinates and...
3
2888
by: LucaBrasi | last post by:
I am curious about how Access 2000 handles network requests for data. I have the data on a back-end server, and the front-end is installed on the local machine. Now, lets say I have a select query ( call it qry1) which has no filters and just displays all the records in the table, and another query (qry2) which has a filter. Both are queries on the same table of 5000 rows. If the qry2 filter matches only 1000 of the rows, is network...
2
4382
by: Derrick | last post by:
Can anyone suggest a tool (if one exists) to capture IIS traffic and be able to "replay" that traffic? We are in the process of moving from sql2k to sql2005. What I would like to do is take a snapshot of the sql2k db, start iis logging, and let the prod site run for a few hours capturing all that traffic, then take another snap of the sql2k db. Then, in a test environment, I'd like to take the initial db, load to 2005, and then run...
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8344
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8857
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...
1
8546
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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...
0
4180
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
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1752
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.