内网curl 下载的问题

发布于 2022-09-30 18:56:16 字数 9664 浏览 15 评论 0

本帖最后由 hover_sky 于 2011-03-29 12:07 编辑

ph调用shell脚本进行一些处理,其中shell脚本会运行在后台,shell会调用curl去下载内网另外一台服务器的资源。
当总有部分curl会卡死在后台,于是用tcpdump 观察下,下面列出觉得可能有问题的部分,正常下载的部分就不列出了,请高手指点一下。谢谢
tcpdump   host  192.168.1.14 and 192.168.1.129 -n -S

  1. 12:01:19.773465 IP 192.168.1.129.80 > 192.168.1.14.22095: F 3516967770:3516967770(0) ack 29263387 win 14
  2. 12:01:31.903709 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
  3. 12:01:31.903738 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
  4. 12:01:32.423893 IP 192.168.1.129.80 > 192.168.1.14.27341: . ack 2411178457 win 14
  5. 12:01:32.423920 IP 192.168.1.14.27341 > 192.168.1.129.80: . ack 1606825614 win 0
  6. 12:01:45.215644 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
  7. 12:01:45.215690 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
  8. 12:01:50.083675 IP 192.168.1.129.80 > 192.168.1.14.11709: . ack 1338939783 win 14
  9. 12:01:50.083711 IP 192.168.1.14.11709 > 192.168.1.129.80: . ack 531844860 win 0
  10. 12:01:50.212220 arp who-has 192.168.1.129 tell 192.168.1.14
  11. 12:01:50.212322 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  12. 12:01:51.055677 IP 192.168.1.129.80 > 192.168.1.14.7204: . ack 276898321 win 14
  13. 12:01:51.055716 IP 192.168.1.14.7204 > 192.168.1.129.80: . ack 3762970022 win 0
  14. 12:01:58.155664 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
  15. 12:01:58.155706 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
  16. 12:02:01.939668 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
  17. 12:02:01.939702 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
  18. 12:02:11.839678 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
  19. 12:02:11.839719 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
  20. 12:02:16.836723 arp who-has 192.168.1.129 tell 192.168.1.14
  21. 12:02:16.836852 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  22. 12:02:21.024722 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
  23. 12:02:21.024872 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
  24. 12:02:23.323662 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
  25. 12:02:23.323699 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
  26. 12:02:24.808726 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
  27. 12:02:24.808837 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
  28. 12:02:26.023702 arp who-has 192.168.1.14 tell 192.168.1.129
  29. 12:02:26.023723 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
  30. 12:02:35.747695 IP 192.168.1.129.80 > 192.168.1.14.44482: . ack 4135987661 win 14
  31. 12:02:35.747743 IP 192.168.1.14.44482 > 192.168.1.129.80: . ack 3342835840 win 0
  32. 12:02:38.935654 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
  33. 12:02:38.935685 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
  34. 12:02:39.095703 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
  35. 12:02:39.095737 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
  36. 12:02:40.744721 arp who-has 192.168.1.129 tell 192.168.1.14
  37. 12:02:40.744818 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  38. 12:02:46.191973 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
  39. 12:02:46.192089 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
  40. 12:02:47.031697 IP 192.168.1.129.80 > 192.168.1.14.44474: . ack 2438761858 win 14
  41. 12:02:47.031740 IP 192.168.1.14.44474 > 192.168.1.129.80: . ack 1630114858 win 0
  42. 12:02:48.275715 IP 192.168.1.129.80 > 192.168.1.14.44476: . ack 2515384720 win 14
  43. 12:02:48.275753 IP 192.168.1.14.44476 > 192.168.1.129.80: . ack 1720704303 win 0
  44. 12:02:51.863688 IP 192.168.1.129.80 > 192.168.1.14.44475: . ack 2506143946 win 14
  45. 12:02:51.863724 IP 192.168.1.14.44475 > 192.168.1.129.80: . ack 1709026481 win 0
  46. 12:02:53.007713 IP 192.168.1.129.80 > 192.168.1.14.62911: . ack 3352419612 win 14
  47. 12:02:53.007750 IP 192.168.1.14.62911 > 192.168.1.129.80: . ack 2544952238 win 0
  48. 12:02:58.911695 IP 192.168.1.129.80 > 192.168.1.14.62912: . ack 1018130322 win 14
  49. 12:02:58.911732 IP 192.168.1.14.62912 > 192.168.1.129.80: . ack 229807467 win 0
  50. 12:03:01.796733 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
  51. 12:03:01.796843 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
  52. 12:03:01.960232 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
  53. 12:03:01.960327 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
  54. 12:03:05.087697 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
  55. 12:03:05.087740 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
  56. 12:03:06.796720 arp who-has 192.168.1.129 tell 192.168.1.14
  57. 12:03:06.796814 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  58. 12:03:07.819681 IP 192.168.1.129.80 > 192.168.1.14.61756: . ack 4133235612 win 14
  59. 12:03:07.819705 IP 192.168.1.14.61756 > 192.168.1.129.80: . ack 3327972625 win 0
  60. 12:03:09.507693 IP 192.168.1.129.80 > 192.168.1.14.26207: . ack 328328885 win 14
  61. 12:03:09.507729 IP 192.168.1.14.26207 > 192.168.1.129.80: . ack 3817710489 win 0
  62. 12:03:12.479705 IP 192.168.1.129.80 > 192.168.1.14.11719: . ack 282709976 win 14
  63. 12:03:12.479740 IP 192.168.1.14.11719 > 192.168.1.129.80: . ack 3786238352 win 0
  64. 12:03:17.479679 arp who-has 192.168.1.14 tell 192.168.1.129
  65. 12:03:17.479702 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
  66. 12:03:18.743660 IP 192.168.1.129.80 > 192.168.1.14.62913: . ack 1324908454 win 14
  67. 12:03:18.743691 IP 192.168.1.14.62913 > 192.168.1.129.80: . ack 540987395 win 0
  68. 12:03:21.239683 IP 192.168.1.129.80 > 192.168.1.14.46679: . ack 936205251 win 14
  69. 12:03:21.239728 IP 192.168.1.14.46679 > 192.168.1.129.80: . ack 121566068 win 0
  70. 12:03:26.355673 IP 192.168.1.129.80 > 192.168.1.14.46680: . ack 1013324160 win 14
  71. 12:03:26.355708 IP 192.168.1.14.46680 > 192.168.1.129.80: . ack 195646709 win 0
  72. 12:03:27.831666 IP 192.168.1.129.80 > 192.168.1.14.46681: . ack 1026196299 win 14
  73. 12:03:27.831709 IP 192.168.1.14.46681 > 192.168.1.129.80: . ack 229656958 win 0
  74. 12:03:31.355973 arp who-has 192.168.1.129 tell 192.168.1.14
  75. 12:03:31.356143 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  76. 12:03:32.423700 IP 192.168.1.129.80 > 192.168.1.14.27341: . ack 2411178457 win 14
  77. 12:03:32.423737 IP 192.168.1.14.27341 > 192.168.1.129.80: . ack 1606825614 win 0
  78. 12:03:50.083727 IP 192.168.1.129.80 > 192.168.1.14.11709: . ack 1338939783 win 14
  79. 12:03:50.083768 IP 192.168.1.14.11709 > 192.168.1.129.80: . ack 531844860 win 0
  80. 12:03:51.055676 IP 192.168.1.129.80 > 192.168.1.14.7204: . ack 276898321 win 14
  81. 12:03:51.055713 IP 192.168.1.14.7204 > 192.168.1.129.80: . ack 3762970022 win 0
  82. 12:03:55.080721 arp who-has 192.168.1.129 tell 192.168.1.14
  83. 12:03:55.080903 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  84. 12:03:58.155757 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
  85. 12:03:58.155790 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
  86. 12:04:01.939713 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
  87. 12:04:01.939741 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
  88. 12:04:23.323703 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
  89. 12:04:23.323735 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
  90. 12:04:28.323674 arp who-has 192.168.1.14 tell 192.168.1.129
  91. 12:04:28.323694 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
  92. 12:04:35.747689 IP 192.168.1.129.80 > 192.168.1.14.44482: . ack 4135987661 win 14
  93. 12:04:35.747731 IP 192.168.1.14.44482 > 192.168.1.129.80: . ack 3342835840 win 0
  94. 12:04:38.935705 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
  95. 12:04:38.935741 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
  96. 12:04:39.095700 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
  97. 12:04:39.095739 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
  98. 12:04:40.747969 arp who-has 192.168.1.129 tell 192.168.1.14
  99. 12:04:40.748064 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
  100. 12:04:42.569843 IP 192.168.1.14.22097 > 192.168.1.129.80: S 3197811176:3197811176(0) win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 9>
  101. 12:04:42.569959 IP 192.168.1.129.80 > 192.168.1.14.22097: S 2409866832:2409866832(0) ack 3197811177 win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 9>
  102. 12:04:42.570007 IP 192.168.1.14.22097 > 192.168.1.129.80: . ack 2409866833 win 12
  103. 12:04:42.570050 IP 192.168.1.14.22097 > 192.168.1.129.80: P 3197811177:3197811389(212) ack 2409866833 win 12

复制代码

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文