Hello Michal To avoid any problems with glst (100% cpu usage on growing db, db corrupted, ....) I use a scheduled batch script (once a day) to maintain xmail related tools (av updated, glst maintenance, ...).
The glst batch look like this (GlstCleanUp.cmd) : >>--------------------------- @echo off pushd glst glst --cleanup del glstdump.lst dbdump --dbfile glst.dbm --output glstdump.lst del glst.dbm dbload --dbfile glst.dbm --input glstdump.lst popd ---------------------------<< For infos, the general batch look like this : >>--------------------------- @echo off C: cd \XMailTools rem **** Stop Xmail to avoid filters/processes to access files net stop xmail rem **** AV Update (clamav, ...) call ClamAvUpdate.cmd rem **** Glst database cleanup/reload call GlstCleanUp.cmd rem **** Sync Xmail databases with SQL databases .. .. rem Restart XMail net start xmail exit ---------------------------<< With this method (once per day) I resolved glst blocked processes definitively ... Francis >-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de Michal A. Valasek >Envoyé : vendredi 21 avril 2006 07:53 >A : xmail@xmailserver.org >Objet : [xmail] Re: GLST.EXE taking 100% CPU > > > >| Can you try to do a dbdump+dbload to a new DB file? My guess >is that=20 >| something happened to the DB file and the simple GDBM is not >able to=20 >| detect and gracefully recover from it. > >Your guess was right. Although the database on each server has >about 100 = >MB, resulting export has always only few lines in it. > >I have deleted all databases and would watch what it would do. > >Now: > >1) How it got corrupted (on three independent servers) in first place? >2) Is possible to fix the database somewhat and return the data, so = >known legitimate mail would not be delayed? > >If you wish, I can post the DBs somewhere for you and send you >the link = >privately. > >-- >Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET = >MVP >PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz > >You can have peace. Or you can have freedom.=20 >Don't ever count on having both at once. (Lazarus Long) >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]