Hi,

I'm seeing sporadic 'slow' or hanging mailq commands on my Postfix
2.9.6-1~12.04.1 (Ubuntu 12.04.1, 64bit) install. Typing 'mailq' either
hangs quite some time then gives the mailqueue output, or it blocks and
quits stating no mails are queued.

Relevant strace output:
| 14:15:03 connect(4, {sa_family=AF_FILE, path="public/showq"}, 110) = 0 
<0.000016>
| 14:15:03 gettimeofday({1395839703, 908995}, NULL) = 0 <0.000004>
| 14:15:03 poll([{fd=4, events=POLLIN}], 1, 3600000) = 1 ([{fd=4, 
revents=POLLIN}]) <52.493691>
| 14:15:56 read(4, "-Queue ID- --Size-- ----Arrival "..., 4096) = 193 <0.000013>
| 14:15:56 gettimeofday({1395839756, 402854}, NULL) = 0 <0.000005>

On this system, mailq is called quite often to keep track of the queue.
Since the mailq calls are done asynchronous two calls might come in
within the same second. I had a few 'showq -t unix -u -c' procs running,
killed them, and now it's fast again. Next time i'll try and see if they
give any usefull strace output.

Sounds familiar to anyone?

-Sndr.
-- 
| How many SEO copywriters does it take to change a lightbulb, light bulb,
| bulb, lamp, light, led, bulbs, fluorescent tubes?
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2

Reply via email to