The scenario is classic: you start model training. The logs indicate that everything is working normally, tables are loaded, and the computation begins. Suddenly, at the moment of writing the model's save file (the savestate or astore file), the process fails.
Here is a typical excerpt from the log you might see:
ERROR: Local CASLIB quota exceeded.
ERROR: The action stopped due to errors.
In this example, the system attempted to write a file larger than 10 GB (10,139,446,832 bytes) before being blocked by the system.
In this example, the MyGlobal library is limited to 100 MB. If it attempts to write a file exceeding this size, the "Quota exceeded" error will be triggered. Likewise, if the sum of all libraries exceeds the limit set by _ALL_, the error will also occur.
The Solution
To resolve this issue, it is necessary to adjust the resource configuration of the CAS server.
Identify the concerned Caslib: Check which library your process is trying to write to (often Casuser or a temporary library when creating an ASTORE).
Increase the Quota: You need to modify the globalCaslibs policy to increase the quota value allocated to this specific library or to the _ALL_ parameter.
Monitor the Disk Cache: Ensure that the server physically has the necessary disk space to accommodate these quota increases.
The codes and examples provided on WeAreCAS.eu are for educational purposes. It is imperative not to blindly copy-paste them into your production environments. The best approach is to understand the logic before applying it. We strongly recommend testing these scripts in a test environment (Sandbox/Dev). WeAreCAS accepts no responsibility for any impact or data loss on your systems.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.