Gentoo Archives: gentoo-dev

From: tadpol@××××××.org
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Bad bad supervise!
Date: Thu, 14 Jun 2001 20:14:31
Message-Id: 20010614211400.B270@tadpol.org
In Reply to: Re: [gentoo-dev] Bad bad supervise! by Daniel Robbins
1 On Thu, Jun 14, 2001 at 07:14:18PM -0600, Daniel Robbins wrote:
2 > On Fri, Jun 15, 2001 at 02:30:03AM +1000, Aaron Blew wrote:
3 > > Alright, I installed dict and such last night, finally rebooted today
4 > > and am now seeing supervise dictd sucking up *looks* ahh! One of my
5 > > cpus! Wonderful! Stunning! Why? ;)
6 >
7 > Fixing this problem is pretty straightforward. For some reason, dictd
8 > is continually being restarted by supervise. The problem isn't supervise,
9 > it's that the script that's starting dictd is failing. This script is
10 > at /var/lib/supervise/control/dictd/run and maybe you can find out why
11 > it's failing and submit a patch.
12 >
13 > Note: also, it is possible to modify the run script (add a sleep) so that
14 > supervise doesn't try to restart it 1000's of times a second. That is what is
15 > eating up your CPU. I hope this helps you look in the right direction for
16 > a fix.
17
18 holy cow. this is what i get for not putting a load meter on my computer.
19 wow. I don't rememeber the last time I've seen something respawn so fast.
20
21 I've got some ideas on how to fix this. I'll get it done tonight.
22
23 --
24 Michael Tilstra tadpol@××××××.org
25 This life is yours.
26 Some of it was given to you;
27 the rest, you made yourself.

Replies