From owner-freebsd-questions@FreeBSD.ORG Sun Mar 2 18:05:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 186AA106566C for ; Sun, 2 Mar 2008 18:05:37 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 8A1A58FC13 for ; Sun, 2 Mar 2008 18:05:36 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so5215199tid.3 for ; Sun, 02 Mar 2008 10:05:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5IILe/soQYarRAsiTinHiG6DFGZK9uQpsKS2+/8hq/I=; b=oy14NbvVXg28c72JE2VTiFF3Dx+zF+V9gN2Mb3R8F19Fln4ZWDtCpCyhfMTwd8xhbdnlu7aoSPZaQOm2zvx0glCu3fE5hAGJtcscXYMgjvo88effp4OyYw0Ux5M4rTeJ8uHMG1GrDrdjZu2LjSGvnihtWYJ4R5mWVsq67vMc84c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=koaf8nwU6nTFviLqfWnUwctpVTUKfbmKTqfHE0uvzwGwEoRmeH7IXvDZVAaKKEC+OM3NZOMBNJiLUBn7D4hrmJklyS0dlQGfrvOkEk0/A4gqWKDMdalIX8Y/lH7Y1ihyenOq4oA1sJ1T7G/wWzNyFNZNL7aYNuecw5PcXHChyBk= Received: by 10.151.84.12 with SMTP id m12mr4194216ybl.169.1204481133392; Sun, 02 Mar 2008 10:05:33 -0800 (PST) Received: by 10.151.26.19 with HTTP; Sun, 2 Mar 2008 10:05:33 -0800 (PST) Message-ID: <14989d6e0803021005u44cadb25o193fa18797ae32de@mail.gmail.com> Date: Sun, 2 Mar 2008 18:05:33 +0000 From: "Christian Walther" To: "Colin Brace" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: the daemon that won't die X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 18:05:37 -0000 Hi Colin, On 02/03/2008, Colin Brace wrote: > Hi all, > > I made the mistake of trying to run greyscanner > as a > regular user. Now, everytime it runs (every 30 minutes), there is a > cron error from user "operator" complaining that "you need to be root" > to run /usr/libexec/save-entropy. Moreover, each time this happens, an > instance of greyscanner, belonging to user operator, remains dormant > in memory, which means an additional instance of perl. After a day or > so most of my swap memory is used. up. > > I have tried killing every PID associated with user operator and/or > greyscanner, but like Lazarus the thing keeps rising from the dead > every 30 mins. I can't figure out what process is keeping it alive. If you get an error from *cron* it means that greyscanner is executed from cron itself. As root, you might want to an # crontab -l u operator to find out if this is true. The format of the crontab-file is explained in # man -S 5 crontab See # man -S 1 crontab for how to edit or remove a crontab file. HTH Christian [...]