Hosting Limits Exce...
 
Notifications
Clear all

[Solved] Hosting Limits Exceeded

16 Posts
3 Users
4 Reactions
324 Views
(@ancient)
Posts: 8
Active Member
Topic starter
 

Hello.

I run Osclass 3.9 and every 2-3 days i get a warning from the hosting plan, that my site has been "limited".

That means that i have exceeded some hosting limits, cpu and db from what i see in Cpanel.

Any ideas what to do next?

Thanks

 
Posted : July 8, 2020 21:31
Alessandro Cagliostro
(@alessandro-cagliostro)
Posts: 212
Reputable Member
 

Apparently you have been limited by Cloud Linux on that server.

If it happens once in a while, there is nothing to worry about. But every 2-3 days is kind of a problem.

There is an option in Cpanel Resource Usage, called Snapshot. That way you can find in what part of your site, the problems happen and report here.

Also you can check the RAW logs at Cpanel for any "attacks" or repeated visits from the same IP.

 
Posted : July 8, 2020 22:14
(@ancient)
Posts: 8
Active Member
Topic starter
 

Checking the Snapshots, it seems that some queries/urls containing "search" are doing this. Not 100% sure.

Also logs were not enabled for some reason, so now they are and i will check them next time the issue happens.

thank you!

 
Posted : July 9, 2020 11:15
Alessandro Cagliostro
(@alessandro-cagliostro)
Posts: 212
Reputable Member
 

Try this: put the following in your robots.txt file.

 

User-agent: *
Disallow: /search/
Disallow: /oc-admin/
Crawl-delay: 20
 
Posted : July 9, 2020 11:44
Ancient and Editor reacted
Editor
(@editor)
Posts: 553
Honorable Member Admin
 

What version of php are you using?

Also (a long shot, still ....) there maybe some db errors in your Osclass. Enable debug to a LOG and after 1-2 days check them for fatal or db errors.

If debug is enabled, please add this to your .htaccess file:

<Files ~ "\.log$"> 
Order Allow,Deny
Deny from All
</Files>
 
Posted : July 9, 2020 11:51
Ancient reacted
(@ancient)
Posts: 8
Active Member
Topic starter
 

Thanks guys, i will update here after this weekend.

 
Posted : July 9, 2020 13:42
(@ancient)
Posts: 8
Active Member
Topic starter
 
Posted by: @editor

What version of php are you using?

PHP 7.3.x

 
Posted : July 9, 2020 17:59
Page 1 / 3