Troubleshoot S3 PUT Object size too large alert
The S3 PUT Object size too large alert is triggered if a tenant attempts a non-multipart PutObject operation that exceeds the S3 size limit of 5 GiB.
-
You are signed in to the Grid Manager using a supported web browser.
-
You have specific access permissions.
Determine which tenants use objects that are larger than 5 GiB, so you can notify them.
-
Go to CONFIGURATION > Monitoring > Audit and syslog server.
-
If Client Writes are Normal, access the audit log:
-
Enter
ssh admin@primary_Admin_Node_IP -
Enter the password listed in the
Passwords.txtfile. -
Enter the following command to switch to root:
su - -
Enter the password listed in the
Passwords.txtfile.When you are logged in as root, the prompt changes from
$to#. -
Change to the directory where the audit logs are located.
The audit log directory and applicable nodes depend on your audit destination settings.
Option Destination Local nodes (default)
/var/local/log/localaudit.logAdmin Nodes/local nodes
-
Admin Nodes (Primary and Non-Primary):
/var/local/audit/export/audit.log -
All nodes: The
/var/local/log/localaudit.logfile is typically empty or missing in this mode.
External syslog server
/var/local/log/localaudit.logDepending on your audit destination settings, enter:
cd /var/local/logor/var/local/audit/export/To learn more, refer to Select audit information destinations.
-
-
Identify which tenants are using objects larger than 5 GiB.
-
Enter
zgrep SPUT * | egrep "CSIZ\(UI64\):([5-9]|[1-9][0-9]+)[0-9]{9}" -
For each audit message in the results, look at
S3AIfield to determine the tenant account ID. Use the other fields in the message to determine which IP address was used by the client, the bucket, and the object:Code Description SAIPSource IP
S3AITenant ID
S3BKBucket
S3KYObject
CSIZSize (bytes)
Example audit log results
audit.log:2023-01-05T18:47:05.525999 [AUDT:[RSLT(FC32):SUCS][CNID(UI64):1672943621106262][TIME(UI64):804317333][SAIP(IPAD):"10.96.99.127"][S3AI(CSTR):"93390849266154004343"][SACC(CSTR):"bhavna"][S3AK(CSTR):"06OX85M40Q90Y280B7YT"][SUSR(CSTR):"urn:sgws:identity::93390849266154004343:root"][SBAI(CSTR):"93390849266154004343"][SBAC(CSTR):"bhavna"][S3BK(CSTR):"test"][S3KY(CSTR):"large-object"][CBID(UI64):0x077EA25F3B36C69A][UUID(CSTR):"A80219A2-CD1E-466F-9094-B9C0FDE2FFA3"][CSIZ(UI64):6040000000][MTME(UI64):1672943621338958][AVER(UI32):10][ATIM(UI64):1672944425525999][ATYP(FC32):SPUT][ANID(UI32):12220829][AMID(FC32):S3RQ][ATID(UI64):4333283179807659119]]
-
-
-
If Client Writes aren't Normal, use the tenant ID from the alert to identify the tenant:
-
Go to SUPPORT > Tools > Logs. Collect application logs for the Storage Node in the alert. Specify 15 minutes before and after the alert.
-
Extract the file and go to
bycast.log:/GID<grid_id>_<time_stamp>/<site_node>/<time_stamp>/grid/bycast.log -
Search the log for
method=PUTand identify the client in theclientIPfield.Example bycast.log
Jan 5 18:33:41 BHAVNAJ-DC1-S1-2-65 ADE: |12220829 1870864574 S3RQ %CEA 2023-01-05T18:33:41.208790| NOTICE 1404 af23cb66b7e3efa5 S3RQ: EVENT_PROCESS_CREATE - connection=1672943621106262 method=PUT name=</test/4MiB-0> auth=<V4> clientIP=<10.96.99.127>
-
-
Inform tenants that the maximum PutObject size is 5 GiB and to use multipart uploads for objects greater than 5 GiB.
-
Ignore the alert for one week if the application has been changed.