From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 03:00:45 2010 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 19C471065674 for ; Wed, 4 Aug 2010 03:00:45 +0000 (UTC) (envelope-from depocatcher@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CC5E08FC1F for ; Wed, 4 Aug 2010 03:00:44 +0000 (UTC) Received: by iwn35 with SMTP id 35so1648048iwn.13 for ; Tue, 03 Aug 2010 20:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SAN4iBHjFQPxWq5Nu4RFy3kJ8LTK0hppmMcFIuUcLMY=; b=qcZLCU4uNPsKBV6DhS9ZjH1M/77b9jFuoj9HJ5ocATcCD6W7S6NgeYhDvQrxuuMfPv AC2GtFNKhoAInhRxorBBA8fpBlL3KSnj7ViT8D+DuecvUgTFhz6cUOZOlnDDfyhxrLS2 /RnHyhX7RDqSZtXUpEmpUz/05yNiQQ17JMHWI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=i0IvMiprH72GJnxSo817Adfmn/IFFby/6Gy7MOUgvZr7/px4GCvf3CJwjQQb2B7wUe KEyTYW/taKia7js7jPEAD+82d5k0vhasph8T3jJaVZUJlo9/LSzrqqJe9PPgY4emYTVZ v34NahLsgItllcYPKcZDc5iMhLR+KhcmZm2JU= Received: by 10.231.12.77 with SMTP id w13mr1603426ibw.129.1280890843593; Tue, 03 Aug 2010 20:00:43 -0700 (PDT) Received: from [192.168.17.10] (c-98-240-166-249.hsd1.mn.comcast.net [98.240.166.249]) by mx.google.com with ESMTPS id e8sm7307891ibb.14.2010.08.03.20.00.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 20:00:43 -0700 (PDT) Message-ID: <4C58D7DB.4080809@gmail.com> Date: Tue, 03 Aug 2010 22:00:43 -0500 From: Depo Catcher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Charles Richards References: <4C587815.2090601@gmail.com> <20100803161847.12608069.wmoran@potentialtech.com> <3CC44CAB-F062-4CD1-A8A8-D859EC5A55B6@gmail.com> In-Reply-To: <3CC44CAB-F062-4CD1-A8A8-D859EC5A55B6@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Freebsd questions Subject: Re: lightweight Chat client/server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: depocatcher@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 03:00:45 -0000 Thanks. I guess I should started with that first. It's a nice program, so if I can reduce it's load a bit that would be great. I tried setting Xmx to 16M and removed the '-server' from the /usr/local/etc/rc.d/openfire script openfire_javargs="-Xmx16M" ps shows that it took the setting: /usr/local/diablo-jdk1.5.0/bin/java -jar -Xmx16M -Dopenfire.lib.dir=/usr/local/share/java/classes -DopenfireHome=/usr/local/shar From top: 40724 openfire 13 20 0 214M 70336K kserel 0 0:24 0.89% java Top still shows it 214M Size with ~70M Res That's better, but still seems a bit much. Not sure why it's still allocating that, I guess it might be native libs or something? We all spammed a bunch of text to each other (a ton more than normal usage) and still it works fine. Any way to get it down more? On 8/3/2010 5:15 PM, Charles Richards wrote: > You can tune the openfire JVM configuration to run in 256MB of RAM, possibly less with only< 6 users. > You also do not need to use an external DB for it - it can run with it's own embedded DB. > > It's probably the easiest to install / configure Jabber client I've come across, but there's a good list noted here: http://xmpp.org/software/servers.shtml > > > > > Charles Richards > www.charlesrichards.net > richardsc@gmail.com > > > > > On Aug 3, 2010, at 2:18 PM, Bill Moran wrote: > > >> In response to Depo Catcher: >> >>> I have a combination of Spark (windows client) and Open Fire (FreeBSD >>> server, actually Java) for my lan. >>> We've used this setup for years, but the OpenFire server takes up ~500 + >>> MB. >>> >>> Anyways, we were looking for something a bit smaller. >>> We just need to send text messages to LAN users (less than 6) and >>> supports a nice windows client. >>> We're not suppose to use any external services (yahoo messenger, aol, etc) >>> >> We've been using Jabber for several years internally. Works well and >> has clients for just about every OS I know of. >> >> Don't know if it could be considered lightweight, though, since it >> requires an SQL server on the backend. If you already have another >> SQL server in production, you could just install the DB there, as its >> DB usage is pretty light. >> >> -- >> Bill Moran >> http://www.potentialtech.com >> http://people.collaborativefusion.com/~wmoran/ >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >