I am experiencing numerous connection timeouts as of today.
Both websites are using Apache, and it is worth noting that I do NOT get timeouts when accessing member.rail-record.co.uk from browser. My PHP settings for member.rail-record.co.uk - the site that is timing out on remote connections via SSH and fsockopen - can be found at https://member.rail-record.co.uk/php-info.php
I recently upgraded the server to a Intel 4gb 2cpu last weekend. The site was working fine up until today and nothing has since changed as far as I am aware.
I have attempted to diagnose the problem in a number of ways.
But even with the above, that shouldnt cause the sluggishness and timeouts when using the SSH?
Does any one have any recommendations as to what I can do about this?
Here’s some more information.
At 10:26, I triggered the timeout. But nothing in mysql error log for 10:26, only an earlier timeout:
2021-03-12T10:09:38.596997Z 420 [Note] Got timeout reading communication packets
There are a number of lines in UFW along the lines of the below (although not excessive, maybe a few per minute), but as I mentioned, disabling UFW has no effect and nothing about my live server IP / origin requesting server
Mar 12 10:27:37 test kernel: [ 1806.742533] [UFW BLOCK] IN=eth0 OUT= MAC=aa:70:04:4c:5a:d0:fe:00:00:00:01:01:08:00 SRC=22.214.171.124 DST=126.96.36.199 LEN=40 TOS=0x0$ Mar 12 10:27:38 test kernel: [ 1807.438358] [UFW BLOCK] IN=eth0 OUT= MAC=aa:70:04:4c:5a:d0:fe:00:00:00:01:01:08:00 SRC=188.8.131.52 DST=184.108.40.206 LEN=40
Guessing no point checking apache logs as site accessible fine, just external connections.
I have a user set up on mysql for the remote site, and I am binding address etc in my.cnf. Like I said, everything fine until today.
Does anyone have any suggestions of what else to check, to help diagnose the issue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!