While installing few php scripts on my local MacOS Monterey I started getting ERR_EMPTY_RESPONSE error in Chrome browser.
First I encountered this issue while installing Typo3 CMS. I tried installing phpMyAdmin and got the same error.
Digging down further and after some tweaking with apache config files and php.ini files I found out that the problem is with Google Chrome and not with MacOS in particular. There may have been some Apache and/or php.ini config settings which fixed this error in other browsers but I’m not sure what is the exact fix.
The Solution
I’m not sure what exactly caused this problem but other folks have been saying it’s cache.
Try cleaning Google Chrome cache.
Restart Mac.
Try in other browsers.
Digging down further it seems that there is something wrong with configuration file.
Checking the apache access log file shows following error
Safari has become fucking pain in the ass recently. I’m not sure what caused it to get fucked. Safari Web Content process has been eating up more than 100% of CPU and over 2 GB of Memory.
I’m seeing this issue on both iMac and MacBook. I’ve macOS Big Sur on both machines.
Till now I haven’t found a solution so far. Below are some of the solutions which I’ve tried so far and none worked.
The Solution Which Worked For Me
I upgraded OS to macOS Monterey and this problem was gone. I’m still observing though.
Other Solutions Which You Can Try
Low RAM/Memory
The first culprit which anyone would point is low RAM. I’ve fucking 32GB of RAM on my iMac so it doesn’t solve problem. Try adding more RAM if you could, it will certainly improve performance but it will not solve the underlying issue.
Disable Safari Extensions
Another common culprit for Safari or any browser could be extension/plugins. I don’t have any plugin installed so this solution isn’t applicable to me. If you have any extension installed in Safari then you can disable/remove them and try.
To disable/remove extensions go to Safari -> Preferences -> Extensions and disable/remove extensions and try.
Disable Develop Menu
Being a developer having Develop menu showing up all the time is a requirement for us. Some folks have suggested that disabling Develop menu may solve the issue but for me it also didn’t work.
To disable Develop menu go to Safari -> Preferences -> Advanced and uncheck Show Develop menuin menu bar.
Clear Cache
To clear cache you need to enable Develop menu again. From Develop menu click on Empty Caches. For me this solution also didn’t work.
Reboot
Remember the fucking Windows PCs where the most obvious solution to all problems was to reboot PC? Try doing the same, sometimes it may work. For me this magic also didn’t work in fixing the issue.
Log out of Google Account
Some have suggested that logging out from Google account fixes the issue but that’s not true. In my case Safari Web Content keeps eating CPU and Memory even when I haven’t opened Google pages. Logging out also didn’t resolve the issue.
Quit All Apps
I’m in the habit of keeping plenty of apps and tabs in these apps opened. Quitting all apps doesn’t resolve the issue as it has nothing to do with anything else than Safari itself.
I hate Eclipse with passion. I’ve never used it and whenever I tried to use it I just give up on fucking installation procedures itself.
It’s just fucking piece of crap IDE software to install and work. I’ve state of the art iMac with maximum configuration possible and whenever I launch it, it just starts frying up iMac provided I can get pass the installation process.
The reason I keep coming back to Eclipse IDE is that it’s free and the nearest best IDE software is fucking paid where you end up paying £499 or so per year to use IDE which should be fucking free.
As a developer I find it so fucking annoying just to keep wasting time in fucking figuring out how to install software.
Today was another day where I had to get Eclipse installed on MacOS and it fucking got stuck on installation hence I decided to finally rant on this topic.
So Why Eclipse Is So Slow In Everything?
It’s slow because it’s free and it is supported by bunch of people in community who couldn’t fucking get it working. They keep on adding support for everything and it all ends up in a giant mess.
Apart from ranting the main reason why it’s slow with everything is because it connects with servers and not just few servers but millions of them and it all ends up in timing out because those servers are unreachable. Why are those servers unreachable? It’s again the name of fucking foundation and free and open source crap.
What Is The Solution To Fix Eclipse’s Slow Response?
As per my knowledge the slowness of Eclipse comes down to the Network. No it’s not your network connection but the sites Eclipse connects to download software.
Unfortunately there is no solution which can fix the slowness of Eclipse. You can try some of the followings.
Network Connection
On Eclipse Installer application open Network Connection from Eclipse-Inst->Preference menu.
Select Direct/Manual/Native from Active Provider and try it.
For me none of these options helped.
Download and Install Eclipse From Command Line – Worked for me
Uncheck Contact all update sites during install to find required software
You would assume that it will all go well and it will install PyDev, but it will not at least not in my case. Now you will realise why I decided to rant on this topic. Here is the next error I encountered while installing PyDev.
To fix above error, double click on following in Problems pane and continue to install the required packages. Unknown referenced nature: org.eclipse.wst.jsdt.core.jsNature. .project /Blog Unknown Unknown nature
This is not the end, you may encounter another problem shown below.
Unable to read repository at https://download.eclipse.org/releases/latest.
Unable to read repository at https://download.eclipse.org/releases/2021-12/.
Communication with repository at https://download.eclipse.org/releases/2021-12/202112081000/content.xml.xz failed.
Read timed out
Eclipse is like a big onions of problems where you fix one problem only to find out another problem underneath it and it keeps going. Layer after layer of fucking problems.
Looking at the problem it seems it is same issue, the server time out.
Try again and keep trying till it installs. Good luck with that though!
Well I need to take a break before my brain fries up in fixing problem after problem. I’ll come back as I find solutions.
Okie so I found what is the real issue. Click on this https://www.pydev.org/updates/ on this page click on all the links. You will find that all pages don’t exist. So basically PyDev is fucked up.
I gave up this point only to find that Eclipse I’ve installed so far has nowhere to be found on my iMac. Lol!!
So what application was I running if it didn’t install Eclipse? I’ve no clue what is going on!!!
It turns out that I didn’t copy Eclipse.app to Application folder. To fix this issue double click on dmg file again and drag and drop Eclipse.app to Application folder
I’ve to conclude this post. I’ll try to provide solution to other issues in another posts.
Update – Is RAM an issue?
While browsing through Internet I came across a few threads where so called fucking experts have expressed their opinion that Eclipse is slow because computer has less RAM. I just died laughing 😉 What a bunch of morons!!! Slowness of Eclipse has nothing to do with RAM. I’ve 32 GB on my iMac yet Eclipse is just slow. From my personal experience less RAM is not the real cause of slowness.