Link to home
Start Free TrialLog in
Avatar of ddiazmvs
ddiazmvs

asked on

a lot of messages in todo queue in qmail

Hello, I have qmail-1.03 installed on fedora 8, I have vpopmail and mysql; I have around 4,000 accounts, since yesterday I noted that I have a lot of message on todo queue, at this moment I have
Messages in local queue: 1
Messages in remote queue: 10
Messages in todo queue: 2566

The cpu is fine, the memory is fine, I'va applied the ext-todo patch, what can I do?
Avatar of a1j
a1j
Flag of United States of America image

Have you tried big todo patch? http://www.memoryhole.net/qmail/#big_todo
Avatar of ddiazmvs
ddiazmvs

ASKER

at this moment the queue are working well:

Messages in local queue: 0
Messages in remote queue: 28
Messages in todo queue: 0

If I use the big todo patch, the todo queue will be faster?.... why the messages was stored in todo queue instead of local or remote?
By default todo queue is flat, not hashed.
If you have more than 1000 files in one directory on linux filesystem then directory scan slows down.
If you have there million files the ls command will take ages to complete (minutes).

The hashed directory structure in todo solves this.

You have to empty all your todo queue before applying the patch or the queue will be lost.
another question in order to apply this patch I have to run make clean on qmail-103 source or just type: patch < qmail-big-ext-todo.patch and then make setup check? do i  need run config-fast mydomain.com?
SOLUTION
Avatar of a1j
a1j
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok.... I read about the big todo I'm going to aplied it. I'm still a lot of question of the todo queue and the way of work....
:-(
ASKER CERTIFIED SOLUTION
Avatar of Daniel McAllister
Daniel McAllister
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.