getaddrinfo "Device or resource busy" error spam

See original GitHub issue

Description

Under routine operation, logs contain large amounts of the following error, which is apparently harmless:

twisted: [] 
Traceback (most recent call last):
  File "/nix/store/h8m6qvxi6z6jsa0836gm1wfz8z6mh3mp-python3.7-Twisted-18.9.0/lib/python3.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
    result = inContext.theWork()
  File "/nix/store/h8m6qvxi6z6jsa0836gm1wfz8z6mh3mp-python3.7-Twisted-18.9.0/lib/python3.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/nix/store/h8m6qvxi6z6jsa0836gm1wfz8z6mh3mp-python3.7-Twisted-18.9.0/lib/python3.7/site-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/nix/store/h8m6qvxi6z6jsa0836gm1wfz8z6mh3mp-python3.7-Twisted-18.9.0/lib/python3.7/site-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/nix/store/h8m6qvxi6z6jsa0836gm1wfz8z6mh3mp-python3.7-Twisted-18.9.0/lib/python3.7/site-packages/twisted/internet/_resolver.py", line 124, in get
    socketType)
  File "/nix/store/96p42644i76jqgdkxjgyl3f0c8n8k16j-python3-3.7.4/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
OSError: [Errno 16] Device or resource busy

Version information

  • Version: Synapse 1.3.1
  • Install method: NixOS package
  • Platform: NixOS on a small dedicated server

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
fadenbcommented, Apr 26, 2020

I am encountering the same issues from time to time on my system. I disabled nscd without luck, still getting those errors.

Would appreciate any pointer on what I could check to find the cause 😃

0reactions
effolkroniumcommented, Nov 10, 2020

Discovered some trash after space after ip in string) that was a cause. Previous Linux distorts uses only first substring before space and do not validate entire string

Read more comments on GitHub >

github_iconTop Results From Across the Web

Device or resource busy - getaddrinfo - Unix Stack Exchange
I'm on a CentOS 7 VM running PG, MariaDB, sidekiq and apache httpd. Sometimes my logs are spammed with errors such as: unable...
Read more >
getaddrinfo error Device or resource busy - Stack Overflow
I am trying to run FreeCoap (https://github.com/keith-cullen/FreeCoAP) to be able to communicate with COAP and DTLS on a Intel Galileo gen.
Read more >
What is error "IOError: [Errno 16] Device or resource busy"?
Hello all, I am trying to use SMBus supported by Python to initialize an I2C devices on my board but I get an...
Read more >
System error resolving - Device or resource busy, cannot apt ...
It finishes with a message "W: Some index files failed to download." The following I tried: Added "nameserver 8.8.8.8" and "8.8.4.4" to the ......
Read more >
Cove: Error, device or resource busy - N-able
Solution · Rebuild a Backup Registers. Go to Services.msc; Stop the Backup Service Controller · Perform a Chkdsk. Open a command prompt as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found