Post by scottyboyyy » Mon Sep 09, 2024 11:46 pm

Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.


I have been getting this on one of my OpenCart sites, the only one with this issue (version 3.0.3.6), the store has around 3000 products.

The traffic shouldn't be an issue, there's no cron jobs or custom scripts, robots.txt is blocking as many crawlers as possible and limiting ones I want and no plugins or themes.

I contacted my hosting company, Namecheap, and they have said:

According to our investigation, the most frequent processes on your cPanel account are the following:

– /usr/sbin/mariadbd → Database processes;

– /usr/sbin/httpd -k start → Server processes;

– lsphp:/home/website/public_html/index.php → Website processes.

The first two requests normally should not show up in the process list.


One thing I noticed was oc_session was not clearing, which I have now fixed, for some reason it still displays in phpmyadmin as 1.3GiB, but now has 239 entries rather than 70k. Not sure if the 1.3GiB is cached or stored somewhere else like a trash? But since fixing the entries and clearing process the same issue as happened.

Anyone had similar issues, or ideas of how I could find potential memory leaks or reason behind the process surcharge hitting the limit?

Thank you! :)

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am

Post by JNeuhoff » Tue Sep 10, 2024 2:35 am

First of all, get a decent webhost and stay away from namecheap, see this forum thread.

There was indeed a known bug with the oc_session which was fixed in later OpenCart 3.0.x.x releases, e.g. 3.0.4.0.

Also check your server's raw access log for DoS attacks or spambots.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Tue Sep 10, 2024 7:55 pm

scottyboyyy wrote:
Mon Sep 09, 2024 11:46 pm
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.


I have been getting this on one of my OpenCart sites, the only one with this issue (version 3.0.3.6), the store has around 3000 products.
Sounds like you need to get some decent hosting like the hosting we offer.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 18 guests