22850 Posts in 9711 Topics by 2803 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
23 May 2009 at 12:13pm Last edited: 23 May 2009 2:14pm
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.
23 May 2009 at 3:04pm
What sort of hosting do you have at the moment? Just a shared hosting account somewhere?
You could try increasing the max execution time for a start.
I'm not sure how much optimisation you can do with the admin.
23 May 2009 at 7:41pm
Yes shared hosting, and we don't get much access to change configuration options.
Users can login fine if they are in the Administrators group but obviously we don't want all users to have admin rights. I think perhaps this is related to the "many subpages" issue raised in the forums before. Is there a patch for this for v. 2.3.1?
|Go to Top|