Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

UPF turned off after few requests #3

Open
nathalie21005 opened this issue May 10, 2022 · 3 comments
Open

UPF turned off after few requests #3

nathalie21005 opened this issue May 10, 2022 · 3 comments

Comments

@nathalie21005
Copy link

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?
Capture1
Error message: Host lookup failed: lookup upf.free5gc.org no such host

Regards,
Nathalie Wehbe

@abousselmi
Copy link
Owner

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,

@nathalie21005
Copy link
Author

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

@abousselmi
Copy link
Owner

abousselmi commented May 22, 2022

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,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants