News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Internal server error 500 / blank page sometimes only on certain categories

Started by marco.azzali.76, June 01, 2014, 16:41:04 PM

Previous topic - Next topic

marco.azzali.76

Hi,

I have a strange problem: only on 3 categories over 30, and only sometimes, (about 30% of page views), I get internal server error 500.
Any explanation / solution ?
I have access to log and error lof of Apache, but no trace of the error.

Thank you in advance
Marco

VM 2.6.6 on Joomla 2.5.20, PHP 5.3.28

Milbo

What says the virtuemart log? You can access it within virtuemart in the tools section.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

marco.azzali.76

Hi Milbo,

thank you..

It's memory limit, 60MB reached. I've found it now also in the apache log.
Unfortunately probably my hosting plan wouldn't allow me to increase it..
Is there any way to reduce the consumption ?

Marco

marco.azzali.76

In Apache  error log I can see lines like this:

[Mon Jun 02 03:20:03 2014] [warn] [client 157.55.39.22] mod_fcgid: stderr: PHP Fatal error:  Allowed memory siz
e of 67108864 bytes exhausted (tried to allocate 193277 bytes) in /home/ukiaw6zp/domains/tacchinistore.it/publi
c_html/plugins/system/codeisgoogleanalytics/codeisgoogleanalytics.php on line 37

In Virtuemart PHP log I can see line like this :

2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5596 tried to allocate 60.08
2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5597 tried to allocate 60.08
2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5598 tried to allocate 60.08
2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5599 tried to allocate 60.08
2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5600 tried to allocate 60.08
2014-06-02 02:55:57 ERROR vmError: Memory limit 60 reached in model product getProduct() 5601 tried to allocate 60.09

I have multilanguage enabled but I don't really need it; disabling it would help ?

I also have URL rewriting for SEO  enabled, the default joomla one, but I can't disable it...

Once I installed AceSEF and then removed it, but the removal process for some reasons showed some errors; could this have impacted on memory usage ? (maybe some components of AceSEF are still in use ?)

Marco


marco.azzali.76

P.S.: many rows like this also in apache error log:

[Mon Jun 02 02:54:27 2014] [warn] [client 5.9.73.8] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of
67108864 bytes exhausted (tried to allocate 87 bytes) in /home/ukiaw6zp/domains/tacchinistore.it/public_html/l
ibraries/joomla/language/language.php on line 804
[Mon Jun 02 02:54:35 2014] [warn] [client 5.9.73.8] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of
67108864 bytes exhausted (tried to allocate 123 bytes) in /home/ukiaw6zp/domains/tacchinistore.it/public_html/
libraries/joomla/language/language.php on line 804


GJC Web Design

60Mb is just too low to run VM - your not doing yourself any favours by trying to run a complex shop on a lame server  - would advise 256 if only for your customers useability
speak to your host - they are being very tight on 60Mb
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

marco.azzali.76

It should be the best in Italy.. Joomlahost by Colt Engine
I have the "medium" plan" .. In the best plan the memory limit it 96 MB as I'm reading now...

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

marco.azzali.76

Mmhhh.. sounds good.. thank you for the advice ! But I also have the dns and the mantaining of the domains there, it would be time consuming to move everything..
Moreover, Colt Engine has good support also via tickets and it's famous for reliability.
I will consider to move, but, at first, I would like to know if ther's a way to diminish the memory usage..
Does anybody have any advice ?
Marco

jenkinhill

Recommended minimum memory_limit for Joomla 2.5 is 128Mb - there are too many reports of memory issues with less than that (even without VM being installed) and I prefer to use 256Mb although that does not give any real speed advantage, but does help on a busy site.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

Re digiserv - I have no connection with them except as a extremely satisfied client

I have been in this business too many years to admit  ;) and have had a ton of hosts and worked on sites on many many more.

I have been dis-satified for one reason or other with 95% of the hosts.
Discovered digiserv while working on a new clients site - was amazed by the speed and more amazed by the fact that it was just a normal shared cpanel host - very cheap.
Germany based at http://hetzner.de/ datacenter - one of the more expensive in Germany.

Have been with them 18 months now and are totally satisfied -- cPanel, full access to CloudLinux as in choose your own php versions and settings and all the other goodies that cPanel offer

Best is their support - the lengths they go to to find problems is amazing... I have help tickets that go on for pages as we try to sort difficult scripts and installs etc - can't praise them highly enough - not only that they are willing to change core settings etc after consultation - e.g to make Akeeba kickstart run better

The only down-side maybe for some is they are security paranoid e.g ftp over FTPES which can make it a bit clonky on some clients, enforcement of secure passwords  and agressively anti-spam - no bulk mail etc - heavy spam filtering and bouncing of non- standards complient servers etc

Even though a south African company their help centre is in the UK with actual UK support as opposed to a front for sub-asia help centres with guys called Frank who can't piece together an English sentence...  ;)

P.S Domains no problem  - just use an addon domain in cPanel and change your current domain's nameservers to digiserv's name servers - no need to transfer anything to do with domains
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

marco.azzali.76

Thank you all for advices !
I will ask them to provide at least 128MB if I upgrade to the higher plan (that has also SSD storage), otherwise I will move.

Marco

Milbo

Quote from: GJC Web Design on June 03, 2014, 19:28:50 PM
I have been dis-satified for one reason or other with 95% of the hosts.
Discovered digiserv while working on a new clients site - was amazed by the speed and more amazed by the fact that it was just a normal shared cpanel host - very cheap.
Germany based at http://hetzner.de/ datacenter - one of the more expensive in Germany.

Same here and THIS forum is running on a hetzner server!
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

marco.azzali.76

Do you mean Milbo that the problem is manifesting also in this forum's site ?
Or that you are also amazed by digiserv ?

Marco

GJC Web Design

He is commenting on the quality of hetzner's servers - where digiserv co-locate theirs
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation