Like Ra's Naughty Forum
Site performance, Server errors, outages and tunings - Printable Version

+- Like Ra's Naughty Forum (https://www.likera.com/forum/mybb)
+-- Forum: Technical section (https://www.likera.com/forum/mybb/Forum-Technical-section)
+--- Forum: Site (https://www.likera.com/forum/mybb/Forum-Site)
+--- Thread: Site performance, Server errors, outages and tunings (/Thread-Site-performance-Server-errors-outages-and-tunings)



RE: Site performance, Server errors, outages and tunings - Like Ra - 25 May 2024

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).


RE: Site performance, Server errors, outages and tunings - brandynette - 28 May 2024

ufff

good luck!


RE: Site performance, Server errors, outages and tunings - Like Ra - 31 May 2024

Meanwhile: new kernel, new PHP, new PHP modules. Backup. Disk clean-up. Reboot.


RE: Site performance, Server errors, outages and tunings - Like Ra - 18 Jun 2024

New kernel, new PHP, new MySQL.


RE: Site performance, Server errors, outages and tunings - Like Ra - 18 Jun 2024

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!


RE: Site performance, Server errors, outages and tunings - Like Ra - 18 Jun 2024

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.


RE: Site performance, Server errors, outages and tunings - Like Ra - 19 Jun 2024

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...


RE: Site performance, Server errors, outages and tunings - brandynette - 21 Jun 2024

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


RE: Site performance, Server errors, outages and tunings - Like Ra - 21 Jun 2024

(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"?


RE: Site performance, Server errors, outages and tunings - brandynette - 22 Jun 2024

top? like another arg you can pass?
i dunno, ive been doing it to sort on cpu not any other varaibles