|
|
|
CommandTimeout
|
|||
|---|---|---|---|
|
#18+
Есть такой код: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. Всё это частенько падает по таймауту. Микрософт почему-то советует проставить таймаут 7200 http://support.microsoft.com/default.aspx?scid=kb;en-us;887126 Вопрос такой: почему 7200, а не Int32.MaxValue и почему так медленно аттачится 300Кб файл? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2005, 02:00 |
|
||
|
CommandTimeout
|
|||
|---|---|---|---|
|
#18+
Вроде как, если поставить 0, то ограничения по времени не будет. Attach у вас действительно долгий ... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2005, 06:50 |
|
||
|
CommandTimeout
|
|||
|---|---|---|---|
|
#18+
Нет, если 0 поставить получиться General Network Error. см ссылку в первом сообщении. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2005, 09:19 |
|
||
|
CommandTimeout
|
|||
|---|---|---|---|
|
#18+
sergei.knyazev Нет, если 0 поставить получиться General Network Error. см ссылку в первом сообщении. По ссылке... вы делали это You can detect this problem in a network monitor trace if you run a query, and then you retrieve more than one packet of data at a time. By default, the SqlClient packet size is 8 kilobytes (KB). However, in the network monitor trace the packet may appear as multiple physical network packets that total 8 KB when added together. After you receive the first packet, the connection is closed with an ACK+FIN packet. SQL Server will continue to send data afterward. The behavior causes a TCP/IP connection reset and causes the error. Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.04.2005, 03:10 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=17&tid=1353756]: |
0ms |
get settings: |
10ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
54ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 236ms |
| total: | 372ms |

| 0 / 0 |
