Skip to content

Containerd MaxContainerLogLineSize misconfig #14

Closed
@lingdie

Description

@lingdie
Contributor

max_container_log_line_size = -1

Should set to a positive int.

Activity

lingdie

lingdie commented on Jun 11, 2024

@lingdie
ContributorAuthor
lingdie

lingdie commented on Jun 11, 2024

@lingdie
ContributorAuthor

you can use codes below for test.

package main

import (
	"bytes"
	"flag"
	"fmt"
	"time"
)

var outputBytes int

func main() {
	flag.IntVar(&outputBytes, "n", 1000, "number of bytes to output")
	flag.Parse()
	output := bytes.Buffer{}
	for i := 0; i < outputBytes; i++ {
		output.Write([]byte{'a'})
	}
	for {
		fmt.Printf("%v", output)
		time.Sleep(1 * time.Second)
	}
}
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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @muicoder@lingdie

        Issue actions

          Containerd `MaxContainerLogLineSize` misconfig · Issue #14 · labring-actions/runtime