search cancel

Clarity Logs Show Error: No space left on device

book

Article ID: 111610

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

For Oracle systems

One or more of the following symptoms occur:
-Clarity displays error:“System error. Contact system administrator.” when navigating to the Resource List View
-Jobs fail with error 

java.io.IOException: No space left on device at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createNewFile(File.java:1024) at org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:144) at org.apache.lucene.store.Lock.obtain(Lock.java:73) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:691) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:452) at com.niku.search.engine.lucene.LuceneIndexEngine.optimizeIndex(LuceneIndexEngine.java:694) at com.niku.search.engine.lucene.LuceneIndexEngine.optimizeSearchContentIndex(LuceneIndexEngine.java:678) at com.niku.search.engine.lucene.LuceneIndexEngine.index(LuceneIndexEngine.java:766) at com.niku.search.nspider.Nspider.scheduledEventFired(Nspider.java:187) at com.niku.njs.Dispatcher$BGTask.run(Dispatcher.java:657) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

 

For PostgreSQL systems:

One or more of the following symptoms occur:

The Load DWH fails with error:
Refresh Security Materialized Views - An error occurred executing this job entry : Couldn't execute SQL: CALL DWH_SECURITY_VIEWS_REFRESH_SP()ERROR: could not write to file "pg_tblspc/7398075/PG_14_202107181/pgsql_tmp/pgsql_tmp17350.2088": No space left on device  Where: parallel workerSQL statement "CREATE MATERIALIZED VIEW dwh_sec_inv_inst_security_mv  


Environment

All Clarity versions

Cause

We found these error messages in the app-ca.log file:

Error message: [CA Clarity][Oracle JDBC Driver]Error writing data to client-side row cache. Verify that the directory specified by the java.io.tmpdir property exists and the current user has permission to read from and write to that directory. 
SQL error code: 0 

Error message: [CA Clarity][Oracle JDBC Driver]IO Error writing temp file: No space left on device

Resolution

The Infrastructure team will need to clear out log files from the drive supporting the Clarity server because it is full.