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
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
> 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
seams to be a issue with a FW ...
Best Regards,
--
pj