Forum Moderators: phranque
But now on my home machine, every site where I've installed an htaccess file now has random delays. I try to look at the site, and the page takes a long time to come up. When it does, I click through a few pages easily, and then, for no apparent reason, another long delay. The mod_rewrite rule is working, because I do eventually get to the page.
Anyone have an idea?
Could it be your ISP causing the delay? Have you tried connecting to the server from various proxies? Was there a delay, or was the response time equivelent?
Is your server under a really heavy load? What does top say when you type it in?
There are lots of things that, together, cause server load & delays in fetching pages.
What about a traceroute between you & the target server? Any routing issues?
Obviously my initial message was really not very clear, sorry about that.
These sites are working *perfectly* on their web server.
It's on my machine, where I look at them internally, that I'm having this problem! I have installed apache, mysql and php using EasyPHP if that makes any difference.
It's on my machine, where I look at them internally, that I'm having this problem! I have installed apache, mysql and php using EasyPHP if that makes any difference.
What sort of machine do you have? Windows? Linux? How much RAM? Is the home machine exclusively doing webserving, or do you do other stuff on it? Does the hard disk churn during the delay? It could be due to memory management problems or insufficient RAM, rather than with mod_rewrite itself.
What sort of machine do you have? Windows? Linux? How much RAM?win2k, p4 1.7, 256K of ram
Is the home machine exclusively doing webserving, or do you do other stuff on it?Lots of other stuff
Does the hard disk churn during the delay?nope!
It could be due to memory management problems or insufficient RAM, rather than with mod_rewrite itself.Well, the weird thing is that I don't have this problem at all with other dynamic sites on my machine, *only* with sites that rewrite url's using mod_rewrite! The page begins to load and then it "stalls" - the images don't load, and the browser locks for maybe 10-15 seconds. Then all works again.
If you are using a RewriteMap program, check your RewriteLock [httpd.apache.org] directive to be sure that the lock file is properly defined. The RewriteLock file must not be defined as an NFS-mounted-device file, but should be local.
Jim