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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.