pppepito86 / smg

2 stars 0 forks source link

mysql stopped #8

Closed pppepito86 closed 7 years ago

pppepito86 commented 7 years ago

trying to allocate a lot of memory in program looks to cause mysql being killed InnoDB: mmap(137363456 bytes) failed; errno 12 2016-09-28 12:10:50 31827 [ERROR] InnoDB: Cannot allocate memory for the buffer pool 2016-09-28 12:10:50 31827 [ERROR] Plugin 'InnoDB' init function returned error. 2016-09-28 12:10:50 31827 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2016-09-28 12:10:50 31827 [ERROR] Unknown/unsupported storage engine: InnoDB 2016-09-28 12:10:50 31827 [ERROR] Aborting

pppepito86 commented 7 years ago

The problem occurred when the user process tries to allocate a lot of memory. Since the vm is running with small memory. The docker process memory should be minimized. Otherwise the os needs more memory and kills mysql or sth else trying to free some.