Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
informix 9.30 как задать timeout для connect
|
|||
|---|---|---|---|
|
#18+
Господа, informix 9.30 : как задать timeout для connect ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.08.2003, 10:57 |
|
||
|
informix 9.30 как задать timeout для connect
|
|||
|---|---|---|---|
|
#18+
Есть такая опция для последнего поля в каждой записи файла sqlhosts - KeepAlive. По умолчанию она в enabled. Если разрешено (k=1) то "If the receiving end of the connection does not respond within the time specified by the parameters of your operating system, the network service immediately detects the broken connection and frees resources" Т.е. время через которое соединение будет при этом разрываться и Informix будет освобождать его ресурсы, зависит от настройки операционной системы. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.08.2003, 15:20 |
|
||
|
informix 9.30 как задать timeout для connect
|
|||
|---|---|---|---|
|
#18+
Какие настройки операционной сиистемы ? Хотелось бы для WIN200. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2003, 14:27 |
|
||
|
informix 9.30 как задать timeout для connect
|
|||
|---|---|---|---|
|
#18+
REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] "KeepAliveTime"=dword:000927c0 ; 0000ea60 = 60сек =1мин ; 000927c0 = 600сек=10мин "KeepAliveInterval"=dword:000003e8 ; 000003e8 = 1сек "TcpMaxDataRetransmissions"=dword:0000000a ; 0000000a = 10 ;-- V.Shulzhenko DBA_Tools ---------------------------------------------------------------------------- ; ; При обрыве клиента (завис комп, обрыв модемного соединения и пр.) сессии Informix, порожденные этим клиентом, ; остаются жить еще очень долго, не освобождая ресурсы. Дело в том, что Информикс держит сессию , потому что не знает, ; что клиент уже "умер", так как сетевое соединение на уровне ОС (TCP IP) продолжает жить. ; По умолчанию Windows только через 2 часа прибьет такое мертвое соединение и исходя из этого и Informix закроет сессию. ; Чтобы ускорить этот процесс нужно изменить выше приведенные ключи реестра (которые по умолчанию вообще отсутствуют ; в реестре и используются значения по умолчанию). ; При изменении предлагаемых значений внимательно прочитайте описание ключей из Resource Kit. ;------------------------------------------------------------------------------------------------------- ; KeepAliveTime ;Data type Range Default value ;REG_DWORD 0x1-0xFFFFFFFF (milliseconds) 0x6DDD00 (7,200,000 milliseconds = 2 hours) ; ;Determines how often TCP sends keep-alive transmissions. TCP sends keep-alive transmissions to verify that ;an idle connection is still active. ;This entry is used when the remote system is responding to TCP. Otherwise, the interval between transmissions ;is determined by the value of the KeepAliveInterval entry. ;By default, keep-alive transmissions are not sent. The TCP keep-alive feature must be enabled by a program, ;such as Telnet, or by an Internet browser, such as Internet Explorer. ; ======================== ; Примечание V.Shulzhenko: Informix эту возможность использует, т.е. TCP keep-alive включена по умолчанию. ; ======================== ; -- Xteq Systems X-Setup -- ;This setting controls how often the server should check if an idle connection is still "alive" by sending ;a single TCP/IP packet to the client. ;If the client does not react on this keep alive packet, the keep alive connection is freed and thus freeing resources. ;The default value is 7200 seconds (two hours), a good value is 600 seconds(10 minutes). ;------------------------------------------------------------------------------------------------------- ;KeepAliveInterval ; ;Data type Range Default value ;REG_DWORD 0x1-0xFFFFFFFF (milliseconds) 0x3E8 (1,000 milliseconds = 1 second) ; ;Determines how often TCP repeats keep-alive transmissions when no response is received. ;TCP sends keep-alive transmissions to verify that idle connections are still active. ;This prevents TCP from inadvertently disconnecting active lines. ;------------------------------------------------------------------------------------------------------- ;TcpMaxDataRetransmissions ; ;Data type Range Default value ;REG_DWORD 0x0-0xFFFFFFFF (retransmission attempts) 0x5 ; ;Determines how many times TCP retransmits an unacknowledged data segment on an existing connection. ;TCP retransmits data segments until they are acknowledged or until this value expires. ;TCP/IP adjusts the frequency of retransmissions over time. TCP establishes an initial retransmission ;interval by measuring the round trip time on the connection. The interval doubles with each successive ;retransmission on a connection, and it is reset to the initial value when responses resume. ; ;This entry determines how many times TCP retransmits data segments. The maximum number of retransmissions ;of requests for new connections is determined by the value of the TcpMaxConnectRetransmissions entry. ;------------------------------------------------------------------------------------------------------- ; Note ;Windows 2000 does not add this entrys to the registry. You can add it by editing the registry or by using ;a program that edits the registry. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.08.2003, 19:19 |
|
||
|
informix 9.30 как задать timeout для connect
|
|||
|---|---|---|---|
|
#18+
vopros o tom, chto kogda server Informix silno zagrugen, samo soedinenie s Informix moget proishoditj nastolko dolgo, shto prilogenie, vipolniaushee eto soedinenie 'zavisaet'. Vopros -kak ogranichit' vremia ogidaia soedinenia s Informix? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.09.2003, 10:27 |
|
||
|
|

start [/forum/topic.php?fid=44&msg=32228920&tid=1609373]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
37ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 206ms |
| total: | 298ms |

| 0 / 0 |
