简体   繁体   English

Apache2:一遍又一遍重新上传

[英]Apache2: upload restarts over and over

We are using different upload scripts with Perl-Module CGI for our CMS and have not encountered such a problem for years. 我们为CMS使用的Perl-Module CGI使用了不同的上载脚本,并且多年来未遇到此类问题。

Our customer's employees are not able to get a successful download. 客户客户的员工无法成功下载。 No matter what kind or size of file, no matter which browser they use, no matter if they do it at work or log in from home. 无论文件的类型或大小如何,无论他们使用哪种浏览器,无论是在工作中使用文件还是在家中登录。 If they try to use one of our system's upload pages the following happens: The reload seems to work till approx. 如果他们尝试使用我们系统的上载页面之一,则会发生以下情况:重新加载似乎可以进行到大约。 94% are downloaded. 94%已下载。 Suddenly, the reload restarts and the same procedure happens over and over again. 突然,重新加载重新开始,并且相同的过程一遍又一遍地发生。

A look in the error log shows this: 在错误日志中可以看到以下内容:

Apache2::RequestIO::read: (70007) The timeout specified has expired at (eval 207) line 5

The wierd thing is if i log in our customer's system using our VPN-Tunnel i never can reproduce the error (i can from home though). 奇怪的是,如果我使用我们的VPN隧道登录客户系统,我将永远无法重现错误(尽管我可以在家中)。 I have googled without much success. 我用谷歌搜索没有太大的成功。 I checked the apache timeout setting which was at 300 seconds - which is more than generous. 我检查了Apache超时设置,该设置为300秒-足够慷慨。 I even checked the content length field for a value of 0 because i found a forum entry refering to a CGI bug that related to a content length field of 0. 我什至检查了内容长度字段的值为0,因为我发现一个论坛条目引用了一个与内容长度字段0相关的CGI错误。

Now, i am really stuck and running out of ideas. 现在,我真的陷入了困境,想法不多了。 Can you give me some new ones, please? 你能给我一些新的吗?

The apache server is version 2.2.16, the perl CGI module is version 3.43 . apache服务器的版本为2.2.16,perl CGI模块的版本为3.43。 We are using mod_perl. 我们正在使用mod_perl。

We did know our customer didn't use any kind of load balancing. 我们确实知道我们的客户没有使用任何类型的负载平衡。 Without letting anyone else know our customers infrastructure departement activated a load balancer. 在不让其他人知道的情况下,我们的客户基础架构部门激活了负载平衡器。 This way requests went to different servers and timed out. 这样,请求将转到不同的服务器并超时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM