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.
Les codes et exemples fournis sur WeAreCAS.eu sont à but pédagogique. Il est impératif de ne pas les copier-coller aveuglément sur vos environnements de production. La meilleure approche consiste à comprendre la logique avant de l'appliquer. Nous vous recommandons vivement de tester ces scripts dans un environnement de test (Sandbox/Dev). WeAreCAS décline toute responsabilité quant aux éventuels impacts ou pertes de données sur vos systèmes.
SAS et tous les autres noms de produits ou de services de SAS Institute Inc. sont des marques déposées ou des marques de commerce de SAS Institute Inc. aux États-Unis et dans d'autres pays. ® indique un enregistrement aux États-Unis. WeAreCAS est un site communautaire indépendant et n'est pas affilié à SAS Institute Inc.
Ce site utilise des cookies techniques et analytiques pour améliorer votre expérience.
En savoir plus.