I am having some major problems with my website. My Average CPU load is currently at ~30, using a server with 8 cores so max it can handle should be 8.
Contacted the company I have my server at and they said this:
"It seems that a lot of data is read from / written to the database quiet often. Due to the RAID1 this needs to be synchronized to the second hard disk, which is causing the 97% user (access to database) or 97% IO (synchronizing between the hard disks). Is you database optimized (Primary and Foreign Keys set, using Auto-Increment, ...) if not we would recommend to perform the optimizations yourself or contact a specialist for this."
Is it enough to just use Optimize in phpmyadmin?
"Additionally, there are a lot of connections to your webserver.
Maybe you should check if this are normal visitors or if this is a DoS"
I am not currently at home and I dont really know if it is a DoS or not, but I think it might be.
I have ~30 users online all the time, had a plugin that said I have 200 online all the time though, no idea why it shows so much more than analytics but maybe it can see traffic from DoS attack. It didnt get slow until yesterday night so maybe not.
I had a few people complaining about my website also (the kind of content it contains, legal but some think it isn't) and I am also in competition with other websites and I rank on first spot on google so it is both competitors and haters that might want to take down my website.
What am I gonna do if I am being DoS attacked?
Contacted the company I have my server at and they said this:
"It seems that a lot of data is read from / written to the database quiet often. Due to the RAID1 this needs to be synchronized to the second hard disk, which is causing the 97% user (access to database) or 97% IO (synchronizing between the hard disks). Is you database optimized (Primary and Foreign Keys set, using Auto-Increment, ...) if not we would recommend to perform the optimizations yourself or contact a specialist for this."
Is it enough to just use Optimize in phpmyadmin?
"Additionally, there are a lot of connections to your webserver.
Maybe you should check if this are normal visitors or if this is a DoS"
I am not currently at home and I dont really know if it is a DoS or not, but I think it might be.
I have ~30 users online all the time, had a plugin that said I have 200 online all the time though, no idea why it shows so much more than analytics but maybe it can see traffic from DoS attack. It didnt get slow until yesterday night so maybe not.
I had a few people complaining about my website also (the kind of content it contains, legal but some think it isn't) and I am also in competition with other websites and I rank on first spot on google so it is both competitors and haters that might want to take down my website.
What am I gonna do if I am being DoS attacked?