Skip to content

[BUG] High CPU consumption of supervisord #2546

@Bacto

Description

@Bacto

Miscellaneous first checks

  • I checked that all ports are open and not blocked by my ISP / hosting provider.
  • I know that SSL errors are likely the result of a wrong setup on the user side and not caused by DMS itself. I'm confident my setup is correct.

Affected Component(s)

supervisord

What happened and when does this occur?

Hi,

First I would like to thank you all for this container image that is very useful!

I noticed a high CPU consumption of my docker-mailserver container and I have dug a little bit.
Supervisord was eating a lot of CPU. In `/var/log/supervisor/changedetector.log` it complained about `/tmp/docker-mailserver` directory that didn't exist.

I do not mount a volume on `/tmp/docker-mailserver` because I don't need it.
If I create manually the directory, everything works normally.

Here is my configuration:

SMTP_ONLY: 1
ENABLE_AMAVIS: 0
SPOOF_PROTECTION: 1
PERMIT_DOCKER: connected-networks
POSTFIX_INET_PROTOCOLS: ipv4

I think the directory should be created automatically on container start.

Best,
Adrien



### What did you expect to happen?

```Markdown
-

How do we replicate the issue?

-

DMS version

v10.5.0

What operating system is DMS running on?

Linux

What instruction set architecture is DMS running on?

x86_64 / AMD64

What container orchestration tool are you using?

Docker Compose

docker-compose.yml

No response

Relevant log output

No response

Other relevant information

No response

What level of experience do you have with Docker and mail servers?

  • I am inexperienced with docker
  • I am inexperienced with mail servers
  • I am uncomfortable with the CLI

Code of conduct

Improvements to this form?

Super annoying but I understand you need that to filter ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions