HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] 4.2.1: faxstat -dl -> "Removing: XXXX" log messages



Linux RedHat-6.x

I have 16 jobs in the done queue.
Every time I do "faxstat -dl" I get
Jan 17 10:40:58 fax HylaFAX[26004]: Removing: 25609
Jan 17 10:40:58 fax HylaFAX[26004]: Removing: 25608
Jan 17 10:40:58 fax HylaFAX[26004]: Removing: 25607
Jan 17 10:40:58 fax HylaFAX[26004]: Removing: 25622
Jan 17 10:40:58 fax HylaFAX[26004]: Removing: 25621
In the system log (/var/log/messages on Linux)

This is a bit annoying since it seems some kind of error or some kind
of clean-up occuring for a read only operation as is "faxstat -dl".

Looking at the code I see hfaxd/Jobs.c++
    /*
         * We can only afford a certain amount of space,
         * unfortunately, there is no "bright" way to remove jobs
         * Ideally we'ld have an "aging" method, so the LRU job
         * would be the one deleted...
         */
        if (jobs.size() > 10)
        {
            JobDictIter iter(jobs);
            job = iter.value();
            logError("Removing: %s", (const char*)job->jobid);
            jobs.remove(job->jobid);
            delete job;
        }
 

Does it mean that having more than 10 jobs in the queue is considered
not a normal condition (logError)?

Thanks

-- 
giulioo@xxxxxxxxx

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions