• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache Refusing connections while uploading/Downloading files

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

When a user is trying to upload a file, another user trying to access the site, both the user who uploads the file and any other user who tries to access the site has a 503.

Can anyone help me out?

Thanks in Advance
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What errors are you seeing in the Tomcat logs?
 
Ravi Kanth Behera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben for the reply

Hello Ben,

I find the 503's in the Apache logs,and connection timeouts in the Tomcat logs

Here is the tomcat logs:

INFO: connection timeout reached
Dec 13, 2006 4:03:42 PM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Dec 13, 2006 4:03:42 PM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached


I would like to mention the setup as well:

It has a Load Balancer in the front,then comes the apache,tomcat then the DB

Thanks in Advance
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What code is managing the file upload?

How long does it take for the "other user" to get a 503 error.

Bill
 
Ravi Kanth Behera
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bill for the reply.


The Code is a servlet.

when the user starts a file upload, he gets 503 after 20-30 sec. but if any other user tries to access the site, after the file upload is started, they get a 503 immediately

Thanks in Advance
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think what William meant was:
What libraries are you using for file uploads?

Also, post file uploading code from your servlet so we can see it.
When you do so, please, use UBB code tags.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic