On 05/18/2011 06:27 AM, Jerome Flesch wrote:
> ---
> exec/main.c | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/exec/main.c b/exec/main.c
> index c720128..3660e7c 100644
> --- a/exec/main.c
> +++ b/exec/main.c
> @@ -124,6 +124,12 @@
> #include "evil.h"
> #include "tsafe.h"
>
> +#ifdef HAVE_SMALL_MEMORY_FOOTPRINT
> +#define IPC_LOGSYS_SIZE 1024*64
> +#else
> +#define IPC_LOGSYS_SIZE 8192*128
> +#endif
> +
> LOGSYS_DECLARE_SYSTEM ("corosync",
> LOGSYS_MODE_OUTPUT_STDERR | LOGSYS_MODE_THREADED | LOGSYS_MODE_FORK,
> 0,
> @@ -132,7 +138,7 @@ LOGSYS_DECLARE_SYSTEM ("corosync",
> LOG_DAEMON,
> LOG_INFO,
> NULL,
> - 1000000);
> + IPC_LOGSYS_SIZE);
>
> LOGSYS_DECLARE_SUBSYS ("MAIN");
>
Reviewed-by: Steven Dake <[email protected]>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais