Problem No #1
I was deleting files from our server having total file count more than 2000000. I was getting below warning.
/bin/rm: Argument list too long.
Solution:
# cd /source-directory/
# find . -type f -exec rm -fv {} ;
Problem No #2
Samba was also working on same server and from windows we are unable to delete that files. After troubleshooting found that, some commands of deletion via smb protocol in queue that got hangs. So after restarting of samba service, everything was fine.
Solution:
# service smb restart
2748 Total Views 1 Views Today
related posts
« Linux Performance tuning benchmark vsftpd disable delete option only allow upload »