I found too many session files on my servers /tmp folder.
On trying to delete the files, i got error
# cd /tmp
# rm -f sess*
I got the error
/bin/rm: Argument list too long.
I don’t know why FreeBSD do not fix this, if it was MS Windows, it will get big press and Microsoft will fix it, now with Free OS, we have to use
find /tmp -name “sess*” -delete
This will delete all files start with sess.
I Love using FreeBSD/Linux on my servers, still silly problems like this should be fixed. If you go and ask in FreeBSD mailing list, you will get answer, we have provided full source code, why don’t you read the source code and correct it type of answer.
One Response to rm – Argument list too long