Error Description: Filesystems on ONLINE_STORAGE Filesystem Group run out of space, even deleter criteria are specified and studies could be deleted.
Check basic configuration:
| Open ONLINE_STORAGE FilesystemMgt service in jmx-console ( link:http://<host>:8080/jmx-console ) |
|
| Deleter configured to work automatically? Either ScheduleStudiesForDeletionInterval not NEVER and/or ScheduleStudiesForDeletionOnSeriesStored = true. |
| Deleter will check free disk space? DeleterThresholds must not be NONE and have an adequate value.
|
| Study ONLINE Lifetime? DeleteStudyOnlyIfNotAccessedFor attribute is responsible for how long a study have to be ONLINE. The value is dependent on online disk space and expected data volume.
|
| Deleter criterias? Which criterias are enabled? (all enabled criteria must be fulfilled) Are all basic conditions for the criterias configured correctly? (e.g. DeleteStudyOnlyIfExternalRetrieveable: Forward Service, Storage Commitment)
|
Check server.log
| Logger level must be INFO Ensure that 'org.dcm4chex.archive.mbean' and/or 'org.dcm4chex.archive.mbean.FileSystemMgt2Service' has at least INFO level org.dcm4chex.archive org.dcm4chex.archive.mbean org.dcm4chex.archive.mbean.FileSystemMgt2Service A 'Operation completed successfully without a return value.' result message means, that no logger level is set for this category and the level of the parent will be applied! |
| Message 'Check file system group .. for deletion of studies' does not exist? Check ScheduleStudiesForDeletionInterval attribute in ONLINE_STORAGE FilesystemMgt service to be not NEVER.
|
| Message 'Try to free ... of disk space on file system group ... ' does not exist? Most likely the UsableDiskSpace is NOT below CurrentDeleterThreshold. Set DeleterThreshold according to your needs. |
Message 'Scheduled ... studies for deletion on file system group ...' does not exist?
|
Check if studies are ready to delete:
| SQL examples shown here are for oracle DBS! By enabling DEBUG logger level for 'org.jboss.ejb.plugins.cmp' (log4j service in jmx-console) you can find the queries of the deleter in server.log, |
| Find studies on filesystemgroup not accessed since NUM_DAYS Set NUM_DAYS to corresponding value of DeleteStudyOnlyIfNotAccessedFor (one hour can be expressed as 1/24) Simple query: (select of all FS groups!) SELECT * FROM study_on_fs WHERE access_time < (sysdate - <NUM_DAYS>) AND rownum < 10; Query of studies stored on ONLINE_STORAGE Filesystems: SELECT * FROM study_on_fs, filesystem WHERE filesystem.pk = study_on_fs.filesystem_fk AND filesystem.fs_group_id = 'ONLINE_STORAGE' AND access_time > (sysdate - <NUM_DAYS>) AND rownum < 10; As used by deleter: SELECT * FROM STUDY_ON_FS t0_sof, SERIES t2_s, FILESYSTEM t1_sof_fileSystem, STUDY t7_sof_study WHERE ((t1_sof_fileSystem.fs_group_id = 'ONLINE_STORAGE' AND t1_sof_fileSystem.fs_status IN (0, 1) AND t2_s.series_status = 0 AND t0_sof.filesystem_fk=t1_sof_fileSystem.pk)) AND t7_sof_study.pk=t2_s.study_fk AND t0_sof.study_fk=t7_sof_study.pk AND t0_sof.access_time < (sysdate - <NUM_DAYS>); Result of last statement is empty?
|