Scheduled Task "Empty Trash" doesn't work

View: New views
3 Messages — Rating Filter:   Alert me  

Scheduled Task "Empty Trash" doesn't work

by Jacob Robertson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using Nexus 1.3.4

We have disk space constraints, so we schedule cleanup snapshots and empty trash to run each week.  However, we have never once seen the empty trash task work.  If we choose Empty Trash from the repositories tab, it works fine.  I put the logs on DEBUG, and the only thing I see showing up is this

2009-11-12 15:11:47.635 INFO  [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash. : Process started on Thu Nov 12 15:11:47 CST 2009, not yet finished.
2009-11-12 15:11:47.641 DEBUG [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash.
2009-11-12 15:11:48.595 DEBUG [qtp0-4382:] - org.mortbay.log: EOF


Any ideas?  Thanks!

Re: Scheduled Task "Empty Trash" doesn't work

by Jacob Robertson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If anyone has any thoughts or ideas on this, it would be great.  For now, we're setting up a disk space monitor to alert us so we can go in and manually delete the trash if needed.  Otherwise, we delete it manually periodically...

On Thu, Nov 12, 2009 at 3:12 PM, Jacob Robertson <jacob.robertson.work@...> wrote:
I'm using Nexus 1.3.4

We have disk space constraints, so we schedule cleanup snapshots and empty trash to run each week.  However, we have never once seen the empty trash task work.  If we choose Empty Trash from the repositories tab, it works fine.  I put the logs on DEBUG, and the only thing I see showing up is this

2009-11-12 15:11:47.635 INFO  [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash. : Process started on Thu Nov 12 15:11:47 CST 2009, not yet finished.
2009-11-12 15:11:47.641 DEBUG [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash.
2009-11-12 15:11:48.595 DEBUG [qtp0-4382:] - org.mortbay.log: EOF


Any ideas?  Thanks!


Re: Scheduled Task "Empty Trash" doesn't work

by Marvin Froeder-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jacob,

I just tried nexus 1.4.0 and it is working fine.  And I assume 1.3.4 works also (since this isn't changed for a log time and we do have ITs covering it).

Maybe your SNAPSHOT removal is running after empty trash?!


VELO

On Thu, Nov 12, 2009 at 7:12 PM, Jacob Robertson <jacob.robertson.work@...> wrote:
I'm using Nexus 1.3.4

We have disk space constraints, so we schedule cleanup snapshots and empty trash to run each week.  However, we have never once seen the empty trash task work.  If we choose Empty Trash from the repositories tab, it works fine.  I put the logs on DEBUG, and the only thing I see showing up is this

2009-11-12 15:11:47.635 INFO  [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash. : Process started on Thu Nov 12 15:11:47 CST 2009, not yet finished.
2009-11-12 15:11:47.641 DEBUG [pxpool-1-thread-18:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash.
2009-11-12 15:11:48.595 DEBUG [qtp0-4382:] - org.mortbay.log: EOF


Any ideas?  Thanks!