Xymon Mailing List Archive search

Alert Script page.log contains many: Argument list too long

list Henrik Størner
Wed, 26 Mar 2008 22:36:13 +0100
Message-Id: <user-ece82120803d@xymon.invalid>

On Wed, Mar 26, 2008 at 02:46:55PM -0400, user-ce96540ed38f@xymon.invalid wrote:
Hello All,

I was implementing a new alert script. After doing so I was checking my logs 
to make sure all was well. I noticed the server/logs/page.log had many:
"Could not launch paging script /hobbit/script.sh: Argument list too long".
[...]
there's a lot more to it than that, but the point is that there is a
128K buffer which is the only thing "held" from the parent process to
the child. the "Argument list too long" error message is actually the
kernel's E2BIG error code, returned when the execve() is not able to
fit the supplied argument list and environment into the 128K buffer.
This was discussed recently. See
http://www.hswn.dk/hobbiton/2008/01/msg00015.html


Regards,
Henrik