apache making huge load

I have an Apache problem (?) that makes critical load to the server and makes the server almost hang.
After a time the server becomes slow and it takes me several minutes till I can log in and stop Apache. If I manage to stop it (lot of child process xxx still did not exit, sending a SIGKILL in error_log), the load goes back to normal and I can restart Apache and everything works OK. When the load reaches a certain level MySQL is not responding anymore and therefore all services are done (mail, ftp data stored in db).

After 1 week research I found two possible sources of the error:


a) two non-existing php files. These files were writing data to two files but as the permissions were set incorrectly the owner deleted the file. I still see a lot of POST queries coming to those files from flash files.


b) this idea came a few minutes ago. I wanted to install amavis-new (used MailScanner before) 10 days ago and had to update many perl libraries because of that.

SIM sends me the following error:
Dec 23 01:45:00 server httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf:
Dec 23 01:45:00 server httpd: Cannot load /etc/httpd/modules/mod_access.so into
server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such
file or directory
Dec 23 01:45:00 server httpd: httpd startup failed

I searched the web and found some posts that said that it is a perl problem. When I look in httpd.conf, line 176 is completely correct (a line starting with #).

What could the problem be? Should I downgrade the updated perl modules?
System: RH9, Apache 2.2.0 or the same with 2.0.55

 

 

 

 

Top