MagicToolBox forum
May 17, 2012, 02:06:03 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Magic Toolbox forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Magic Zoom and Magento Script Issues  (Read 731 times)
Bloop
Newbie
*
Posts: 9


View Profile
« on: February 01, 2011, 04:05:24 pm »

Hi,

I'm having some issues with Magic Zoom and Magento. Recently our Magneto stores have been running slow and crashing. We are trying to figure out whats causing the excessive loads and mySQL lockups.

There are a lot of issue that needs to be fixed but one of them is related to Magic Zoom. Here's what's happening with the script:

On checking the system error log we could see a lot of suhosin alerts for the script "/var/www/vhosts/myblankeebaby.com/httpdocs/app/etc/magictoolbox/core/magictoolbox.params.class.php". This script is trying to increase the memory_limit to 536MB and as a result the system starts using the swap space causing the system load to spike up.

Code:
###############################
Jan 27 13:43:11 server suhosin[24341]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker '66.249.71.115', file '/var/www/vhosts/myblankeebaby.com/httpdocs/app/etc/magictoolbox/core/magictoolbox.params.class.php', line 3) Jan 27 13:43:30 server suhosin[24364]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker '81.100.185.24', file '/var/www/vhosts/myblankeebaby.com/httpdocs/app/etc/magictoolbox/core/magictoolbox.params.class.php', line 3) Jan 27 13:43:32 server suhosin[24840]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker '24.56.57.23', file '/var/www/vhosts/myblankeebaby.com/httpdocs/app/etc/magictoolbox/core/magictoolbox.params.class.php', line 3) Jan 27 13:43:42 server suhosin[24348]: ALERT - script tried to increase memory_limit to 536870912 bytes which is above the allowed value (attacker '69.6.144.58', file '/var/www/vhosts/myblankeebaby.com/httpdocs/app/etc/magictoolbox/core/magictoolbox.params.class.php', line 3) ###############################

What should we do with the issue?
Logged
oleksiy
Administrator
Hero Member
*****
Posts: 1886


MagicToolBox CEO


View Profile
« Reply #1 on: February 02, 2011, 08:22:43 am »

Hi,

Edit this script and set whatever limit you prefer. Or remove it. It is the first line of the script.

Actually it just sets the upper memory limit but it doesn't mean it consumes this amount of memory. So your problem with high memory usage is definitely somewhere else.
Logged
Pages: [1]
  Print  
 
Jump to:  

MagicZoom™ | Magic Zoom Plus™ | Magic Scroll™ | Magic 360™ | Magic Slideshow™ | Magic Touch™ | Magic Thumb™ | Magic Magnify Plus™
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC