No heat, reasonable CPU usage.
Heat so high, docker needs to be shut down to prevent the device hazard
Model Name: MacBook Pro
Model Identifier: MacBookPro15,2
Processor Name: Intel Core i5
Processor Speed: 2,4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
Docker for Mac: version...
Docker version 19.03.8, build afacb8b
docker-compose version 1.25.4, build 8d51620a
I posted this to docker's repo first, I am copying here if someone already knows how to fix this. I could not build the site because of fear of hazard heat was insane, 300% CPU usage at times.
hmmm interesting.. im on an 8 core macbook, and the docker container builds ok for me. is your laptop in a well ventilated place? im pretty sure theres no fire hazard running at full cpu for most well maintained machienes
i wonder what would happen if you only ran web_web and web_db
It seems mac and docker have some issues, I first posted to docker's repo and there many many issues and very similar regarding this. My mac has only 4 cores, those are the specs. I already tried setting debug to false. I don't know what else to do, CPU usage goes to 300, with an average +200 and it heats as it is launching to mars.
Can second have had issues with mac and docker before. Ill try to build
when im back at my desktop. Hopefully we can get to the bottom of this.
On Thu, Mar 26, 2020 at 2:21 PM federicosan notifications@github.com
wrote:
It seems mac and docker have some issues, I first posted to docker's repo
and there many many issues and very similar regarding this. My mac has only
4 cores, those are the specs. I already tried setting debug to false. I
don't know what else to do, CPU usage goes to 300, with an average +200 and
it heats as it is launching to mars.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gitcoinco/web/issues/6310#issuecomment-604693197, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHL57HA6DH6E2W3QYR3S3DRJPBM3ANCNFSM4LUQTDCA
.>
Logan Bek
LinkedIn http://www.linkedin.com/in/loganbek
Github https://github.com/loganbek
Come work for the open internet w/ Gitcoin
https://gitcoin.co/townsquare/?cb=ref:e727
[email protected]
Changing resources from 4 cores to 2 cores and setting disk image size to only 8 GB.
makes CPU usage stay between 40% and 220%, with a >100% CPU most (90%) of the time but at least not near 300%. Will try lowering resource to only 1 core and see what happens.
Heat also went down and finished the build but after it finished docker went full 200% and heat started raising like if hell was set loose, had to force quit docker. I let it run so I am thinking this is the problem: the docker resources. I am really new to docker and had used it only in really small projects using vagrant instead most of the time, I don't know if there were some docker special configurations for this not to be happening, I will keep trying after mac cools down.
Setting cores to 1, takes CPU usage to 30% - 40% this is still high but it makes it usable and the mac is not heating as it was to explode. I am not sure but I don't think not using resources is a solution, docker should be able to use what it needs and not all resources. Is building that intensive?
I think this all should be added as a troubleshooting tip to the installation guide, what do you think?
yeah thats a good idea
On Thu, Mar 26, 2020 at 7:50 PM federicosan notifications@github.com
wrote:
More updates
Setting cores to 1, takes CPU usage to 30% - 40% this is still high but it
makes it usable and the mac is not heating as it was to explode.I think this all should be added as a troubleshooting tip to the
installation guide, what do you think?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gitcoinco/web/issues/6310#issuecomment-604773424, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5PCND5HPMRTHDDHAAGS3RJQA4PANCNFSM4LUQTDCA
.
--
@owocki http://www.twitter.com/owocki
gitcoin is live and has generated over $3.5mm for Open Source Software - see
our results https://gitcoin.co/results
Most helpful comment
hmmm interesting.. im on an 8 core macbook, and the docker container builds ok for me. is your laptop in a well ventilated place? im pretty sure theres no fire hazard running at full cpu for most well maintained machienes
i wonder what would happen if you only ran web_web and web_db