Jump to content

Apache not responding properly


spfun321

Recommended Posts

Hi,

I am using Apache - 2.0.59 and Tomcat - 4.1.24 on SunOS 5.9.

The problem which I am facing is the webserver is not processing any requests when a file is being uploaded. So When the user is trying to upload a file to server, no one else can get to the website..They get a 503 error. and the user gets a 503 also after sometime. The user gets a 502 sometimes. When the file is uploaded or processed, the website is accessible again. So basically the webserver is not accepting any requests when the app is doing an upload. Do we have any setting in apache/Tomcat..thats making the webserver behave like this ?

Any suggestions or parameter changes will really help me..

Thanks in Advance
pat.


Link to comment
Share on other sites

And with mod_jk (connector) do you have tomcat processing all uploads? Is there a reason why you need to use apache? Tomcat will suffice as a webserver, unless you have an extremely volume of traffic.

The way I have tomcat setup is:
I use tomcat for everything - serving content etc. I use an apache proxy_html module to proxy connections to/from tomcat.

e.g.:
RewriteEngine on
        RewriteRule ^/(.*) http://webserver:8080/$1 [P]


If you want to try and solve the exact issue you are having - you need to narrow and debug whats happenning. What is been stalled waiting for the process? Tomcat or Apache? It could be the script itself or it could be the connector. Im afraid I dont know anything about uploads with tomcat via mod_jk and apache.
Tomcat on its own works fine for me.

-steve
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.