BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} False alert about disk size




Hi Asif,

        You list the whole problem:

Thu Oct 21 20:05:19 2004 bb-local.sh sort: can't mmap anonymous memory: Resource temporarily unavailable
Thu Oct 21 20:06:21 2004 bb-local.sh /opt/bbro/bbc1.9e-btf/bin/bb-local.sh: cannot fork: no swap space


and:

Memory: 22G real, 7888M free, 19G swap in use, 165M swap free

One rule of thumb used where I work is the MINIMUM swap space should be 1.5*RAM -- your system, following that rule, needs 33G of swap.  According to "top", you have less that 20GB, which is less than the memory you have.  I am not comfortable with 1.5*RAM and try to allocate 4 or 5 *RAM, which is overkill -- until you need it.  You have less swap than you have RAM and this will NEVER work for long.  Solaris is designed to swap.

I would wager you have other tasks on your system that die "mysteriously", but if you look in /var/adm/messages, you'll find swap errors are killing those tasks, just as swap errors are killing BB.

Allocate more swap.  You need another 2G swap just to reach parity with your RAM configuration.  Using the 1.5*RAM baseline, you'd want yet another 11G, for 13G more just to get to a minimum, probably acceptable swap level.

Strange as it sounds, if you can't increase swap for lack of disk space, you might be able to reduce your RAM to reach a working machine.

Bottom line -- you are out of swap and you have to deal with that issue, even if you are not running BB.

                Dan



Asif Iqbal <iqbala-bb@qwestip.net>
Sent by: owner-bb@bb4.com

10/21/2004 06:51 PM
Please respond to bb

       
        To:        bb@bb4.com
        cc:        
        Subject:        Re: {bb} False alert about disk size



On Thu, Oct 21, 2004 at 09:13:59AM, Asif Iqbal wrote:
> Hi All
>
> I am running bbc1.9e-btf on a Solaris 9 and I am getting this error
>
> [2335011]  host.domain.net.disk red Thu Oct 21 09:00:14 EDT 2004 - Filesystem of /opt/bbro/bbc1.9e-btf/tmp is FULL        
>
> On that same machine
>
> host$ df -k /opt/bbro
> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/dsk/c1t8d0s4    5043518 1145387 3847696    23%    /opt

Inodes look good

host$ df -i /opt/bbro
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/dsk/c1t8d0s4     614592   27725  586867    5% /opt

File permission looks good

host# ls -ld /opt/bbro/bbc1.9e-btf/tmp/
drwxrwxrwt   2 bbro     other       1024 Oct 21 20:40 /opt/bbro/bbc1.9e-btf/tmp/

I noticed BBOUT shows lot of these messages

Thu Oct 21 20:05:17 2004 bb-local.sh file=bb-user.sh
Thu Oct 21 20:05:17 2004 bb-local.sh mask=[     ]*:
Thu Oct 21 20:05:17 2004 bb-local.sh expr: syntax error
Thu Oct 21 20:05:19 2004 bb-local.sh top: can't allocate sufficient memory
Thu Oct 21 20:05:19 2004 bb-local.sh sort: can't mmap anonymous memory: Resource temporarily unavailable
Thu Oct 21 20:06:21 2004 bb-local.sh /opt/bbro/bbc1.9e-btf/bin/bb-local.sh: cannot fork: no swap space
Thu Oct 21 20:25:14 2004 bb-local.sh sort: can't mmap anonymous memory: Resource temporarily unavailable
Thu Oct 21 20:25:16 2004 bb-local.sh top: can't allocate sufficient memory
Thu Oct 21 20:25:16 2004 bb-local.sh sort: can't mmap anonymous memory: Resource temporarily unavailable

I decided to stop running bb-user.sh. So I stopped bb client, removed
bb-user.sh from bb/etc/bb-bbexttab and tried to restart.

I get this error when trying to restart
Starting Big Brother
sort: can't mmap anonymous memory: Resource temporarily unavailable
cat: cannot open /opt/bbro/bbc1.9e-btf/tmp/BBEXT.1.11729
       Starting Local tests (bb-local)...
Big Brother 1.9e started

I never seen problem with bb 1.9c client.

I also checked the memory using top and I see this

Memory: 22G real, 7888M free, 19G swap in use, 165M swap free

Seems like I still have enough memory to start bigbrother.

Any suggestion where to look for the problem. Notice I am running
Solaris 9 which claims not to have any tail bug

Thanks


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index