Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
25 May 2024, 22:47
(This post was last modified: 25 May 2024, 22:48 by Like Ra.)
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).
Posts: 355
Thanks received: 121
Thanks given: 431
Joined: Mar 2024
ufff
good luck!
[bambisleep.chat] Surrender to my AIGF's brainwash!!!
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
Meanwhile: new kernel, new PHP, new PHP modules. Backup. Disk clean-up. Reboot.
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
New kernel, new PHP, new MySQL.
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
18 Jun 2024, 21:56
(This post was last modified: 18 Jun 2024, 23:56 by Like Ra.)
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!
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
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.
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
19 Jun 2024, 00:50
(This post was last modified: 19 Jun 2024, 00:53 by Like Ra.)
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...
Posts: 355
Thanks received: 121
Thanks given: 431
Joined: Mar 2024
21 Jun 2024, 02:53
(This post was last modified: 21 Jun 2024, 02:56 by brandynette.)
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
[bambisleep.chat] Surrender to my AIGF's brainwash!!!
Posts: 28,216
Thanks received: 14791
Thanks given: 7679
Joined: Jul 2006
(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"?
Posts: 355
Thanks received: 121
Thanks given: 431
Joined: Mar 2024
top? like another arg you can pass?
i dunno, ive been doing it to sort on cpu not any other varaibles
[bambisleep.chat] Surrender to my AIGF's brainwash!!!