Author Topic: 1800 emails a day from server  (Read 6078 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
1800 emails a day from server
« on: December 22, 2018, 07:32:16 PM »
Since upgrading I seem to have hundreds of emails sent from LDF and today it topped 1800.
The main emails are:
Code: [Select]
Time:         Sat Dec 22 19:01:32 2018 +0000
Account:      gdm
Resource:     Process Time
Exceeded:     82112 > 1800 (seconds)

Time:         Thu Dec 20 19:49:07 2018 +0000
Account:      memcached
Resource:     Process Time
Exceeded:     84418 > 1800 (seconds)

Time:         Thu Dec 20 19:49:06 2018 +0000
Account:      avahi
Resource:     Process Time
Exceeded:     84425 > 1800 (seconds)


Time:   Thu Dec 20 18:54:05 2018 +0000
File:   /tmp/php-build/php-5.4.45/config.guess
Reason: Script, starts with #!
Owner:  :games (502:20)
Action: No action taken

Time:         Thu Dec 20 18:49:08 2018 +0000
Account:      colord
Resource:     Process Time
Exceeded:     80712 > 1800 (seconds)





but the list goes on.
Any help would be appreciated as the mail server is doing its nut.


Offline
***
Re: 1800 emails a day from server
« Reply #1 on: December 22, 2018, 08:05:40 PM »
Some process in your server has crashed, of deadlocked, and is lost.
Is needed to you drop that process, or restart it.

If you want to know why are in crashed or deadlock state, you must investigate your logs, and the sequence of events.
To solve the problem, the more simple is you reboot.your server.

Regards,
Netino

Offline
*
Re: 1800 emails a day from server
« Reply #2 on: December 22, 2018, 08:54:06 PM »
Thanks for the reply.
I did do a server reboot yesterday but no difference.

Can anyone suggest that it might be a good idea if I backed up and rebuilt the server, or is that a little drastic.

Offline
***
Re: 1800 emails a day from server
« Reply #3 on: December 23, 2018, 02:58:03 PM »
Most likely it's a memcached problem, some deadlock from it. I would recommend checking the suggestions described here <https://forum.centos-webpanel.com/installation/how-can-install-memcached-thanks/>, or using varnish instead.

Perhaps are you using GDM ..?! In remote administration environments, it can be safely disabled. But if you want to continue its use, the recommended would be to investigate some incompatibility of the graphical environment.
There is no way, you will have to investigate the logs.
If you simply reinstall the same system under the same conditions, the same problem may occur.
If you use 'selinux', you should wait for deadlocks, so each system added after it, you should predict its occurrence.

Regards,
Netino

Offline
*
Re: 1800 emails a day from server
« Reply #4 on: December 23, 2018, 05:39:00 PM »
Thanks for all your help. It looks as if monit had a stuck upgrade.
Right now the server has gone back to what could be considered as normal email warnings.

Thanks for being there :)