IPB

Welcome Guest ( Log In | Register )

Movable Type

We're moving to movabletype.org!

At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!

 
Reply to this topicStart new topic
> Mt.cgi Memory Problem, MT 4.1 memory problem in mt.cgi on linux server
Jonas Tankersley
post Jun 12 2008, 05:46 AM
Post #1





Group: Members
Posts: 1
Joined: 12-June 08
Member No.: 52,977



Hello,
I am running a fresh install of 4.1 on a dedicated redhat linux box. The server is running a plesk interface. The mt system is running 3 small blogs with little traffic. I've had the mt system running for about a month and yesterday it brought the server down. I had to disable mt.cgi to keep the server from crawling. My server admin said that perl is not running under fastCGI. Are there any other variables that might cause this memory problem?

Thanks,
Jonas
Go to the top of the page
 
+Quote Post
XXP
post Jun 20 2008, 06:20 PM
Post #2





Group: Members
Posts: 14
Joined: 26-August 05
From: Upstate
Member No.: 32,634



QUOTE (Jonas Tankersley @ Jun 12 2008, 01:46 PM) *
Hello,
I am running a fresh install of 4.1 on a dedicated redhat linux box. The server is running a plesk interface. The mt system is running 3 small blogs with little traffic. I've had the mt system running for about a month and yesterday it brought the server down. I had to disable mt.cgi to keep the server from crawling....

We're having the same problem. Started having it with 4.0 and then 4.1 and now 4.2. The performance improvements in 4.2 haven't helped a bit.

Have had to kill the mt.cgi process more than once. For us the problem seems centered around comments and even just the comments pages in the dashboard.

Something on that page (in a blog) will set off mt.cgi in such a way that it starts eating server memory up to 95%+ and stalling every other app running in the server. It killed off our mail system yesterday and always bogs down our forums.

We've been trying to adjust MySQL variables to see if that will help but no luck so far. Have turned off the LaunchBackgroundTasks also but that seems to have had zero effect.

We're experiencing this on both our production server and our dedicated test server.

Will post here if we figure anything out. Hope you'll do the same.
Go to the top of the page
 
+Quote Post
OtherNiceMan
post Jun 21 2008, 12:49 AM
Post #3





Group: Members
Posts: 2,039
Joined: 4-January 04
From: UK
Member No.: 19,351



Can you post your mt-check.


--------------------
Rob Kenny
The Composing Stick Movable Type Tricks & Tips
Twitter|Flickr|Vox
Sites I manage: Darren Kenny: Professional Cyclist O.B.E
Go to the top of the page
 
+Quote Post
XXP
post Jun 26 2008, 07:51 AM
Post #4





Group: Members
Posts: 14
Joined: 26-August 05
From: Upstate
Member No.: 32,634



Found a solution: probably the solution.

Install or reinstall ImageMagick on your server. Even if you don't use it. Be absolutely sure to run the Perl make at the end of the process. Go here for a super how-to by Anu Gupta: Movable Type and Image::Magick - digital<?>query

After weeks of bashing our brains out on this, we stumbled upon (yet another) someone else on a (weirdly) this very forum with a different way of describing exactly the same problem. Fortunately for them and us, user Yntouse posted the solution with backup from the aforelinked Anu.gupta. It was so exactly our problem that I immediately checked our test server's Apache error log for messages about "Deep recursion on subroutine "Image::Magick...." (see the second post in the thread).

We had a current ImageMagick on that server and working for other systems just fine but I went ahead and installed a slightly newer one -- being very sure to run the Perlmagick install too.

It's a lenghty compile but once it was done the MT problem was gone. Poof. Gone.

I checked the Apache error logs on our production server but (NOTE:) I did NOT find the same error message. That was a little frustrating, I must say, but I went ahead and reinstalled Image::Magick and PerlMagick and again, like magic, the problem is GONE. Fantastic.

Many parts of MT were being affected by this. Ironically, you can't run the MT system check from the dashboard while you're experiencing this problem as your MT.cgi system will dive into the crushing ImageMagick memory eating loop of death. You can, however, safely run mt-check.cgi directly from your web browser as: http://www.your-domain-here.com/your-path-...gi/mt-check.cgi. Run that and look to see if MT thinks that you don't have ImageMagick installed. If that's the case then this is probably the fix for you!

Good luck!

(Will post this on my blog at ThisllWork.com too.)

This post has been edited by XXP: Jul 7 2008, 05:35 AM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 11.24.09 - 09:43 PM