Re: mod_jk restarting during uploads of large files

2011-07-07 Thread martin
Yeh, I've worked out what was happening, seems that tomcat was being killed by the system running out of memory, which was happening without any log messages on the system at all, which was rather unhelpful and left me completely stumped for a while. However adding extra swap space and

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Pid
Linux OOM killer? http://lwn.net/Articles/317814/ p On 07/07/2011 09:35, mar...@alt-v.co.uk wrote: Yeh, I've worked out what was happening, seems that tomcat was being killed by the system running out of memory, which was happening without any log messages on the system at all, which was

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread André Warnier
Hi. Since this concerns large files upload, I wonder if something along these lines is happening : A file upload is a POST request, usually with an enctype=multipart/form-data format (similar to an email with attachments). Furthermore, for sending this file, the browser is going to encode the

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Thad Humphries
André, I believe the file upload you are talking about is the FileUpload project from the Apache Commons: http://commons.apache.org/fileupload/ This does indeed have a disk-based implementation of an upload file. The package is org.apache.commons.fileupload.disk and it implements the project's

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André , On 7/7/2011 10:27 AM, André Warnier wrote: Since this concerns large files upload, I wonder if something along these lines is happening : A file upload is a POST request, usually with an enctype=multipart/form-data format (similar to

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread André Warnier
Christopher Schultz wrote: ... I don't think any browser does base64 encoding of files. Let's make a bet... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 7/7/2011 4:57 PM, André Warnier wrote: Christopher Schultz wrote: ... I don't think any browser does base64 encoding of files. Let's make a bet... I'll buy you a nice American beer if I'm wrong and you come to ApacheCon NA in

Re: mod_jk restarting during uploads of large files

2011-07-06 Thread Rainer Jung
It seems it is not a mod_jk problem. mod_jk never shuts down Tomcat, but obviously your Tomcat shuts down during processing the request. I would - update Tomcat *and* the service wrapper (jdvc) to the most recent patch update (e.g. Tomcat 5.5.33). - run Tomcat once without the service wrapper

mod_jk restarting during uploads of large files

2011-07-04 Thread martin
Hi I have a problem when uploading files to tomcat through mod_jk. When uploading smaller files (100kb) everything seems to work fine, but when uploading files of about 1.5Mb it seems as if the server is restarting and causing a 503 error. I've tried modifying timeouts in both apache