[Top][All Lists]

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

Re: minimal size (MIPS platform)

From: Martin Pala
Subject: Re: minimal size (MIPS platform)
Date: Fri, 16 Feb 2007 19:57:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061219 Iceape/1.0.7 (Debian-1.0.7-2)


as described in the mentioned FAQ point, the information is related to the stripped binary size - this is not related to process size, which depends also on the monit configuration (how many services are monitored, etc.)

The information was added to the FAQ in may 2004 and was not updated since that => it is related to monit release 4.3.

Since monit 4.3 many new features were added and the binary size grew.


Javi Roman wrote:
Hi all!

I'm trying to compile monit with minimal size with the following
compilation options:

CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -s -Wall -D _REENTRANT"
./configure --prefix=/usr \
            --without-largefiles \
            --without-resource \

(How you can see, it's a MIPS32 machine)

The final executable file shows these sizes:

  text    data     bss     dec     hex filename
310141   20600   68220  398961   61671 monit-4.8.2/monit

The minimal size in RAM will be 398961 bytes I guess, and top utility
shows me about 664 KBytes monit running.

These values are far away from the FAQ ones. The FAQ says:

... It is possible to reduce the monit binary to a size of <220kB dynamically
liked with SSL, <850kB statically linked with SSL and <270kB statically
linked without SSL ...

Please any idea about this issue?

Javi Roman.

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]