I have a droplet of 1 cpu 1 gb ram running ubuntu 12 (32 bit) and LAMP And somehow i feel that the website is running so slow (wordpress with only 1 user and very few data because i’m still developing) so i put Monit and it says: Status Load CPU Memory Swap Resource limit matched [0.19] [0.41] [0.22] 11.3%us, 1.3%sy, 0.0%wa 85.7% [879476 kB]
so put some 1Gb swap and the cpu went as much as 98% so i ran top and i see apache2 is using most of the memories
Any solution I tried so many solution like limiting cpu etc but didn’t work
i’m a noob in linux and vps…so please be kind
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
so i checked, 3 of the most memory users are:
is this normal? is there any way to improve this? please…
Finally this helped, none of other solution did any change (add swap, monitor for banned iP’s, upgrade droplet):
## Edit /etc/my.cnf, and add the following line under the [mysqld] heading.
[mysqld]
innodb_buffer_pool_size=64M
```
Then restart: `$ service mysql restart`
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
