Advertisement:

Author Topic: Causing lot of CPU Usage in hosting  (Read 2675 times)

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Causing lot of CPU Usage in hosting
« on: June 10, 2016, 04:36:16 pm »
I have two sites running in shared hosting and it is causing lot of CPU per my hoster (siteground now). They are keep pushing me for any plugin for cashing, example siteCash for wordpress etc. Is there any such plugin? So far I have reduced the google bots hit. It's taking lot if hits, don't know why., Did any one face this problem? Are there any good hosting for osclass that will allow me lot of CPU??
I already took the Google real time analytics down but that did not help.

Aficionado

  • Guest
Re: Causing lot of CPU Usage in hosting
« Reply #1 on: June 10, 2016, 10:27:56 pm »
I could suggest MDD Hosting shared hosting. Very Highly.

https://www.mddhosting.com/

Also you need to find the cause of your problems. Who is doing what. And block them somehow. If you find the cause i could offer a lot of suggestions.

No caching exists for Osclass, sorry to say that. Pitty. BUT the above host (i use for 5 Osclass and 3 Wordpress) offers PHP 7 and OPcache and those two help a L O T.
« Last Edit: June 10, 2016, 10:30:12 pm by Aficionado »

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Re: Causing lot of CPU Usage in hosting
« Reply #2 on: June 14, 2016, 12:00:32 am »
Thank you.
I have the stats of the site not sure how to find out who is causing the issue. Any idea?

Aficionado

  • Guest
Re: Causing lot of CPU Usage in hosting
« Reply #3 on: June 14, 2016, 03:33:29 pm »
What kind of daily hits are we talking about for the whole site ? Also how big is that site ?

The Stats will not help much, you better search the web server log.

Also you are hiting CPU limits or / and other limits also (like entry processed and disk i/o). Do you have a CPanel in your account ?


bengalliboy

  • Full Member
  • ***
  • Posts: 204
Re: Causing lot of CPU Usage in hosting
« Reply #4 on: June 15, 2016, 04:01:07 pm »
It was some sorts of Bots and my files were getting malaware. After investing thoroughly I found out some one using email like mail.ru from Ru, causing this issue. I added this type of email on my banned user and forced this not to access my site. After this it seems it is holding and acting normal. What a pain. This culprit went in my db and created some tables and causing the bots and malaware to be generated and innitiated and sending spam mail. I don't understand why would someone harm me like this where I don't see even any benefit. I wasted tons of hours cleaning my site..... I pray for this person so he is guided.   

Any other suggestion on how to prevent malaware and cpu hike?  Thank you

Aficionado

  • Guest
Re: Causing lot of CPU Usage in hosting
« Reply #5 on: June 15, 2016, 04:17:43 pm »
No bot or user can harm your database. Apparently you have a security issue.


xop32

  • Jr. Member
  • **
  • Posts: 77
  • trend following
Re: Causing lot of CPU Usage in hosting
« Reply #6 on: June 23, 2016, 04:02:07 am »
I had a similar problem that my  site is on a list to be targeted by (posting) bots that randomly post ads  anywhere they can


a lot of black hat types use programmes like xrummer etc to (try to) post to thousands of sites random posts all day every day

once your site is on there list to be targeted, its a real pain, you have to look at different ways to try to combat this situation, as these types of people like to target sites where they can post free ads and such like

over the years I have had couple of servers that have been hacked into and used as spam relays and such like, not a good problem to have
« Last Edit: June 23, 2016, 04:10:50 am by xop32 »

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Re: Causing lot of CPU Usage in hosting
« Reply #7 on: June 24, 2016, 03:38:20 pm »
@xop32
What solution did you try to follow? It seems my .httcss file deny seems working well though, so far. :)

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Causing lot of CPU Usage in hosting
« Reply #8 on: August 28, 2016, 04:50:58 am »
@bengaliboy , have you solved you issue?
Maybe you can look at some security service like Cloudflare or sucuri, which are quite good in my experience.

bengalliboy

  • Full Member
  • ***
  • Posts: 204
Re: Causing lot of CPU Usage in hosting
« Reply #9 on: September 19, 2016, 04:28:11 pm »
Yes problem is solved. 2 issues. Some malaware tried to send virus/cpu spike etc so blocking it via .htt access did the trick
2. Google real time traffic was one that was running the bots and same thing was done to stop it and reduced the execution rate
Thanks,

Tonymura

  • Jr. Member
  • **
  • Posts: 75
  • Its always a good day when you learn something new
Re: Causing lot of CPU Usage in hosting
« Reply #10 on: September 27, 2016, 08:18:15 am »
Try using the following htaccess code.

#Block Russian referrer web sites #
RewriteCond %{HTTP_REFERER} \.(ru)/ [NC]

This should block any .ru domain.