Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Scoop eating all the memory Bugs
By JAM , Section Help! []
Posted on Fri Sep 13, 2002 at 12:00:00 PM PST
This is odd. I've nearly configured (locally) a Scoop site, just for having it in case I'll move to a hosting company later, but I've a nasty problem: If I click on 'vote' (for polls), 'submit story' the apache process starts to eat all RAM until the kernel kill him. The version is 0.8.1, what can be happening? Sorry for the bad engRish.

< Scooping the Macintosh Performa 6116CD | Your Comments & Lost Stories >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Bugs
· Also by JAM

Story Views
  30 Scoop users have viewed this story.

Display: Sort:
Scoop eating all the memory | 8 comments (2 topical, 0 hidden)
Sounds like a apache-related memory leak (none / 0) (#2)
by panner on Fri Sep 13, 2002 at 08:09:56 PM PST

Need to know more information, though this doesn't sound related. What OS? If linux, what distribution? What version of Apache and what version of mod_perl? How did you get them (compile from source, RPM, etc.)? Is mod_perl compiled into Apache, or is it loaded as a DSO? What version of Perl, and where did it come from? What version of MySQL? How much memory does the machine have?

This sounds to me like some sort of memory leak related to older versions of mod_perl/Perl/Apache. I don't think Scoop is directly responsible for the problem.



--
Keith Smiley



What version of perl are you using? (none / 0) (#8)
by ry2me on Wed Oct 02, 2002 at 12:29:06 PM PST

Recently, I attempted to install scoop using Perl 5.8 on a Solaris box and found that two things happend:
  1. Perl decided to eat a TON of memory.  I have 128MB of physical RAM and 256MB of swap.  For whatever reason, I would end up with about 10MB of swap and 1.3MB of physical RAM remaining after performing certain operations on my scoop site.  I determined that it wasn't actually apache or scoop, but it was perl.  I don't believe it is a memory leak, as it would never actually eat ALL the memory, but it would nevertheless have to be killed.
  2. The iowait of my system would rocket to levels like 90% on a (very) simple operation (something equivalent to 3 or 4 polls of the mysql db and some processing).  However, because all of the swap would be eaten up, the iowait would jump tremendously, meaning the system would be bogged down unnecessarily.
I would check the versions of perl, apache and scoop your using.  Stick to the recommended versions for stability (yes, that includes perl modules too!) and then experiment with newer versions on a dev build.

I hope this helps.
-----------------------------
http://www.intelliguitar.org
Intelligent guitar resources and discussion



Scoop eating all the memory | 8 comments (2 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search