LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Php file uploads result in "connection reset" error

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-01-2006, 11:49 PM
bazza bazza is offline
Member
 
Join Date: Jun 2006
Posts: 13
Default Php file uploads result in "connection reset" error

Greetings,

We are running into a problem when uploading files (specifically images) via php. What happens is that the upload will stop and the user will receive the following message in their browser:

"Connection Interrupted
The document contains no data.
The network link was interrupted while negotiating a connection. Please try again."

It doesnt happen all the time, and the larger the image to be uploaded, the more prevalent the problem seems to be. 20k images usually upload without a problem, but 500k images may have a problem 75% of the time.

What is somewhat strange is that on non-live servers (servers with no traffic) the problem does not exist, and the images upload without issue. Sending production traffic to the same server causes the problem to surface.

I have tried with the following litespeed/php combinantions:

2.1.16 Enterprise/4.4.2
2.1.16 Standard/4.4.2
2.1.15 Standard/4.4.0
2.1.14 Standard/4.4.0

The problem persists with all combinations.

I have tried adjusting the various timeout values, but they dont seem to have any impact. The time elsapsed before the error is retured varies per upload attempt -- sometimes it will be 5 sec, sometimes more than 60 sec, even when the file being uploaded is the same size each attempt.

Enabling DEBUG logging seems to show the following at or around the time of the connection reset:

[DEBUG] [idle] [ExtConn] close()

We are using lsapi in all cases and the image uploads are taking place over SSL. The problem seems to exist when using any browserr and therefore does not appear to be browser-specific.

Any help tracking down the cause of these connection resets and how to resolve them would be much appreciated.

Barry
Wordpress.com
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP - 503 error sofatime PHP 8 07-09-2007 06:55 AM
Very odd PHP error, any file name that starts with admin (admin.php/admintest.php) chernann PHP 4 07-07-2007 06:38 PM
Problem installing ruby-lsapi sfreiberg Install/Configuration 11 10-17-2006 01:56 PM
Bug with File Uploads in 2.1.7 ripkens Bug Reports 19 01-04-2006 11:12 AM
PHP No input file specified. error SyNeo Install/Configuration 4 10-31-2005 12:12 PM


All times are GMT -7. The time now is 07:04 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.