Xtra-Computing / FedTree

A tree-based federated learning system (MLSys 2023)
https://fedtree.readthedocs.io/en/latest/index.html
Apache License 2.0
140 stars 38 forks source link

Ubuntu crashs during standalone installation. #47

Closed indianatoms closed 1 year ago

indianatoms commented 1 year ago

I'm trying to install FedTree on Ubuntu 22.04.1 LTS. After I run themake -j command my PC freeze and next shows a clear Desktop - it closes the terminal. It crashes around 22% (once it was 22, once 26, once 18). Here are the logs

Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676991] Free swap = 0kB Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676992] Total swap = 2097148kB Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676993] 4156245 pages RAM Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676995] 0 pages HighMem/MovableOnly Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676996] 98099 pages reserved Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676998] 0 pages hwpoisoned Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.676999] Tasks state (memory values in pages): Sep 21 12:39:16 tk-ASUSPRO-P5440FF kernel: [ 2914.677000] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name

It shows that the free swap is 0kB and next it start killing processes. Did any of you experienced similar error?

indianatoms commented 1 year ago

I fixed it by adding 4 at the end of the make command: make -j 4. So only four cores will be used.