Page 1 of 1

[Zen Cart] Cannot allocate memory

Posted: Mon Jun 03, 2013 4:52 pm
by trupit
Hi J,

Could you tell to me if the new version of SEO require more memory? Sometime, I got the error message below, the support team for my website provider tell to me, did I added a plugins?

Code: Select all

Error:
Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/owallyco/public_html/pechesud/index.php


http://www.pechesud.com
Version of Zencart: 1.39H
Magic SEO URLs for Zen Cart v1.3.x/1.5.x 4.1

Actually my PHP configuration is:

Code: Select all

Resource Limits    max_execution_time       60
Resource Limits    max_input_time       180
Resource Limits    memory_limit       512M
Data Handling    register_globals    You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of.    Off
Language Options    safe_mode       Off
File Uploads    upload_max_filesize    Maximum allowed size for uploaded files.    128M

Re: [Zen Cart] Cannot allocate memory

Posted: Mon Jun 03, 2013 6:48 pm
by inveo
No. MSU have a very tiny memory requirements and new version released recently is even more optimized regarding memory consumption. I guess it is some RegExp inside Zen Cart what is causing this error message.

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 5:29 pm
by trupit
Hi J,

What do you mean per "some RegExp inside Zen Cart what is causing this error message", could you explain it to me? I validate in the ressource usage on my cPanel, I got these message when I reach 2 gig of memory usage. I really don't understand what PHP module could cause this memory usage, I didn't update nothing, except add some new products.

Need help !

Thanks

Peter

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 6:02 pm
by trupit
Also, I don't understand why my php.ini parameters in /public_html/pechesud/cgi-bin is not loaded. I fixed the memory_limit to 90Meg and when validate it with www.pechesud.com/phpinfo.php is 512 Meg.

I tried to move it to the root directory of www.pechesud.com, but I have a error from SEO.

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 7:36 pm
by inveo
trupit wrote:I tried to move it to the root directory of http://www.pechesud.com, but I have a error from SEO.


Please make sure you've re-generated the .htaccess file.

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 7:42 pm
by trupit
I don't want make any error, how I should do it?

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 7:48 pm
by inveo
Please follow instructions for re-generation. they are in the manual (backup your old .htaccess file).

Re: [Zen Cart] Cannot allocate memory

Posted: Tue Jun 04, 2013 8:03 pm
by trupit
I followed the instruction and it's .htaccess was regenerated. But If I try to place the php.ini file in pechesud directory and regenerate, I receive this message in my store page:

Magic SEO URLs were not initialized because required Zend Guard Loader is not installed.
Zend Guard Loader is available without charge at www.zend.com/en/products/guard/downloads.
Inveo s.r.o. can assist you with Zend Guard Loader installation on both shared and dedicated servers. Please contact us in this case.

Re: [Zen Cart] Cannot allocate memory

Posted: Wed Jun 05, 2013 5:17 pm
by inveo
It is because when custom php.ini file is loaded zend_extension directive is not applied. You need to copy that line from original php.ini file or upload your own Zend Optimizer/Zend Guard Loader and set the path to new location.

Re: [Zen Cart] Cannot allocate memory

Posted: Wed Jun 19, 2013 6:17 pm
by trupit
Finally I found the problem. Too much youtube video has been embed inside my Zencart product pages, consuming all physical memory on the server. (<iframe></iframe>)

Thanks for your help

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Wow, thank you there is a huge difference from where it was.

Henri, the owner of TorchSA

Thank you so much for getting it setup!

Jonathan, the owner of Foster's Point

More Testimonials »