Solved

Timeout Error!

Posted on 1998-11-14
8
1,450 Views
Last Modified: 2008-02-26
Im am accessing a Sybase system 10 database using Visual Basic and ODBC. There are a number of clients in operation.
When performing an Update to the database, the client occasionally times-out and the following message is returned from ODBC.

S1T00:[INTERSOLV][ODBC SQL SERVER DRIVER][SQL SERVER]ct_results():user api layer: internal Client Library error:Read  from the server has timed out."

This only happens when there are a lot of people using the system. When a single person is accesing the database, it all works fine.
Could the server be causing this problem?
0
Comment
Question by:Coates
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Author Comment

by:Coates
ID: 1098428
Sorry, thats a sybase sql server version 11
0
 
LVL 5

Expert Comment

by:n0thing
ID: 1098429
On which OS your Sybase is running ?? Solaris ? SunOS ?? HP/UX ?? NT ??
0
 

Author Comment

by:Coates
ID: 1098430
It is running on a Solaris Server.
I am writing a lot of Long data (TEXT etc).
Could this cause the problem?
0
Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

 
LVL 5

Expert Comment

by:n0thing
ID: 1098431
I would suggest you to run the 2 following commands as root:
ndd -set /dev/tcp tcp_old_urp_interpretation 1
ndd -set /dev/tcp tcp_keepalive_interval 10000

and add it to your /etc/inetinit so if you reboot your system
it will remain set. This will set your keep alive timer long enough at the network level so your packets doesn't get discarded by the system.
0
 

Expert Comment

by:bmoore111898
ID: 1098432
Have you checked the max number of user connections allowed?  Maybe that or # of open databases.  You could be hitting up against one of these.  Check em with sp_configure

just a guess
0
 
LVL 2

Accepted Solution

by:
ajith_29 earned 100 total points
ID: 1098433
Check with sp_configure with time out option.The reason is there are many process running and the multi-threaded application has to run on your server.So the treads to get the work done as to wait a much longer, so give the time out opption it little bit larger than the previously set value.If this also does not work edit your interface file in which you give the delay time for the server.
0
 
LVL 2

Expert Comment

by:ajith_29
ID: 1098434
inform me what all options are sent with just sp_configure command.
0
 

Author Comment

by:Coates
ID: 1098435
Ive already sorted this out...I was opening far too many connections and recordsets without closing them on my client, coupled with sending large amounts of text data. This made the affair very slow, but ive fixed it now, thanks.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Small DB [ Application with 20GB Storage Size Minimum ] 4 523
DBSRV50.exe -" windows 95 compatible" checkbox 3 723
SQL Syntax 2 458
Get data out of MediSoft 4 111
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question