Hi,
I recently converted my old MT2.6 system to 4.35, running under FCGI.
Since then, I've noticed that the running mt_comments.cgi process uses a fair amount of memory; typically, about 40M (without shared libraries).
Are other people seeing this, and is there anything that I can do to reduce its memory use? I'm running on a system where 40M is a lot of memory to waste...
Thanks!
Reported on Movable Type 4.3

40Mb is actually prety modest for what a dynamic language running under FastCGI would require. What sort of system do you have where 40Mb is too much?
If you must know, it's a VPS. By many standards, 40M is anything but modest for a CGI script.
It would help...
The difference is that it's not CGI, it's FastCGI which means that your server doesn't bear the cost of activating that script once per request to it. If you server were getting slammed and every request cost 40MB of memory, I'd agree with you, but 40M for what mt-comments.cgi provides in overall functionality is low by modern standards.
YMMV on that. I have done a lot of Java work. I know people who would kill to have responsive web applications that would use only that much memory.
Putting advocacy aside for a minute, what is the memory actually being used for? E.g., is MT keeping an index of all blog entries / comments / metadata in-memory? My original questions haven't been answered...
Movable Type loads a lot of shared modules and Perl has an inherent overhead in its own right. Some of it is also caching data. It's not keeping all of your database in memory, but it does cache quite a bit of information. I think the search script, in FastCGI mode, caches the result pages for search requests.
Seems I'm having a problem with this mt_comments.cgi as well now. Is there any way to reduce the server load? I don't quite understand these logs but I'm seeing this a lot now:
Mar 18 10:52:04 bentley kernel: OOM killed process mt-comments.cgi (pid=9064, ve=278) exited, free=92930 gen=11164