WOFileUpload, Apache and large file
"John Escott" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <OFB3D440CF.E26807D2-ONC12571FB.006E2DDD-802571FB.007288EB@scanlaser.nl> |
Hello, I have an application which accepts file uploads using WOFileUpload. It's deployed on Linux (WO5.2) and uses the default adaptor and Apache as the Web server. The WOFileUpload uses the outputStream binding so the file data goes to disk and this normally works fine. This morning a customer uploaded a large file which took a long time to upload (59 mins). During this time, all other users with sessions in the same app instance were "locked out" (received various http errors (500 etc) to the effect that the app was unavailable). I deduce that this is because the app only has 1 tcp connection to Apache which is exclusively used by the file data. Has anyone encountered this problem before? Is there any way round it? I've created a few more instances so fewer users should now be affected by it if it happens again (but most file uploads are much smaller and quicker anyway). But I'd like to know if there's a better fix. best regards, John Escott.