Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jan : CPU at 100% causing ClientSocket disconnect
| Subject: | CPU at 100% causing ClientSocket disconnect |
| Posted by: | "Angela Bodnar" (angela.bodn..@noris.org) |
| Date: | 12 Jan 2007 13:18:59 |
I am using Delphi 6 with BDE.
I have an application that sends data back and forth over a
non-blocking ClientSocket. Several times a day my application
detects a socket disconnect. The host site says they are not
seeing a disconnect. If the application is stopped and
restarted it continues working correctly. We have noticed
recently that the CPU usage is at 100% right before it detects a
disconnect. The memory usage is always low, a flat line.
This application has been running for years. We started
noticing this when the host site upgraded their switches. The
only difference they can see is that messages are being routed
more quickly. There is not much inactivity and we have a keep
alive every minute. I have multiple SQL queries that run every
.10 seconds as well as many other queries, inserts and updates.
Any ideas what could cause this? Is there something I can put
in my program to releave the CPU utilization?
Thanks for you assistance.