I'm in the "no swap will cause the OOM-killer" camp so it will be interesting to see what actually happens if you try the no swap scenerio. But might be a long wait to see what actually happens if it takes many many hours to grind through.
Removing all swap won't break your system beyond repair. It'll just guarantee any memory hungry app will never run. And if those memory hungry apps are anything like a DBMS, your database could corrupt.Either that will fix my problem, or it will hopelessly break my system beyond repair. Eitherway, I'm very tempted to tinker with it, just because I like to cause problems with my own system. In all seriousness, I should probably learn more about what I'm doing before I try anything else.
There's no sense playing with fire to see if one will get burnt.I'm in the "no swap will cause the OOM-killer" camp so it will be interesting to see what actually happens if you try the no swap scenerio. But might be a long wait to see what actually happens if it takes many many hours to grind through.
You will see if process goes faster and can wait to finish or break it in first 5-10 minutes. What can be broken? Now with unfinished Firefox compilation, is it in better condition? Many programs allocate more RAM if there is free RAM (including the swap). IMO compiler will work normally with 8GB RAM (I hope there are at least 4GB free RAM when PC is idle - you can verify this).Either that will fix my problem, or it will hopelessly break my system beyond repair. Eitherway, I'm very tempted to tinker with it, just because I like to cause problems with my own system.
Even for things like rust and llvm? I’m not going to try just curious!IMO compiler will work normally with 8GB RAM
Even for things like rust and llvm? I’m not going to try just curious!
Below is the information regarding my laptop, so I guess it is an older AMD. Well, I will be more carefule in the future.Is your laptop a amd64? Just in case. And my laptop is over 14 year old. Installing firefox listed over 70 more before it. Usepkg.
steven@RB_HP_FreeBSD_2:~ $ sysctl hw.model hw.machine hw.ncpu
hw.model: AMD A6-7310 APU with AMD Radeon R4 Graphics
hw.machine: amd64
hw.ncpu: 4
make search name=whatever
# make install-missing-packages
Yes.Are the resulting installations marked as automatic?
Web rendering engines and cross-compilers take the longest to build. Especially if you don't have all the dependencies installed via pkg. It takes me 13 hours to build qt-webengine on my system.As mentioned earlier, I have some limited experience with Linux, but I'm very new to FreeBSD, so I probably don't have a good understanding of everything that is occurring on my screen.
I decided that I wanted to use the Ports method to install some drivers for my graphics hardware, but before I did that, I decided to test out how the Ports process works by installing Firefox as a test.
I started out by issuing the following command as su:# pkg install git
Next I used the below command to download the nessary files:# git clone https://git.FreeBSD.org/ports.git /usr/ports
At this point everything seemed to be proceeding correctly, so next I entered the below command to install Firefox:
cd /usr/ports/www/firefox/ && make install clean
Well, it has been almost eigtheen hours since I invoked the above command to install Firefox, and right now the information displayed in my terminal doesn't seem to indicate that this process is going to end at anytime soon. I'm assuming that this cannot be normal, so I tried using Ctrl+C to try and stop it, but that didn't have any visible effect.
Should I allow this to continue for a few more hours? What would happen if I simply close the terminal before this process is complete? If I interrupt this process will my system become unbootable? Would running fsck possibly fix it afterwards?
Yes it does.Does the ports tree define -j with # of detected cores?
Thanks. I had trouble withBelow is the information regarding my laptop, so I guess it is an older AMD. Well, I will be more carefule in the future.
Code:steven@RB_HP_FreeBSD_2:~ $ sysctl hw.model hw.machine hw.ncpu hw.model: AMD A6-7310 APU with AMD Radeon R4 Graphics hw.machine: amd64 hw.ncpu: 4
pkg install firefox. By chance I deleted w3m. That solved the problem.