Page 1 of 1
Another PurgeWhenFull problem.
Posted: Fri Apr 11, 2008 8:26 am
by seabro
Hi,
I am running 1.22.3
I have a PWF filter setup to run in background, when disk percent greater than 50, sort by ID ASC, limit to first 1000 records, delete all matches.
It doesn't work automatically.
If I 'execute' the filter manually, it brings up 1000 records, but I then have to select all and delete'.
I tried creating 'PurgeWhenFull2' and thats doesn't appear to work.
Obviously, the system works, so I must be doing something wrong but I can't work it out for the life of me.
Whilst I am here, whats the difference between submit and execute on the filter window?
Thanks for your help.
Posted: Tue Apr 15, 2008 8:01 am
by seabro
62 views and no comments...
What does that mean? Should it work?
Posted: Tue Apr 15, 2008 9:34 am
by vejeta
If it doesn't work automatically, check zmfilter.log for any error that may be happening.
I had a case that filters weren't being executed till I deleted a faulty filter (xPurgeWhenFull), after that, all my filters worked.
Posted: Tue Apr 15, 2008 10:45 pm
by Lee Sharp
To your have "delete" as the action set in the filter? A silly mistake that I still do from time to time.
Posted: Fri Apr 18, 2008 6:17 pm
by seabro
Thanks for the replies guys.
Thanks to you we are a little closer!
My zmfilter.log remains empty but zmdc.log states:
[root@localhost zm]# tail zmdc.log
04/18/08 19:22:03.861544 zmdc[17563].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
04/18/08 19:22:23.068290 zmdc[17563].INF [Starting pending process, zmfilter.pl]
04/18/08 19:22:23.073455 zmdc[17563].INF ['zmfilter.pl' starting at 08/04/18 19:22:23, pid = 17649]
04/18/08 19:22:23.892201 zmdc[17563].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
04/18/08 19:23:03.000751 zmdc[17563].INF [Starting pending process, zmfilter.pl]
04/18/08 19:23:03.003099 zmdc[17563].INF ['zmfilter.pl' starting at 08/04/18 19:23:03, pid = 17678]
04/18/08 19:23:03.998612 zmdc[17563].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
04/18/08 19:24:23.003667 zmdc[17563].INF [Starting pending process, zmfilter.pl]
04/18/08 19:24:23.012996 zmdc[17563].INF ['zmfilter.pl' starting at 08/04/18 19:24:23, pid = 17713]
04/18/08 19:24:23.826423 zmdc[17563].ERR ['zmfilter.pl ' exited abnormally, exit status 9]
[root@localhost zm]#
Anyone have any ideas what the cause might be?
Thanks a bunch!
Posted: Fri Apr 18, 2008 6:33 pm
by cordel
Sounds like you might have upgraded from a previous version.
1.23.x now uses serialization, search this topic for "PurgeWhenFull serialization" for more info.
You could also delete and recreate the purge filter and should fix your problem.
Posted: Fri Apr 18, 2008 7:10 pm
by seabro
Hi Cordel,
I am running v1.22.3
I have not previously upgraded.
I have deleted PWF filter and recreated.
I then stopped ZM, deleted all log files and started it again only to find same messages in zmdc.log and an empty zmfilter.log
I will have a read about serialization now but if you have any more suggestions I would be grateful.