Steveman
11-21-2002, 11:40 PM
I have a server at Rackshack with ensim 3.1.1. I use .htaccess files on all my domains to stop hotlinking. The problem is I have about 50K hits a day that gets redirected because of some missing html files. So the htaccess file is being read, and when "RewriteEngine On" is read, apache flips out and uses 99% CPU. Since the file is read so many times, apache is always running at 99% and then sendmail fails, then other servers fails as well.
I have installed the newest ensim patch for the httpd problem, but my box is unaffected by this.
Also just to add... there is no loop happening. RS kept telling me that one of my php files was causing an infinate loop... but I uploaded no php files. Sometimes the apache httpd will show up on 40 lines at at time when I do a "top" but if there is nobody accessing the server, the apache line will drop down to a few, or zero. When it's not being accessed, cpu is .03-1% usage. It's very busy though, except at 4am or so.
Do you guys have any ideas on what's up or how to fix this? I'm a little worried so I bought another server (just RedHat Linux only). But I'm not a linux guy, I'd rather use ensim if possible.
I have installed the newest ensim patch for the httpd problem, but my box is unaffected by this.
Also just to add... there is no loop happening. RS kept telling me that one of my php files was causing an infinate loop... but I uploaded no php files. Sometimes the apache httpd will show up on 40 lines at at time when I do a "top" but if there is nobody accessing the server, the apache line will drop down to a few, or zero. When it's not being accessed, cpu is .03-1% usage. It's very busy though, except at 4am or so.
Do you guys have any ideas on what's up or how to fix this? I'm a little worried so I bought another server (just RedHat Linux only). But I'm not a linux guy, I'd rather use ensim if possible.
