Thursday, 16 October 2014

Argument list too long Issue in Linux


Argument list too long Issue in Linux
Argument list too long” a simple solution

I was trying to delete a client’s all bounce emails and rm -rf didn’t help me at this point



First of Check the default value of argument list for your server:

root@server:~# getconf ARG_MAX
2621440

And you can sipmly increase this value by typing:
root@server:~# ulimit -s 665536

So you will see that argument list size increases by re-typing:
root@server:~# getconf ARG_MAX
170377216

No comments:

Post a Comment