Dave Sill writes:

> >> When you're sending messages, how many qmail-remotes are running?
> >
> >About 90-130. 255 if I stop delivery for a little while and then restart
> >it. To me that means that the machine can send faster then I can get the
> >messages into the queue.
> 
> That's what it sounds like. So you either need to speed up the
> existing process via h/w or s/w changes, or modify the injection
> process.

I find this very difficult to believe, that it takes longer to add
something to the queue than to make several DNS queries, establish a
socket, and go through the SMTP handshake in order to deliver the message.

Either you're running out of some resource - memory or sockets - which
throttles your output, or your injection mechanism is piss-poor
inefficient.

If you're injecting messages one at a time, it is possible that fsyncs and
the rest of the disk activity are throttling your input, but I still find
it somewhat difficult to swallow.  However that's the only possible answer
in absence of a resource shortage.  You should be able to remedy that by
injecting multiple messages in parallel.

-- 
Sam

Reply via email to