So I got contacted by support. I have been using some high CPU minutes usage. I have hosted some linux repo’s and do not host them anymore. Thing is there are tons of dead links out there that still hit me. People posted links to specific packages and did not realize that they changed often. They get my 404 page.
So I am running wordpress and the regular 404 is just another wordpress page with all the crap on it which would probably be to blame for the high CPU usage cuz of the php. I have replaced the 404 with a simple HTML 404 (although it has a php extension) to hopefully reduce the strain on the shared server.
So I was wondering will changing my 404 help that much?
Should I do something in .htaccess to completely block incoming links to the now gone dirs?
Am I thinking correctly about this, as in the php on the 404 was using a bunch of CPU?
CPU monitoring has been turned on for a long time so by tomorrow I should be able to tell if switching the 404 made a difference by checking the logs.
EDIT: also I am sure many folk still have the repo’s in their sources.list. Would the daily automatic check for updates have any significant effect on the CPU usage?