Advertisement:

Author Topic: High CPU Usage Consuming Resource Limit Osclass  (Read 2153 times)

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
High CPU Usage Consuming Resource Limit Osclass
« on: October 21, 2016, 11:16:25 am »
Hi Collegues,
I am using bender theme for 2 web pages, since yesterday my hosting company started send warning about " High CPU Usage Consuming Resource Limit  "
This web sites has max 200 visitors daily and no video playing, no data entering etc. It can not be consume all CPU of system,
I checked web site visitor's stats I saw record below;
Time IP   Size (bytes)  Referring URL  URL Status Method Protocol User Agent
10/21/16, 3:06 AM 66.7.223.218   83482  Osclass /  500 POST HTTP/1.1 (v.361) -
10/21/16, 3:07 AM 66.7.223.218   83482  Osclass /  500 POST HTTP/1.1 (v.361) -
10/21/16, 3:08 AM 66.7.223.218   83482  Osclass /  500 POST HTTP/1.1 (v.361) -

And this records going down as thousands and every minutes a bots sending high kb ( 83482 )

How to solve this problem?



mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #1 on: November 26, 2016, 12:44:15 pm »
I sent email to osclass and they informed me that this problem is not related with osclass,
Osclass adviced me to change hosting company...
Yes, I moved all files + database another hosting company and it work fines
Steps :
First backup your database and all files from your current hosting and scan it with antivirus software

1) First install clean osclass version into your new hosting company and visit domain and see it works fine
2) Delete all database files and insert your own backup database files
3) Upload your /oc-content / files again from your backup

Visit your domain again, you will see that your web works fine...

oliver244

  • Newbie
  • *
  • Posts: 27
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #2 on: January 07, 2017, 05:46:10 pm »
I'm having exactly the same problem right now :

[07/Jan/2017:13:44:09 +0100] "POST / HTTP/1.1" 200 367 "Osclass (v.332)" "-"
87.118.83.148 - - [07/Jan/2017:13:44:10 +0100] "POST / HTTP/1.1" 200 367 "Osclass (v.332)" "-"
87.118.83.148 - - [07/Jan/2017:13:44:09 +0100] "POST / HTTP/1.1" 200 367 "Osclass (v.332)" "-"
87.118.83.148 - - [07/Jan/2017:13:44:09 +0100] "POST / HTTP/1.1" 200 367 "Osclass (v.332)" "-"
87.118.83.148 - - [07/Jan/2017:13:44:06 +0100] "POST / HTTP/1.1" 200 367 "Osclass (v.332)" "-"

How did you fix it ? I'm not crazy about the idea of changing server  :(

mrtsoftware

  • Sr. Member
  • ****
  • Posts: 343
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #3 on: March 14, 2017, 08:20:12 pm »
My solution ;
İn your hosting panel " IP block" . try to block ip of hosting which shown
If this does not solve problem, make ZIP back up SQL file under PHP my admin, and files under / oc-content /

Delete all and make a frest installation and restore SQL + / oc-content /

It will be solved.
If you send me private message I can live help.

SABTECH

  • Newbie
  • *
  • Posts: 34
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #4 on: February 13, 2019, 09:59:18 am »
THIS IS VERY TRUE
If you cant afford to host with osclass partners or buy adedicated server then OSclass will disappoint you, buy default  shared servers allocate 2gb RAM to every website and trust me osclass takes more than 2gb ram when someone is posting asimple product ,do your own research , i changed webhosting companies five times untill we decided to move to wordpress.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #5 on: February 13, 2019, 06:42:04 pm »
SABTECH,

That is not true at all. It all depends what your expectations and requirements are, Osclass can run on as little as 256 MB of RAM just fine, but you need decent CPU to manage all tasks in a timely manner, avoid timeouts etc.

Aficionado

  • Guest
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #6 on: February 13, 2019, 07:28:22 pm »
THIS IS VERY TRUE
If you cant afford to host with osclass partners or buy adedicated server then OSclass will disappoint you, buy default  shared servers allocate 2gb RAM to every website and trust me osclass takes more than 2gb ram when someone is posting asimple product ,do your own research , i changed webhosting companies five times untill we decided to move to wordpress.

THIS IS VERY UN-TRUE.

I host 10 Osclass sites, in two shared plans, with 512 of php memory (i had 256 2 years ago) and never had ANY problem with performance or issues with resources. ZERO.

Who says that Osclass needs 2gb when someone posts ?

This is a nonsense post and contains no truth at all. I believe that Osclass can work with even 128 mb of php memory, when hosting with a REAL hosting company.

« Last Edit: February 13, 2019, 07:30:11 pm by Aficionado »

SABTECH

  • Newbie
  • *
  • Posts: 34
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #7 on: February 14, 2019, 08:35:55 am »
My post is not about PHP memory limits or bandwidth,  its about  RAM and CPU usage. Do your own research

Aficionado

  • Guest
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #8 on: February 14, 2019, 11:59:35 am »
My post is not about PHP memory limits or bandwidth,  its about  RAM and CPU usage. Do your own research

You have no idea what you are talking about.

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: High CPU Usage Consuming Resource Limit Osclass
« Reply #9 on: February 14, 2019, 06:16:30 pm »
SABTECH, most of your issues with CPU usage comes either from some seriously flawed code, really high traffic/unmatched hosting plan or limited/bad hosting.