From commons-user-return-7220-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Wed Mar 31 18:37:25 2004 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 17589 invoked from network); 31 Mar 2004 18:37:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Mar 2004 18:37:25 -0000 Received: (qmail 19568 invoked by uid 500); 31 Mar 2004 18:37:11 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 19555 invoked by uid 500); 31 Mar 2004 18:37:10 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 19541 invoked from network); 31 Mar 2004 18:37:10 -0000 Received: from unknown (HELO urchin.ballreich.net) (64.105.25.114) by daedalus.apache.org with SMTP; 31 Mar 2004 18:37:10 -0000 Received: from grouper (grouper.ballreich.net [192.168.1.3]) by urchin.ballreich.net (8.12.9/8.12.9) with SMTP id i2VIbGvY029159 for ; Wed, 31 Mar 2004 10:37:16 -0800 Message-Id: <3.0.5.32.20040331103913.00995380@urchin> X-Sender: cindy@urchin X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 31 Mar 2004 10:39:13 -0800 To: "Jakarta Commons Users List" From: Cindy Ballreich Subject: Re: Large File Upload with fileupload 1.0 {Scanned} In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It sounds like your server is timing out and killing the session, but I'm not sure why it would be different on the Solaris system. I did some experiments with various large files. I first set my session timeout to 600 minutes. I then tested to see how long it took to upload the files from various bandwidth connections. Once I had some stats, I added some code that checks the size of the request and adjusts the timout based on the size. This allows me to keep a reasonable timeout for users that aren't uploading, while giving those who are enough time to do the upload. It seems to work reasonably well, but I still occasionally see uploads that fail. I hope this is helpful Cindy --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org