In Ubuntu the maximum page allocation for env+arg is hard coded and limited to 32 pages of 4KB.
If you look at the include/linux/binfmts.h file, you will find the following near the top: /* * MAX_ARG_PAGES defines the number of pages allocated for arguments * and envelope for the new program. 32 should suffice, this gives * a maximum env+arg of 128kB w/4KB pages! */ #define MAX_ARG_PAGES 32 -- xargs complains command line is too long, but kernel allows command lines of arbitrary length https://bugs.launchpad.net/bugs/249937 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs