Skip to content

GRPC/Agent not releasing ports #1020

@eddiebrissow

Description

@eddiebrissow

How to replicate:

Create a DB with the following MeTTa file:
https://drive.google.com/file/d/1O2yzd5i_oIV-yDu4ut2ZJHZ1gnyMT2Vu/view

Start agents

make agents start

Run the inference test code:

./src/scripts/run.sh implication_query_evolution localhost:40012 localhost:40002 15000:15300 TOY feature_contains_bbb_ccc_ddd is_sorted 0.25 0.90 0.90 0.08 0.10 50 20 1

Check the opened files

sudo lsof -iTCP -sTCP:LISTEN -n -P | awk '{print $1}' | sort | uniq -c | sort -nr

Expected result:
implication client should release/free the ports decreasing the opened files count

Current result:
implication client doesn't close the opened files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions