Solaris Common Messages and Troubleshooting Guide

Arg list too long

Cause

The system could not handle the number of arguments given to a command or program when it combined those arguments with the environment's exported shell variables. The argument list limit is the size of the argument list plus the size of the environment's exported shell variables.

Action

The easiest solution is to reduce the size of the parent process environment by unsetting extraneous environment variables. (See the man page for the shell you are using to find out how to list and change your environment variables.) Then run the program again.

Technical Notes

An argument list longer than ARG_MAX bytes was presented to a member of the exec(2) family of system calls.

The symbolic name for this error is E2BIG, errno=7.