A
A
Alexander2017-07-16 09:30:41
MySQL
Alexander, 2017-07-16 09:30:41

Why does Mysql crash?

There is Cloud Server , os: Ubuntu 14.04 , CPU 1, RAM 512 . There are two projects on the server, one in php and the other in python . Installed on mysql server, nginx, uwsgi, rabbitmq, celery . All these nginx, uwsgi, rabbitmq, celery servers are running. But when I start mysql : sudo service mysql start it doesn't seem to be able to start it:

$ sudo service mysql start
...................................................................................

To start mysql I need to disable uwsgi or celery , only then mysql will start. And if you manage to start everything at once, then after a certain number of seconds , mysql will turn off . Is it possible that the server does not pull?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TyzhSysAdmin, 2017-07-16
@kentuck1213

/var/log/celery/worker1.log
OSError: [Errno 12] Cannot allocate memory

You don't have enough RAM.
Either reduce the service wants in the configs or take a server with a large volume.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question