Sometimes such behavior of apache/httpd (taking more & more memory until it dies or crashes the server) can be caused by corrupted MySQL database.
**Try to do the following scripts :-
1> Kill the mysql server :-
/etc/rc.d/init.d/mysql stop
2> Repair all SQL databases:-
myisamchk -r /var/lib/mysql/*/*.MYI
3> Start mysql again:-
/etc/rc.d/init.d/mysql start
***************************************************
**Try to do the following scripts :-
1> Kill the mysql server :-
/etc/rc.d/init.d/mysql stop
2> Repair all SQL databases:-
myisamchk -r /var/lib/mysql/*/*.MYI
3> Start mysql again:-
/etc/rc.d/init.d/mysql start
***************************************************
No comments:
Post a Comment