At 12:22 PM 9/6/96 -0500, you wrote:
>[ Steven K. Buehler writes: ]
>>
>> I have a couple of processes that keep running and one of them has a
>> 99% cpu usage. These are the 2 processes that keep running that I get
>> from a ps. The first is owned by majordom and the second by daemon.
>>
>> majordom 230 228 99 02:25:58 ? 7:54 /usr/local/bin/perl
>> /usr/home/majordom/majordomo 30sfun-list
>>
>> daemon 228 223 0 02:25:58 ? 0:00 sh -c /usr/home/majordom/wrapper
>> majordomo 30sfun-list
>>
>> Everything is owned by majordom:daemon too, so that isn't the problem. I
>> sure hope that someone can help me on this. This sure puts a load on the
>> server.
>
>Everything? Even wrapper?
Sorry, I didn't state that, but yes, wrapper is owned by root:daemon
-rwsr-xr-x 1 root daemon 7716 Aug 5 17:56 wrapper*
>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?
Ok...I THINK I found the problem. I killed the processes that were in a
loop after checking permissions on files. I found that the shlock.pl file
was set at 644 and when I set it to 755, I don't get a loop. I then sent
another message to the list and don't get any loops at all. I can't
believe that I missed that one. geez. Unless that wasn't it at all and I
had fixed it a long time ago but the processes where just stuck in a loop
that even rebooting the system wouldn't kill but killing them manually worked.
>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
These come back as follows:
% ./test
euid is: 23673
egid is: 10 30000 80 30 15 0 10
ruid is: 23673
rgid is: 10 30000 80 30 15 0 10
% ./wrapper test
euid is: 30004
egid is: 12 12
ruid is: 30004
rgid is: 12 12
>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").
I have been using perl 5.002 and have never escaped the @ characters in
quotish strings. hmmmmmmmmmm...Wonder if that could have been one of the
problems.
Another question....I saw messages when I first joined this list
about a program or something that would give statistics on what sendmail
has been up to. Does anybody remember that? Also, is there anyway that I
can check to see what sendmail is up to at any given time? As in Who is
left to send to on a list or who is sending out what at any given time?
BTW Dave...Thanks for your help. It made me look a little closer
then I did before.
-------------------------------------------
Steven K. Buehler
S & B Computers, Inc.
St. Joseph, Missouri 64507-1632
Phone 816-232-2918
Fax 816-232-2336
skb@sbcomp.com
-------------------------------------------
Follow-Ups:
|
|