Troubleshooting MAMP Continually Not Responding - macos

I have a MAMP setup which hosts a number of local servers. It seems capable of running them just fine but it seems almost daily the app itself is marked as not responding by the OS (macOS 10.15.2) and as such refuses to close the app at the end of the day. This becomes quite irritating as it happens constantly. I imagine I've changed something, perhaps related to RAM so it thinks it can use more than it can. Searching for "MAMP Not Responding" on google doesn't exactly show what I'm looking for though.
Any help diagnosing MAMP itself rather than the servers freezing up?

This seems to help me out.
Quit MAMP if open
Navigate to /MAMP/tmp/mysql
Rename mysql.sock.lock
Restart MAMP
I got this from MrSandman98765 answer here https://stackoverflow.com/a/61063332/2314252

I’ve partially fixed it tweaking MySQL settings File > Edit templates > MySQL (my.cfn) > 5.7.26
In my case, having 64 GB of Ram, I’ve heavily increased everything related to Ram and buffer size.
I saw “partially” because sometimes, working on large Magento sites I get again the issue. I think it could be better investigated with MySQL tuning tools.

Related

IIS 5.1 going idle at 1-1.5 weeks

I have a bit of an issue regarding a setup I have to work with. The PCU has Windows XP Embedded running on it, with IIS 5.1. I made an application with IIS as its webhost. There's a touchscreen monitor attached that is always on. Now everything runs fine, no problems, untill about 1-1.5 weeks pass by. At that point IIS, not sure about this, seems to be going on some kind of idle mode, the application stops doing what its supposed to do. But, to me, the weird part is that IIS seems to boot up again once I tap the screen and after that it runs fine again for 1-1.5 weeks. The problem is that I don't really have a clue to where to start searching, I've taken my application apart and looked for any memory leaks or anything that would be causing any issues but it doesn't seem that way. Any suggestions to what to look into would be greatly appreciated!

Windows 10 looses internet connection after 90 minutes

I have a problem with Windows 10 and I am kinda clueless on why and how I should fix it.
I have a work laptop that was upgraded to windows 10 last month. Ever since I got it I have been having problems with my Internet connection. About every one or 2 hours I stop being able to access the internet. I try and run the Windows diagnostic tool but there are of no help. Only restarting the computer helps, which is a major pain.
I have installed Wireshark to monitor my connections but unfortunately I am not really savvy with it. I can however see that there are quite a few broadcasts being made (they make 90% of all connections being made) but I cannot see from where they come.
I have tried disabling all energy saving options, updating the drivers for the network adapter, reinstalling the antivirus and even a hardware test. Nothing helped. My next step would be to reinstall Windows but I only want to do that as a last resort.
Any ideas what I could do next?
So, I actually fixed my problem. I didn´t really figure out exactly why it happened but I found a work around.
In Windows 10, I opened the Event log to see if there was an error being logged. Thankfully I have been documenting when I lost connection so this was easy to find. I saw that everytime I lost connection, Event 4231 was being logged. I googled the Id and found a solution on this website.
I followed the instructions there and had no more problems ever since.

Filesharing between OS X & Windows 10 on a htdocs directory?

I had a practical question for my own work at home. I want to use quad monitor for my coding and other work. I can do this with my macbook pro attached to external triple monitor. But it is not practical because of all the cable management and Macbook Pro is barely keeping up with the performance running it. So what I wanted to do was having my PC run triple monitor and my Macbook as forth screen. Code on my pc and share/update the files in the htdocs directory on my OS X. Like how FTP works.
I found this link: http://www.itworld.com/article/2844141/how-to-share-mac-os-x-yosemite-files-with-windows-10.html
But I'm not sure if I will face sudden obstacles in doing this with my htdocs directory or other directories where my work is stored and updated from time to time.(example:Symfony projects)
I hope I mentioned everything. Thanks in advance!
Well, you can use one of the free cloud based, file-sharig service, like Microsoft OneDrive, Google Drive or Dropbox.
But files will not be updated immediately, you need to wait few seconds (in the best case scenario). So it might get frustrating quickly.
Also, from my experience, OneDrive on Mac is not the best choice when it comes to a Symfony project - it stops working after a while, probably because a lot of cache files, so I need to restart it and it's not usable at all.
Another solution might be using a version control system (f.e. Git) - but you would be able to see the code changes only after a commit and push (and do it manually, of course).

Phpstorm superslow - 282.8% CPU usage

After working for over 5 years with Netbeans I wanted to give a try with Phpstorm suggested by a friend.
I downloaded a fresh copy of Phpstorm and imported in the IDE a fresh project. The result is TERRIBLE!
Phpstorm is terribly slow during startup.
Doing an SVN commit take 5 minutes and keep CPU from 182.3% to 192%.
Editing a simple line of HTML like Hello World take 5 to 7 seconds just to type the first opening character "<".
Working in this situation is a disaster moreover if I'm working on a MacPro workstation with 8GB RAM with 2 Core Duo CPU.
I really don't understand what is causing the issue.
I attach a screenshot.
P.s.
Netbeans on the same workstation is flying!
Thanks in advance to all help and suggestion
I've been working on a large number of git branches recently, and a coworker advised me to invalidate my cache & restart PHPStorm. It seems to have worked, but be warned - you will lose your local history.
In any case, File -> Invalidate Caches / Restart solved my issue.
There is no quick easy answer here to fix your problem, because it can depend on many things, like OS version, JVM version, other software installed (you get my drift). If you open the IDE, and go to Help -> New Support Request, and open a ticket, one of our support engineers will be able to talk you through generating a summary of the system that will enable them to help you solve this problem.
I'm sorry I can't be more specifically helpful here, but usually in this case it's a JVM or OS problem that can be fixed quickly by the team once they get your system specs.
Gary
Go into your settings, and under IDE Settings, click on "Editor"
Go to the -Virtual Space- heading, and make sure "Use soft wraps in editor" is UNticked
In my case the problem was new plugins.
In setting disable newly install plugins.
From the official forum:
Current tasks are displayed in a View > Status Bar (a bar in a bottom of IDE). It might show "indexing ..." or "scanning files to index".
close it works for me.

Azure VM suddenly unavailable

I've had an Azure VM running fine for years but all of a sudden I can't access it anymore. Not through RDP nor through http.
Nothing changed on my side and Microsoft only gives phone support for 230€/month. What to do?
Maybe it has corrupted? The only two things I can think of are: try connecting over Powershell to see if it will respond; You could pull it down from storage and launch the console locally to see what is going on? Azure as you may know doesn't offer a console access. The only other option is to rebuild it assuming you have backups etc.
Ok, finally put the money down and got it up again. The advice on the phone was to upgrade from A2 to A3 processor/memory specs. This would force the VM to go to another machine, ruling out problems with the hardware / NIC. This worked but was quite expensive. They will get back to me next week with the exact problem report.

Resources