michael webster

Performance Issues

Vote 0 Votes

My host is complaining about some MT scripts, search and comment taking up too much of a load.


Top Process %CPU 60.5 /usr/bin/perl -w mt-comments.cgi
Top Process %CPU 55.0 /usr/bin/perl -w mt-search.cgi

Any suggestions about how in 5.04 I reduce this load?

Thanks.

Reported on Movable Type 5

6 Replies

| Add a Reply
  • If you're running them with plain vanilla CGI, I'd recommend switching over to FastCGI. Don't use it on mt.cgi, but rather use it on search.cgi first and then as you get a feel for it, consider using it on comments.cgi. Post on MTOS-dev or the Melody list if you want more advice than that because that's the extent of my experience with FastCGI.

  • Just curious. Why not use FastCGI on mt.cgi?

  • I had problems with it on my host. It would quickly use up the limits on resource utilization. I think the problem was that the republishing process can use a lot of memory. I know SA went to great lengths to plug memory leaks, but I think it may have been the behavior of Perl's garbage collector. I'm just guessing about the causes. All I know is it got about 1/4 of the way through the rebuild process when it died a violent death at the hands of the host's user quotas.

  • If thats the case maybe SA shouldn't recommend using FastCGI in the first place. I wish they can fix this leak soon. My server some times hangs because of it.

  • I has same problem on search. So I use Google Customize Search instead of build-in search script.

    Get more exposure on Google and save the power on my VPS.

  • I also have a server often hangs. Also configured FastCgi. Probably need to abandon it

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