Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CT-LIBRARY error

226 views
Skip to first unread message

pierreje...@free.fr

unread,
Nov 27, 2008, 11:49:10 AM11/27/08
to
Hello,

My isql connection time out, after a while, with :

CT-LIBRARY error:
ct_send(): network packet layer: internal net library error:
Net-Lib protocol driver call to write data failed

Version
Adaptive Server Enterprise/12.5.3/EBF 12876 ESD#4/P/Linux Intel/
Enterprise Linu

Os
Linux 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686
i386 GNU/Linux

Any idea about this issue ?

Thx

Best Regards,

--
pj

Michael Peppler [Team Sybase]

unread,
Nov 28, 2008, 1:29:01 AM11/28/08
to

It's kind of hard to tell, but I would start by looking for a firewall
that has a timeout set up (assuming your isql connection goes through a
network, of course)

Michael

Peter Collard

unread,
Nov 28, 2008, 7:13:41 AM11/28/08
to
Michael Peppler [Team Sybase] wrote:

> On Thu, 27 Nov 2008 08:49:10 -0800, pierrejean.catez wrote:
>
>> Hello,
>>
>> My isql connection time out, after a while, with :
>>
>> CT-LIBRARY error:
>> ct_send(): network packet layer: internal net library error:
>> Net-Lib protocol driver call to write data failed
>

> It's kind of hard to tell, but I would start by looking for a firewall
> that has a timeout set up (assuming your isql connection goes through a
> network, of course)
>
> Michael

Try looking at tcp_keepalive - on my machine I get

peter@petertmp:~> cat /proc/sys/net/ipv4/tcp_keepalive_time
7200
peter@petertmp:~> cat /proc/sys/net/ipv4/tcp_keepalive_intvl
75
peter@petertmp:~> cat /proc/sys/net/ipv4/tcp_keepalive_probes
9

Which means after 2 hours (7200secs) the tcp layer will probe 9 times at 75
second intervals for life at the other end of the connection.

Try increasing the first param to see if it makes any difference
echo 72000 > /proc/sys/net/ipv4/tcp_keepalive_time

pierreje...@free.fr

unread,
Dec 12, 2008, 12:09:40 PM12/12/08
to
Thx for your answers !

seams to be a issue with a FW ...

Best Regards,

--
pj

tiento...@gmail.com

unread,
Aug 6, 2014, 11:05:39 PM8/6/14
to
Vào 19:13:41 UTC+7 Thứ sáu, ngày 28 tháng mười một năm 2008, sybaseguru đã viết:
Thank u very much! I just turn off my fw and it's going well now! My issue is the same with the guy above
Regards!
0 new messages