Great Circle Associates Majordomo-Users
(September 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Runaway Majordomo Process
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Mon, 9 Sep 1996 08:49:24 -0500 (CDT)
To: buffalo @ icarus . yml . com (Duncan D. Sterling)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <Pine.LNX.3.91.960905095548.7153B-100000@icarus.yml.com> from "Duncan D. Sterling" at Sep 5, 96 10:16:48 am
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Duncan D. Sterling writes: ]
> 
> However, whenever I send an admin message to majordomo, i.e., 'subscribe',
> or 'info', majordomo then starts up and runs away, eating up 95% of memory
> and processor time, bringing the machine to it's knees. 

[This is a canned message.]
You have asked a question about a "Permission denied", "Out of memory",
"Bus error", "Segmentation violation", or that Majordomo runs a long
time and comsumes nearly all the CPU. All except the "Permission denied"
are usually the result of a bug in Mj 1.93 that is triggered when you
don't have Majordomo configured or installed correctly. Ask yourself the
following questions. They'll give you guidance as to what you need to do
to correct your Mj installation.

1)  Do the ownerships and permissions on the list files, log file, and
    the directories where they reside allow the majordomo user to write
    to the files and create files in the directories?

2)  Is wrapper configured and installed correctly? It must be owned by
    root and setuid (BSD-based systems are different: see Makefile).
    You can test this by logging on as a user other than root or your
    majordomo user and running the following *exactly as shown*:

	./test
	./wrapper test

    The first should show the uid/gids of the logon user. The second
    should show the majordomo uid/gids. If not, you don't have wrapper
    installed and/or configured correctly. Note that wrapper must be
    installed by the superuser (root) in order to set the owner and
    setuid permissions.

3)  Do your aliases use wrapper to invoke the Mj programs?

4)  If you're running Perl 5, is your version of Perl at least 5.001e
    (perl -v will display the perl version). Perl 4.019 through 4.036
    will work, but 5.000 through 5.001d will not. Version 5.003 is
    recommended (as of this writing) if you need to upgrade. Note that
    some changes are required in the Mj Perl files for Perl 5 (all '@'
    characters in quotish strings must be escaped, e.g. "user@host.net"
    must be changed to "user\@host.net").

-- 
 Dave Wolfe    *Not a spokesman for Motorola*
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598



Follow-Ups:
References:
Indexed By Date Previous: Re: List Name Alias
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: List is an unknown user?
From: obrien@east.alsys.com (Neil O'Brien)
Indexed By Thread Previous: Runaway Majordomo Process
From: "Duncan D. Sterling" <buffalo@icarus.yml.com>
Next: Re: Runaway Majordomo Process
From: "Duncan D. Sterling" <buffalo@icarus.yml.com>

Google
 
Search Internet Search www.greatcircle.com