1753523 Members
7092 Online
108795 Solutions
New Discussion

mailq

 
Ricardo Macedo
Occasional Advisor

mailq

Hi all !!

I´m having a sendmail problem!!

Anyone can help?

In maillog file I see the message below:

"runqueue: Skipping queue run -- load average too high"

Thanks in advance

Ricardo Macedo
16 REPLIES 16
Fred Ruffet
Honored Contributor

Re: mailq

This is not a sendmail problem but a server load problem. Mail sending is delayed due to high load. But they will be send when load will decrease.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Marcel Boogert_1
Trusted Contributor

Re: mailq

Hi there,

Try to restart the sendmail daemon.

$ mailq
$ /sbin/init.d/sendmail stop
$ /sbin/init.d/sendmail start
$ mailq

Take a look at the difference...

MB.
Muthukumar_5
Honored Contributor

Re: mailq

There are lot of mails are in queue without sending them there,

Try to run as mailq to get the mail queue there.

or mailq -v or sendmail -bp or messages will be there in /var/spool/mqueue directory.

Try to decrease message resend time in sendmail.cf file
Easy to suggest when don't know about the problem!
Ricardo Macedo
Occasional Advisor

Re: mailq


Marcel,

I just tried and still the same, look bellow:

# mailq
Mail Queue (7 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
IAA10387X 5 Thu Sep 9 08:56 zpgt
rhicardo@gmail.com
JAA11033X 5 Thu Sep 9 09:58 zpgt
rhicardo@gmail.com
IAA10397X 5 Thu Sep 9 08:57 zpgt
rhicardo@gmail.com
IAA10395X 6 Thu Sep 9 08:57 zpgt
rhicardo@gmail.com
IAA10393X 6 Thu Sep 9 08:56 zpgt
ricardor@br-petrobras.com.br
JAA10886X 29 Thu Sep 9 09:41 zpgt
zpgt
IAA10390X 46 Thu Sep 9 08:56 zpgt
rhicardo@gmail.com

And .... Fred,

My server seems not overloaded, I ran top and look at :

"Load averages: 36.62, 36.44, 36.07"

The "Idle" parameter is "99%"

Thank for your help.


Ricardo Macedo
Fred Ruffet
Honored Contributor

Re: mailq

A load of 36 and an idle percentage at 99,99... let me tell you your server is certainly a little bit overloaded :)

A great load and a big idle percentage may mean that your server spends a lot of time scheduling and not running processes.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Marcel Boogert_1
Trusted Contributor

Re: mailq

Ricardo,

Do you use some kind of a relay server for your mail. If so, check that server for problems.

You can also try the mailx -v command and check the output.

MB.
Patrick Wallek
Honored Contributor

Re: mailq

What is your timeslice kernel parameter set to? If it is anything but 10, it should be changed.
Fred Ruffet
Honored Contributor

Re: mailq

Could you also tell us result of
sar 1 5

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Ricardo Macedo
Occasional Advisor

Re: mailq



Fred,

The result is below :

#
# sar 1 5

HP-UX sede3 B.11.00 U 9000/800 09/09/04

11:26:13 %usr %sys %wio %idle
11:26:14 0 0 100 0
11:26:15 0 1 99 0
11:26:16 0 1 99 0
11:26:17 0 0 100 0
11:26:18 0 1 99 0

Average 0 1 99 0
#
#
#


Thanks again.
Ricardo Macedo