wyattriley / dvoa

Delaware Valley Orienteering Association
0 stars 0 forks source link

Reduce php errors across the site #8

Open wyattriley opened 1 year ago

wyattriley commented 1 year ago

Especially the very high inflow to events/results/error.log

wyattriley commented 1 year ago

Process should be a serious of cropping the log files to last 10k lines from largest error_log file, then trimming down top few errors, then repeat for next largest file...

First file is event/results/error.log

wyattriley commented 1 year ago

Fixed about 5 things

error_log was corrupt, and 10mb and growing after ~72 hours. deleted just now - let's see how it grows

wyattriley commented 1 year ago

After several fixes up to 5/4, I checked on 5/27 and file is only 26 MB, so growing only about 1MB/day - far less than before.

Still several different errors to dig through, to reduce further.

wyattriley commented 1 year ago

Cleaned up the rank/error.log - was 71mb over a few years. Next biggest file is the join/error.log

wyattriley commented 1 year ago

Doing a sync of a few major paths (admin2, events, join, tools) - large error_log file sizes: admin2/evdir - 4MB events/results - 150MB events/sked - 20MB events/vols - 15MB join - 34MB (tho slow recently) :)

wyattriley commented 1 year ago

Also people/eboard - 28MB

wyattriley commented 1 year ago

Fixed the last page worth of errors in events/results and trimmed to 8MB - still several things had warnings in the past 24 hours that I didn't address.