httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chee Yang Chau <cyc...@gmail.com>
Subject [users@httpd] Apache httpd server error serving bulk request simultaneously
Date Thu, 28 Oct 2010 06:40:34 GMT
Hi,

I have a perl cgi script that using upx to pack win32 executable files.  The
perl script is invoked in ANT script:

<for list="${p.files}" delimiter=";" param="p.file.exe" parallel="true" *
threadCount="2"*>
<sequential>
<echo>@{p.file.exe}</echo>
<httpmpost url="http://product.estream.com.my/cgi-bin/upx.pl"
logLevel="content" logFile="@{p.file.exe}" logProcessAs="binary">
<postFile name="filename" file="@{p.file.exe}"/>
</httpmpost>
</sequential>
</for>

When I execute ANT script, I encounter the following errors:

     [echo]
C:\Users\coder\AppData\Local\Temp\null1508088964\null360701397\bin\m
ars\SQL.DBXFirebirdDriver140.bpl
     [echo]
C:\Users\coder\AppData\Local\Temp\null1508088964\null360701397\bin\m
ars\SQL.DBXCommonDriverEx140.bpl
     [echo]
C:\Users\coder\AppData\Local\Temp\null1508088964\null360701397\bin\m
ars\SQL.DBXMSSQLDriverEx140.bpl
     [echo]
C:\Users\coder\AppData\Local\Temp\null1508088964\null360701397\bin\m
ars\SQL.app.bpl
     [echo]
C:\Users\coder\AppData\Local\Temp\null1508088964\null360701397\bin\m
ars\SQL.app.diy.catalog.bpl
[httpmpost] Oct 28, 2010 2:17:25 PM
org.apache.commons.httpclient.HttpMethodDire
ctor executeWithRetry
[httpmpost] INFO: I/O exception caught when processing request: Socket
closed
[httpmpost] Oct 28, 2010 2:17:25 PM
org.apache.commons.httpclient.HttpMethodDire
ctor executeWithRetry
[httpmpost] INFO: Retrying request
[httpmpost] Oct 28, 2010 2:17:26 PM
org.apache.commons.httpclient.HttpMethodDire
ctor executeWithRetry
[httpmpost] INFO: I/O exception caught when processing request: Socket
closed


If the ant script's threadCount set to 1, the script works well without any
error.

I suspect the PERL CGI script in httpd server is unable to handle requests
simultaneously.  Could it be the setting in httpd server that cause the
problems?

Thank you.

-- 
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting

Mime
View raw message