Skip to content

gogf/gf/v2/os/gproc: some wrong about gf_pid_port_mapping #4535

@star-hou

Description

@star-hou

What do you want to ask?

i see code use /var/tmp/gf_pid_port_mapping to save file for local tcp port, bug if service not upgrade over one month, the "{pid}"file will be deleted by system(maybe), and then i get error like "could not find port for pid xxx". so what should i do to avoid this thing happen??

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