By Matt Burdett
I am experiencing numerous connection timeouts as of today.
I have one server running as live.rail-record.co.uk. Live.rail-record.co.uk connects to member.rail-record.co.uk using fsockopen on port 3306 , to access some information from the mysql database.
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=195.54.161.151 DST=206.189.114.48 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=195.54.161.151 DST=206.189.114.48 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?
Thanks
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!
Hi there,
As far as I can see there has been a network maintenance today which could have possibly caused the timeouts that you’ve seen:
https://status.digitalocean.com/incidents/xjvkssr50lnc
If your Droplet is not in that region, another thing that I could suggest is checking your server resources utilization either via your DigitalOcean control panel and checking the monitoring graphs there or via SSH and using the htop command for example. It is possible that the connection is timing out due to a very high load on the server.
Let me know how it goes.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.