内网curl 下载的问题
本帖最后由 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
- 12:01:19.773465 IP 192.168.1.129.80 > 192.168.1.14.22095: F 3516967770:3516967770(0) ack 29263387 win 14
- 12:01:31.903709 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
- 12:01:31.903738 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
- 12:01:32.423893 IP 192.168.1.129.80 > 192.168.1.14.27341: . ack 2411178457 win 14
- 12:01:32.423920 IP 192.168.1.14.27341 > 192.168.1.129.80: . ack 1606825614 win 0
- 12:01:45.215644 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
- 12:01:45.215690 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
- 12:01:50.083675 IP 192.168.1.129.80 > 192.168.1.14.11709: . ack 1338939783 win 14
- 12:01:50.083711 IP 192.168.1.14.11709 > 192.168.1.129.80: . ack 531844860 win 0
- 12:01:50.212220 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:01:50.212322 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:01:51.055677 IP 192.168.1.129.80 > 192.168.1.14.7204: . ack 276898321 win 14
- 12:01:51.055716 IP 192.168.1.14.7204 > 192.168.1.129.80: . ack 3762970022 win 0
- 12:01:58.155664 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
- 12:01:58.155706 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
- 12:02:01.939668 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
- 12:02:01.939702 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
- 12:02:11.839678 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
- 12:02:11.839719 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
- 12:02:16.836723 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:02:16.836852 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:02:21.024722 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
- 12:02:21.024872 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
- 12:02:23.323662 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
- 12:02:23.323699 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
- 12:02:24.808726 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
- 12:02:24.808837 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
- 12:02:26.023702 arp who-has 192.168.1.14 tell 192.168.1.129
- 12:02:26.023723 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
- 12:02:35.747695 IP 192.168.1.129.80 > 192.168.1.14.44482: . ack 4135987661 win 14
- 12:02:35.747743 IP 192.168.1.14.44482 > 192.168.1.129.80: . ack 3342835840 win 0
- 12:02:38.935654 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
- 12:02:38.935685 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
- 12:02:39.095703 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
- 12:02:39.095737 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
- 12:02:40.744721 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:02:40.744818 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:02:46.191973 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
- 12:02:46.192089 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
- 12:02:47.031697 IP 192.168.1.129.80 > 192.168.1.14.44474: . ack 2438761858 win 14
- 12:02:47.031740 IP 192.168.1.14.44474 > 192.168.1.129.80: . ack 1630114858 win 0
- 12:02:48.275715 IP 192.168.1.129.80 > 192.168.1.14.44476: . ack 2515384720 win 14
- 12:02:48.275753 IP 192.168.1.14.44476 > 192.168.1.129.80: . ack 1720704303 win 0
- 12:02:51.863688 IP 192.168.1.129.80 > 192.168.1.14.44475: . ack 2506143946 win 14
- 12:02:51.863724 IP 192.168.1.14.44475 > 192.168.1.129.80: . ack 1709026481 win 0
- 12:02:53.007713 IP 192.168.1.129.80 > 192.168.1.14.62911: . ack 3352419612 win 14
- 12:02:53.007750 IP 192.168.1.14.62911 > 192.168.1.129.80: . ack 2544952238 win 0
- 12:02:58.911695 IP 192.168.1.129.80 > 192.168.1.14.62912: . ack 1018130322 win 14
- 12:02:58.911732 IP 192.168.1.14.62912 > 192.168.1.129.80: . ack 229807467 win 0
- 12:03:01.796733 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
- 12:03:01.796843 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
- 12:03:01.960232 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
- 12:03:01.960327 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
- 12:03:05.087697 IP 192.168.1.129.80 > 192.168.1.14.22094: . ack 9068812 win 14
- 12:03:05.087740 IP 192.168.1.14.22094 > 192.168.1.129.80: . ack 3496625484 win 0
- 12:03:06.796720 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:03:06.796814 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:03:07.819681 IP 192.168.1.129.80 > 192.168.1.14.61756: . ack 4133235612 win 14
- 12:03:07.819705 IP 192.168.1.14.61756 > 192.168.1.129.80: . ack 3327972625 win 0
- 12:03:09.507693 IP 192.168.1.129.80 > 192.168.1.14.26207: . ack 328328885 win 14
- 12:03:09.507729 IP 192.168.1.14.26207 > 192.168.1.129.80: . ack 3817710489 win 0
- 12:03:12.479705 IP 192.168.1.129.80 > 192.168.1.14.11719: . ack 282709976 win 14
- 12:03:12.479740 IP 192.168.1.14.11719 > 192.168.1.129.80: . ack 3786238352 win 0
- 12:03:17.479679 arp who-has 192.168.1.14 tell 192.168.1.129
- 12:03:17.479702 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
- 12:03:18.743660 IP 192.168.1.129.80 > 192.168.1.14.62913: . ack 1324908454 win 14
- 12:03:18.743691 IP 192.168.1.14.62913 > 192.168.1.129.80: . ack 540987395 win 0
- 12:03:21.239683 IP 192.168.1.129.80 > 192.168.1.14.46679: . ack 936205251 win 14
- 12:03:21.239728 IP 192.168.1.14.46679 > 192.168.1.129.80: . ack 121566068 win 0
- 12:03:26.355673 IP 192.168.1.129.80 > 192.168.1.14.46680: . ack 1013324160 win 14
- 12:03:26.355708 IP 192.168.1.14.46680 > 192.168.1.129.80: . ack 195646709 win 0
- 12:03:27.831666 IP 192.168.1.129.80 > 192.168.1.14.46681: . ack 1026196299 win 14
- 12:03:27.831709 IP 192.168.1.14.46681 > 192.168.1.129.80: . ack 229656958 win 0
- 12:03:31.355973 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:03:31.356143 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:03:32.423700 IP 192.168.1.129.80 > 192.168.1.14.27341: . ack 2411178457 win 14
- 12:03:32.423737 IP 192.168.1.14.27341 > 192.168.1.129.80: . ack 1606825614 win 0
- 12:03:50.083727 IP 192.168.1.129.80 > 192.168.1.14.11709: . ack 1338939783 win 14
- 12:03:50.083768 IP 192.168.1.14.11709 > 192.168.1.129.80: . ack 531844860 win 0
- 12:03:51.055676 IP 192.168.1.129.80 > 192.168.1.14.7204: . ack 276898321 win 14
- 12:03:51.055713 IP 192.168.1.14.7204 > 192.168.1.129.80: . ack 3762970022 win 0
- 12:03:55.080721 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:03:55.080903 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 12:03:58.155757 IP 192.168.1.129.80 > 192.168.1.14.9089: . ack 3636186268 win 14
- 12:03:58.155790 IP 192.168.1.14.9089 > 192.168.1.129.80: . ack 2834422540 win 0
- 12:04:01.939713 IP 192.168.1.129.80 > 192.168.1.14.9091: . ack 3695779236 win 14
- 12:04:01.939741 IP 192.168.1.14.9091 > 192.168.1.129.80: . ack 2883387062 win 0
- 12:04:23.323703 IP 192.168.1.129.80 > 192.168.1.14.25069: . ack 3410260145 win 14
- 12:04:23.323735 IP 192.168.1.14.25069 > 192.168.1.129.80: . ack 2610758840 win 0
- 12:04:28.323674 arp who-has 192.168.1.14 tell 192.168.1.129
- 12:04:28.323694 arp reply 192.168.1.14 is-at 00:15:17:88:f3:80
- 12:04:35.747689 IP 192.168.1.129.80 > 192.168.1.14.44482: . ack 4135987661 win 14
- 12:04:35.747731 IP 192.168.1.14.44482 > 192.168.1.129.80: . ack 3342835840 win 0
- 12:04:38.935705 IP 192.168.1.129.80 > 192.168.1.14.25071: . ack 3663844315 win 14
- 12:04:38.935741 IP 192.168.1.14.25071 > 192.168.1.129.80: . ack 2848214263 win 0
- 12:04:39.095700 IP 192.168.1.129.80 > 192.168.1.14.25072: . ack 3654475856 win 14
- 12:04:39.095739 IP 192.168.1.14.25072 > 192.168.1.129.80: . ack 2855065646 win 0
- 12:04:40.747969 arp who-has 192.168.1.129 tell 192.168.1.14
- 12:04:40.748064 arp reply 192.168.1.129 is-at 84:2b:2b:64:68:e8
- 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>
- 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>
- 12:04:42.570007 IP 192.168.1.14.22097 > 192.168.1.129.80: . ack 2409866833 win 12
- 12:04:42.570050 IP 192.168.1.14.22097 > 192.168.1.129.80: P 3197811177:3197811389(212) ack 2409866833 win 12
复制代码
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论