Splitting toconfirmation files
Handling Large Confirmation Files
This procedure should be followed when confirmation files exceed ~4MB in the directory:
apps/data/Midgard/report/confirmation
Notification email from zabbix is sent with subject: Out of Memory at LH MG on toconfirmationsender.out
Steps:
-
Move the large file(s): Transfer the oversized confirmation file(s) from
Apps/data/Midgard/report/confirmationto/home/qcuser/toconfsplit/. -
Run the splitting script: Execute the script, replacing
[filename]with the actual name of the large file you moved:/home/qcuser/split_confirmation.sh [filename]- What the script does:
- Splits the large input file into multiple smaller confirmation files.
- Moves the original, large CSV file to an archive.
- Places the newly created, smaller confirmation files back into
Apps/data/Midgard/report/confirmation.
- What the script does: