Lost Requests
Added by Matthew Baker over 16 years ago
Hey Everyone,
I don’t know if they could be classified as “lost requests” or not but I can’t seem to figure out what’s up with Redmine. It seems like every couple of page requests an exception will occur, but if I simply do a refresh (and resend data if I was saving something) it loads like nothing ever happened. It doesn't happen anyplace specific, just everywhere moving around within the application. Has anyone ever experienced anything like this before? I'm running the following configuration:
- Redmine 0.7.3
- Apache 2.2.8
- MySQL 5.0.51a
And it is running on a VirtualHost and Proxy balancer (mongrol-cluster).
Thanks,
Matt
Replies (3)
RE: Lost Requests - Added by Thomas Lecavelier over 16 years ago
Funny: you do question AND answers.
One or more of your mongrels are stopped, or your balancer have a false list of ports for your cluster. Just post your vhost config and the listing of $REDMINE_HOME/tmp/pids dir, it should be sufficient if you don't have zombie pid files.
RE: Lost Requests - Added by Matthew Baker over 16 years ago
<VirtualHost *:8083>
ServerAdmin info@example.com
ServerName www.example.com
ServerAlias example.com
ErrorLog "C:\Program Files\BitNami Redmine Stack/apache2/logs/redmine_apache_error_log"
CustomLog "C:\Program Files\BitNami Redmine Stack/apache2/logs/redmine_apache_access_log" combined
<DirectoryMatch "^/.*/\.svn/">
ErrorDocument 403 /404.html
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch>
RewriteEngine On
- Redirect all non-static requests to cluster
RewriteCond /{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
</VirtualHost>
<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:3001
BalancerMember http://127.0.0.1:3002
</Proxy>
There's my VHost and Proxy configuration. I don't seem to have a $REDMINE_HOME/tmp/pids directory. Is that bad?
Matt
RE: Lost Requests - Added by Matthew Baker over 16 years ago
I restarted each mongrel service and now it's working just fine. One of them must have gone down for whatever reason. Thanks for your help!
Matt