Automatically Permanently Delete

 
Post new topic   Reply to topic    newsmanpro.com Forum Index : Feature Requests
View previous topic :: View next topic  
Author Message
John Elliott
Experienced
Experienced


Joined: 10 May 2005
Posts: 121

PostPosted: Sun Jan 04, 2009 11:20 pm    Post subject: Automatically Permanently Delete Reply with quote

There's a person called accountmaker1337@googlemail.com that uploads viruses to several news groups I visit. I'd like to be able to permanently delete ALL of his posts automatically with an Automation Rule. I'm using an Automation Rule now, but it only sends his posts to the trash. He actually uploads about 13,376 of these (or more) viruses per 12 hours to alt.binaries.multimedia, and alt.binaries.tv, combined. If there's currently a way to do that, I haven't found it.
Thanks.
Back to top
View user's profile Send private message
BZB
Expert
Expert


Joined: 26 Apr 2005
Posts: 1402

PostPosted: Sun Jan 04, 2009 11:52 pm    Post subject: Reply with quote

The database doesn't work that way. When you delete something, it is moved to the trashcan. It doesn't actually get taken out of the database until you run a purge.

IIRC, it was decided a while back that it was not reasonable to do a realtime delete/purge every time you deleted something, as it would cause long delays.

What you're suggesting actually won't make much difference anyway, as you're only talking about deleting headers. What you're doing now (dumping them in the trash via an automation rule and then purging them along with your normal purge) is actually a pretty efficient way to deal with these headers.
Back to top
View user's profile Send private message
administrator
Developer
Developer


Joined: 24 Jul 2004
Posts: 4762
Location: King William, VA

PostPosted: Mon Jan 05, 2009 12:04 am    Post subject: Reply with quote

Furthermore, doing a permanent delete after every found header would take forever. Batching thing together the way purging does is much, much faster.

Regards
Back to top
View user's profile Send private message Send e-mail
canrith
Apprentice
Apprentice


Joined: 02 Dec 2005
Posts: 13

PostPosted: Tue Jul 28, 2009 3:11 pm    Post subject: Reply with quote

administrator wrote:
Furthermore, doing a permanent delete after every found header would take forever. Batching thing together the way purging does is much, much faster.

Regards

I had 120,428 headers that I started purging 24 hours ago. It doesn't seem like it will finish anytime soon. There is plenty of hard drive activity and I am using MYSQL as the database. Is this normal for that amount of headers?

Thanks
Back to top
View user's profile Send private message
administrator
Developer
Developer


Joined: 24 Jul 2004
Posts: 4762
Location: King William, VA

PostPosted: Tue Jul 28, 2009 3:19 pm    Post subject: Reply with quote

No, it isn't normal. I purge around 150,000 headers (according to trash), which includes about 3,000,000 segments (number of actual headers), every day in less than 8 minutes.

I'd see if you can determine what other processes may be interfering with MySQL doing its thing. Could be that your antivirus is slowing it way down.

Also, if your database is really, really big, and you are only purging a small fraction of the headers in your database, it can take longer, but I'd say anything over 30 minutes is way too long.

Regards
Back to top
View user's profile Send private message Send e-mail
BZB
Expert
Expert


Joined: 26 Apr 2005
Posts: 1402

PostPosted: Tue Jul 28, 2009 6:33 pm    Post subject: Reply with quote

canrith wrote:

I had 120,428 headers that I started purging 24 hours ago. It doesn't seem like it will finish anytime soon. There is plenty of hard drive activity and I am using MYSQL as the database. Is this normal for that amount of headers?

Thanks


Are you using a background purge, or a power purge? The latter should be much faster.

If you're getting a lot of disk activity, NMP is doing something, so maybe you have slow disks or not much disk space or something else that is killing performance. As suggested, you might want to exclude NMP and MySQL from the AV checking.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    newsmanpro.com Forum Index : Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright 2003-2006, Daniel Cumpian
NMP Default By ::Dementeddogz.com::