[Last Call] Learn how to a build a cloud-first strategyRegister Now


a lot of messages in todo queue in qmail

Posted on 2011-05-10
Medium Priority
Last Modified: 2013-12-02
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?
Question by:ddiazmvs

Expert Comment

ID: 35734228
Have you tried big todo patch? http://www.memoryhole.net/qmail/#big_todo

Author Comment

ID: 35734299
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?

Expert Comment

ID: 35734320
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.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 35734331
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?

Assisted Solution

a1j earned 1000 total points
ID: 35734369
Probably, i cant tell you more details - haven't used qmail in ages. Everybody uses postfix now.

Author Comment

ID: 35734507
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....
LVL 21

Accepted Solution

Daniel McAllister earned 1000 total points
ID: 35816894
Perhaps you should consider running a QMail "package" that included the patch(es) you want & need.

Personally, I use the QmailToaster -- see qmailtoaster.org for full details.

I know it works on FC8 because I administer 6 remote sites that still run on FC8 (also an FC5 and an FC6 that run QMail Toaster successfully) -- although if you're not trying for "bleeding edge" (and by still running FC8, I'd assume not), you perhaps should consider using CentOS (RHEL without the fees). The current "similar" version would be CentOS 5.6, with CentOS 6 due out nearly any time now.

Good Luck!

LVL 27

Expert Comment

ID: 36283872
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question