Skip to content

[Question] - Memory Usage #504

Description

@synclab-srl

Hi @yrutschle

With the latest commit, sslh is working fine.
I have a question about memory usage.

In 24 hours of operation, memory allocation reached 50MB (when Docker starts, it's about 5MB).
After three days, it's about 100MB.

Is this growth normal?

This is my configuration (started with docker, sslh-select):

foreground: true;

verbose-packets: 0

listen:
(
  { host: "0.0.0.0"; port: "443"; keepalive: true; },
  { host: "0.0.0.0"; port: "80"; keepalive: true; }
);

protocols:
( 
  { name: "regex"; host: "proxy-server"; port: "1337"; fork: true; log_level: 1; keepalive: true; tfo_ok: true; regex_patterns: [ "(?=.*\bCONNECT\b)(?=.*\b\.p\.mydomain\.it\b)" ]; },
  { name: "ssh"; service: "ssh"; host: "sish"; port: "2222"; fork: true; keepalive: true; tfo_ok: true; },
  { name: "tls"; host: "nginx"; port: "443"; fork: true; log_level: 1; keepalive: true; tfo_ok: true; },
  { name: "http"; host: "nginx"; port: "80"; fork: true; log_level: 1; keepalive: true; tfo_ok: true; }, 
  { name: "anyprot"; host: "proxy-server"; fork: true; port: "7835"; log_level: 1; keepalive: true; tfo_ok: true; }
);

Is there anything I can optimize?
Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions