Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow restarting sfacctd daemon #785

Open
udostanic opened this issue May 14, 2024 · 1 comment
Open

Slow restarting sfacctd daemon #785

udostanic opened this issue May 14, 2024 · 1 comment

Comments

@udostanic
Copy link

Hello Paolo,
I'm wondering if there is a way to start sfacctd daemon faster. Currently, it takes about 40 minutes to start writing to database (I'm using PostgreSQL), also I need to call sudo sfacctd -f sfacctd.conf twice. I have tested and if I call it once, daemon won't write data to database. Am I doing something wrong or this is how pmacct (sfacctd) works?

Thanks,
Uros

@paololucente
Copy link
Member

Hi @udostanic ,

Definitely there is something wrong going on, unless of course the daemon is instructed to write after 40 minutes. Can you paste here (or by unicast email) an output of sfacctd -V along with your config and any maps that may be called by the sfacctd config.

Paolo

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

No branches or pull requests

2 participants