0

I'm writing a GTK4 application, and it consumes very high CPU load. Digging in a bit, it turned out that I have enormously high amount of this system call (strace snippet):

recvmsg(14, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily unavailable)

Digging even deeper, fd=14 turned out to be a DBUS descriptor.

I've tried to disconnect from dBus, but something inside GTK4 connects it implicitly.

My CPU load is between 7-12% when I don't do anything with my app, and it gets higher over time.

I'm using Debian stable, so GTK4 is 4.8.3.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.