I'm having issues with a site I've uploaded to a live server. The site has quite a large amount of content (900 product pages with related assets - 1 image per product, also resized to thumbnails). It runs fine on the development servers. However, on the live servers we are having issues in the admin section, possibly due to lack of memory? How much memory would a server need to run a site like this?
Issues encountered are:
- Sometimes the "Files and assets" tab will display a white page. I've added
to the config which appears to resolve this issue.
- When a new security group is added with limited priveleges, when a user from that security group tries to login to the admin all they can see is a blank page. The error log shows timeout errors:
[error] [client 22.214.171.124] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/site/httpdocs/sapphire/core/model/SiteTree.php on line 635, referer: http://site/Security/login
[error] [client 126.96.36.199] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/site/httpdocs/sapphire/core/model/DataObject.php(1313) : eval()'d code on line 1
The PHP configuration of the host is as follows:
Directive Local Value Master Value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 32M
How can I resolve this issue?
Are there ways to optimise the memory usage of Silverstripe for a site with this much content?
I've already disabled combined files in my config:
Thanks all for your help.