Solved

Timeout Error!

Posted on 1998-11-14
8
1,419 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
  • 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now