Christopher

Out of Memory error on rebuilding site with 2000+ entries.

Vote 0 Votes

I always get Out of Memory error on rebuilding site with 2000+ entries.

Movable Type is rebuilding some range of entries at a time (maybe 5 maybe 10 maybe 25) How can I configure MT to rebuild less entries at ones? For example: rebuild in steps 10 entries instead of 25 entries at a time?

maybe I can put some line of code in mt-config.cgi which will limit the numbers of rebuildet entries during the total rebuild? That would solve my problem.

PS.: I have no root acces to my server. So I can't change R-LIMIT-MEM
My hosting Product is: http://www.hosteurope.de/produkt/Virtual-Server-Managed-XL
- 2 GB RAM (guaranteed)
-Dell PowerEdgeâ„¢ HP Proliant
- 2 x 6 Cores Intel® Xeon®
This is shared hostig, I am one of many customers on this server.
Price per Month: about 35 $.

Do I realy need dedicated server to solve all Performance of MT?
Regards, Chris.

Reported on Movable Type 5

2 Replies

| Add a Reply
  • There is a configuration directive to set the number of entries per a rebuild.

    http://www.movabletype.org/documentation/appendices/config-directives/entriesperrebuild.html

    Have you tried this ?

  • Thanx guys for fast answers.

    I have checked my Error log file and it sais:

    [warn] [client 141.99.254.253] Timeout waiting for output from CGI script /cgi-bin/mt502/mt.cgi, referer: /cgi-bin/mt502/mt.cgi?__mode=rebuild&blog_id=2&type=Individual&next=0&offset=1650&limit=&total=2407&start_time=1310730654&entry_id=&is_new=&old_status=&old_previous=&old_next=

    [error] [client 141.99.254.253] Premature end of script headers: mt.cgi, referer: /cgi-bin/mt502/mt.cgi?__mode=rebuild&blog_id=2&type=Individual&next=0&offset=1650&limit=&total=2407&start_time=1310730654&entry_id=&is_new=&old_status=&old_previous=&old_next=

    How can I avoid Time Out, if I do not have root acces to my server? Maybe with .htaccess?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012