Apache httpd server error serving bulk request simultaneously

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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="" href="http://product.estream.com.my/cgi-bin/upx.pl">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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux