Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2000 23:30:45 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        John <papalia@udel.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Is stunnel supposed to be a resource hog?
Message-ID:  <20000907233045.I69158@149.211.6.64.reflexcom.com>
In-Reply-To: <4.3.1.2.20000907203820.00ac0290@mail.udel.edu>; from papalia@udel.edu on Thu, Sep 07, 2000 at 08:49:48PM -0400
References:  <4.3.1.2.20000907203820.00ac0290@mail.udel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 07, 2000 at 08:49:48PM -0400, John wrote:
> Hey all,
> 
> So, with stunnel doing the 'fronting' for my imap and pop3 servers for the 
> past couple of weeks, I just took a glance at the system resources via 
> "top".  I get the results below.  It doesn't seem right to me though that 
> stunnel should be taking up so much of the system's time?
> 
> Thanks in advance,
> John
> 
> Last pid: 29422;  load averages:  3.01,  3.04,  3.01  up 
> 22+22:36:14    20:43:49
> 56 processes:  4 running, 51 sleeping, 1 zombie
> 
> Mem: 34M Active, 30M Inact, 20M Wired, 4000K Cache, 19M Buf, 3764K Free
> Swap: 160M Total, 7456K Used, 153M Free, 4% Inuse
> 
> 
>    PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 61565 root       59   0  1984K    76K RUN     45.4H 32.67% 32.67% stunnel
> 61567 root       59   0  1984K    76K RUN     45.5H 32.62% 32.62% stunnel

What the heck would it be fronting for that has been running for 45.5
hours? stunnel can eat CPU at startup when generating keys for the
session. Once it gets going, it should not use too much CPU, and then
it should only be using CPU when there is information being
transfered. What's been sending info for 45.5 hours of CPU?

> system's (P-90) info is as follows:

Whoo. I hope you aren't serving too many people. Looks like you have
64 MB? That actually might be yuor biggest problem if you get lots of
IMAP and stunnels resident on the system at once.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000907233045.I69158>