Issue with request and response on server

Hi,

I am working for a web application using ruby on rails.

I have my application on two servers 1) development server 2)
production server with two separate databases.

I have apache as web server and mongrel as application server.

development server configuration.

    1) apache as webserver.

    2) one mongrel instance as application server.

production server configuration.

   1) apache as the wevserver

   2) 9 mongrel instances as application servers.

Issue with production server:

If i do same action multiple number of times continuously then code is
breaking some of the time rendomly. i went through the code base but
there is not any issue in it.

analyzing server request response, i find that when the application
is breaking request is coming to webserver but it is not coming to
application server.

this issue is coming rendomly and on production server only.

i am not sure about reason of the issue.

Note: I am not getting this issue on development server.

can anyone tell me what the reason for breaking can be ??

Thanks in advance.

Piyush.

Issue with production server:

If i do same action multiple number of times continuously then code is
breaking some of the time rendomly. i went through the code base but
there is not any issue in it.

analyzing server request response, i find that when the application
is breaking request is coming to webserver but it is not coming to
application server.

If apache is dropping requests on the floor I'd home for their to be
some warnings/errors in one of its logs. It might be something like it
will only queue up so many incomplete requests (there are settings
which control this, can't remember what they are)

Fred

or you could just switch to nginx...

thanks for reply Frederick,

please let me know if you come to know about this setting.

Piyush.