docker-free5gc
docker-free5gc copied to clipboard
UPF turned off after few requests
Hi @abousselmi,
I am trying to send multiple request like (Register, PDU Session release,..) using 4 UEs.
But I after few minutes the upf is turning down and not able to handle the request any more.
Do you have any idea?
Error message: Host lookup failed: lookup upf.free5gc.org no such host
Regards, Nathalie Wehbe
Hi @nathalie21005 ,
If you say the upf is crashing it should be normal that URANSIM is not able to reach it. I'p not sure if docker will continue resolving the fqdn of a dead container, but anyway, do you have the error logs of the upf?
Regards,
Hi @abousselmi, I found the problem and the fix, and I suggest to modify it in this project too. The problem is the size of the buffer of the upf, so I modified the code by multiplying the buffer size by 32. under this upf\lib\utlt\src path the file is utlt_buff.c. The code I modified is the following: #define MAX_NUM_OF_BUFBLK_POOL 256 * 32
#define MAX_NUM_OF_BUFBLK_POOL_64 128 * 32 #define MAX_NUM_OF_BUFBLK_POOL_128 128 * 32 #define MAX_NUM_OF_BUFBLK_POOL_256 128 * 32 #define MAX_NUM_OF_BUFBLK_POOL_512 64 * 32 #define MAX_NUM_OF_BUFBLK_POOL_1024 64 * 32
Regards, Nathalie
Hi @nathalie21005,
Thanks for sharing this feedback, it will for sure help other users and devs. I don't think adding the change to the free5gc-compose project will be a good move.
But I suggest that you create a PR in the free5gc/upf project and check with @free5gc-org to make sure that this doesn't produce regression down the road.
Regards,