Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP memory_limit


hucke

Recommended Posts

Hello there,

 

is there a recommendation for php.ini memory_limit running oscommerce?

 

i had problems running backup.php using install-time 8m limit in php.ini.

 

after successfully backing up with memory limit set to 16M i adjusted it to 64M now.

 

i ran parse time logging on the system for one month now and found out that having an average parse time of 1,7 seconds in /catalog there are very ugly drop-outs with parse-times of some seconds up to 300 seconds!!!

 

my suspicion is that using a standard memory limit of 8M in php.ini might be a real bottleneck!?

 

any experience and/or solid information on this issue?

 

michael

Link to comment
Share on other sites

I have had the same experience but only since php v 4.2.2. ANd since i have it installed as a apache mod, the only thing in my php.ini is the globals switch,

 

:?:

What is the syntax you have to set the php memory limit?

 

Thanks

Best Regards,

 

Salvatore Iozzia

 

Loaded Commerce - Oscommerce - All Loaded Up.

Link to comment
Share on other sites

  • 2 weeks later...

Hmmmm... no answers??? :cry:

 

I am still experiencing funny effects with oscommerce.

 

parse times get long atimes. I am having parse times like 86 seconds when logging is on...

 

Can this effect result from slow clients or so? Or is there an optimization problem involved like described above...

 

.

Link to comment
Share on other sites

Maybe this info is helpful:

 

HTTP Server: Apache/1.3.19 (Unix) (SuSE/Linux) mod_ssl/2.8.3 OpenSSL/0.9.6a PHP/4.0.6 mod_perl/1.25 mod_throttle/3.0 mod_layout/1.0 mod_fastcgi/2.2.2 mod_dtcl

 

PHP Version: 4.0.6 (Zend: 1.0.6)

 

MySQL 3.23.37-log

 

...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...