From owner-freebsd-questions@FreeBSD.ORG Tue Jan 6 14:12:50 2009 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 1C93A106568C for ; Tue, 6 Jan 2009 14:12:50 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id E2ADD8FC13 for ; Tue, 6 Jan 2009 14:12:49 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so9164747rvf.43 for ; Tue, 06 Jan 2009 06:12:49 -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=r3twqMXQXNfot5BT3hLcbOXjh24Bi4Nho6pHiTpVm+o=; b=Ji5dpf4pssncFAdZRAUS4zN1Pylz/sbpC+JQVb+z+UOXjefUmSiw3WU35TF1ytzqYm LWLQQ/XFPfVzgvkxF/QiAsKO8KzIUPwAF6RUB5lnQK4UHBLvDnmikACbbcj+WB6rMGbx EH4tRuuKIWWj0pYXnUXbwhs95OSKVFY/O+8yc= 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=VpTPou32ygTZcOag8rwcSr0/BlM5vFkMTk4kb+OHK+Lc8ryW6GyurOCK/hhvZI4Ijt 8hNdX+oPMGK/vcyx3ii+VSoOEYm1AJe0XEnEb61Mw7Lg9sjgiZ6W7L6zZ5ZyViMh/Q6U M/aKHhWuKFVwytpqu3n2T5hRMI9OC1vhbutr0= Received: by 10.142.90.15 with SMTP id n15mr7509566wfb.115.1231251169637; Tue, 06 Jan 2009 06:12:49 -0800 (PST) Received: by 10.143.59.9 with HTTP; Tue, 6 Jan 2009 06:12:49 -0800 (PST) Message-ID: <27ade5280901060612v3e8eeed7m428adaed9ff127f8@mail.gmail.com> Date: Tue, 6 Jan 2009 09:12:49 -0500 From: APseudoUtopia To: "Kalpin Erlangga Silaen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 7.0-Stable Crashed with Cacti 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: Tue, 06 Jan 2009 14:12:50 -0000 On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen wrote: > Dear All, > > we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: > ----- snip ----- > We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. > Is there any way how to fix it? > > Thank you > > Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be.