yegor256 / cam

Classes and Metriсs (CaM): a dataset of Java classes from public open-source GitHub repositories
http://cam.yegor256.com
MIT License
23 stars 38 forks source link

get rid of the warning issued by `parallel` #232

Open yegor256 opened 7 months ago

yegor256 commented 7 months ago

I'm getting this:

make clean
make REPOS=1

...

+++ clone +++

parallel: Warning: Only enough file handles to run 60 jobs in parallel.
parallel: Warning: Try running 'parallel -j0 -N 60 --pipe parallel -j0'
parallel: Warning: or increasing 'ulimit -n' (try: ulimit -n `ulimit -Hn`)
parallel: Warning: or increasing 'nofile' in /etc/security/limits.conf
parallel: Warning: or increasing /proc/sys/fs/file-max
leeowenowen/rxjava-examples (1/1): trying to clone it...
leeowenowen/rxjava-examples cloned (1/1), 30M, in 10s
Cloned 1 repositories in 12 threads, in 10s
Finished, in 10s

...

Would be great to somehow fix the script to avoid this warning.

LaithAlebrahim commented 6 months ago

Hi @yegor256 , Please read this : https://www.reddit.com/r/linux4noobs/comments/b3mink/how_to_increase_the_number_of_file_handles/ It seems the warning is from the system itself could not be solved in the script