Troubleshooting
If you're having trouble with your actions or activations, here are some common issues and solutions.
The pod exceeded its local storage and was evicted with X in flight activations
The most common reasons for exceeding local storage for an action are:
- Writing too many verbose logs.
- Storing large files on local storage without cleaning them up.
Please, refer to the local storage limit configured for an action, which can be found in System Settings section. Exceeding this limit will result in the action being terminated or not completing successfully.
Mitigation Strategies
- Logging: Use the @adobe/aio-sdk library for logging. Ensure that you are using the
DEBUG
logging level for development, and set your productionAIO_LOG_LEVEL
env variable toINFO
orWARN
. This approach minimizes storage use while retaining critical log information necessary for troubleshooting. - Logging: Avoid verbose logging and log only the necessary information.
- File Management: Always clean up files written to disk after function execution. Neglecting this can lead to storage bloat, preventing future actions from running as expected.