Site performance, Server errors, outages and tunings

1557 Replies, 448953 Views

Two serious upgrades are in the pipeline:

- Ubuntu: to 24.04
- MyBB: to 1.8.38

Both are quite risky, but inevitable.

Again, fortunately, we have the backup/snapshot service (we pay $12 per month for it).
(This post was last modified: 25 May 2024, 22:48 by Like Ra.)
ufff

good luck!
Meanwhile: new kernel, new PHP, new PHP modules. Backup. Disk clean-up. Reboot.
New kernel, new PHP, new MySQL.
Let's upgrade. Making backups and snapshots... Follow the progress on Twitter/X: https://x.com/like_ra

DB and image backups - completed!
Snapshot - completed!
Upgrade to 23.10 - completed!
Upgrade to 24.04 - completed!
All done!
(This post was last modified: 18 Jun 2024, 23:56 by Like Ra.)
Looks like we are successfully running on 24.04! With all upgraded PHP, MySQL, Apache and other libraries!
Took 2 hours with very high availability during the whole upgrade process (2 OS upgrades!).

Please let me know if anything looks broken.
Aaaannd ....

- Disabled IPv6 - still not working. Possibly a firewall issue, haven't checked, disabled in sysctl.conf
- Made a new snapshot. We are not going back to the old OS <- backup/snapshot is a paid option, but it's SO MUCH SAFER!!!

Took 3 hours in total. Still not bad...
(This post was last modified: 19 Jun 2024, 00:53 by Like Ra.)
Just use this to check the processes based on highest CPU usage.
ps --sort=-pcpu

I would really get a local machine, run it there to mess around.
If you need frequent restarts or loads get way to high from time to time, my guess there is some junk from 10 years ago stuck filling up your resources while the kernel is unable to free the resources. Most likely some deprecated piece of code


OR it's erroring out consuming all your disk time. Reads/Writes if the db has a 100ms call will cause a sort of self inflicted DDoS
(This post was last modified: 21 Jun 2024, 02:56 by brandynette.)
(21 Jun 2024, 02:53 )brandynette Wrote: Just use this to check the processes based on highest CPU usage.
ps --sort=-pcpu
Why not "top"?
top? like another arg you can pass?
i dunno, ive been doing it to sort on cpu not any other varaibles

Possibly Related Threads…
Thread Author Replies Views Last Post
  An interesting read for site admins Max515 4 414 10 Jun 2025, 17:04
Last Post: Zooy
  Site reviews Like Ra 6 482 12 Feb 2025, 00:49
Last Post: Like Ra
  Site access blocked from some public places Like Ra 11 5,629 07 Apr 2024, 01:18
Last Post: Like Ra
  Site rendering on Apple devices Like Ra 85 15,012 13 Aug 2023, 17:25
Last Post: Like Ra
  How to improve the site navigation Like Ra 10 7,598 03 Aug 2023, 23:27
Last Post: Like Ra