help with twiddle deletion?

491 views
Skip to first unread message

Docjay

unread,
Sep 26, 2013, 3:21:02 PM9/26/13
to
Hey all -

   Need some help with twiddle & purging studies.

I am generating a file full of SUIDs for twiddle to run through one at a time as below (I'm using a script and this is just the TWIDDLE command from it)

$TWIDDLE -u ${LOGIN} -p ${PASSWORD} -s jnp://10.10.50.51:1099 invoke "dcm4chee.archive:service=ContentEditService" purgeStudy


The problem is that I'm seeing a lot of this in my server.log

2013-09-26 14:00:11,331 WARN  -> (Thread-67064) [org.dcm4chex.archive.dcm.stymgt.StudyMgtScuService] Failed to process org.dcm4chex.archive.dcm.stymgt.StudyMgtOrder@201309260955095681072@274b4a1a[N_DELETE_RQ, iuid=2.15.0.250.1.59.0.8559.20050912140336.126962, failures=21]. Scheduling retry.

Is there a place or queue I can check to watch the total number of studies to be deleted 'drop' or is there just a limited number of these types of processes that be performed at once?

I was trying to delete around 2500 studies in my 'input' file for twiddle and I could see them 'drop' from the database quickly, but not the actual file being removed from its path.

The log entry I pasted above is throughout my server.log and don't understand why.  Could someone shed some light on this for me?

thanks

Jamie

Docjay

unread,
Sep 30, 2013, 12:46:16 AM9/30/13
to dcm...@googlegroups.com
does anyone have any ideas?

Docjay

unread,
Oct 1, 2013, 8:58:00 AM10/1/13
to dcm...@googlegroups.com
Could anyone please help me out with this?  I need to delete several thousand studies and this just isn't working out as planned.

armin...@gmail.com

unread,
Oct 1, 2013, 12:52:29 PM10/1/13
to dcm...@googlegroups.com
Hi Jamie!

I deleted my studies in older versions of chee with the "scheduleStudyforDeletion" in FilesystemManagement Service. Worked with twiddle or with a wget script against the webinterface like a charm.
best regards
armin

Docjay

unread,
Oct 2, 2013, 9:45:07 AM10/2/13
to
Armin -

  Thanks for the reply.  I was reading the old forums and I found a post from Fleetwood where he stated:

"
To completely remove the Study use:
./twiddle.sh -uadmin -padmin -s jnp://localhost:1099 invoke "dcm4chee.archive:service=ContentEditService" purgeStudy 1.2.840.113619.2.115.692458548.1255095217.0.1410"

http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4506

-- I am wanting to delete all of these studies from the database & the file from its path.

Docjay

unread,
Oct 3, 2013, 8:56:03 AM10/3/13
to dcm...@googlegroups.com
I'm hoping someone can help me out with this issue.  What I am wanting to know if it is normal for it to be scheduling all of these 'retries'?  Why did it fail to delete the study?  Could someone help me troubleshoot this issue please?

thanks

Arnold Maderthaner

unread,
Oct 3, 2013, 9:37:33 AM10/3/13
to dcm...@googlegroups.com
do you have any log file that shows more than that it fails ?
did you try to turn on debug to see whats going on when it tries to delete ?

fleetwoodfc

unread,
Oct 4, 2013, 7:34:57 AM10/4/13
to dcm...@googlegroups.com
Does a manual purgeStudy succeed? i.e. using the jmx-console
Reply all
Reply to author
Forward
0 new messages