mysql respawning too fast, stopped 해결

얼마전 부터 MySQL이 말썽을 부리기 시작했다.
부팅후 2~3일 정도 지나고 나면 갑자기 죽어 버리는 거다.
재설치를 해보고 별 짓을 다해봐도 리부팅 말고는 방법도 없다.
재부팅 하고 나면 또 2~3일간은 괜찮고….

[904539.515940] init: mysql main process (21214) terminated with status 1
[904539.516809] init: mysql main process ended, respawning
[904540.170259] init: mysql post-start process (21215) terminated with status 1
[904540.291704] type=1400 audit(1353159124.857:55): apparmor=”STATUS” operation=”profile_replace” name=”/usr/sbin/mysqld” pid=21238 comm=”apparmor_parser”
[904540.712887] init: mysql main process (21242) terminated with status 1
[904540.713022] init: mysql respawning too fast, stopped
로그를 봐도 이런 메시지뿐…
포기하고 지내다가 도저히 안되겠어서 구글님께 문의…
역시 구글님.. /etc/mysql/my.cnf 파일에 다음 한 줄을 추가하는 것으로 간단하게 해결!


innodb_buffer_pool_size = 16M


SeeAlso :
http://askubuntu.com/questions/127264/cant-start-mysql-mysql-respawning-too-fast-stopped
7