You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pounding on my local sbot with the following command
sbot links --dest "<id here>" --rel vote --values
I'm using a different id on each request. Somewhere after 10,000 requests (don't have enough scrollback in my terminal to tell you exactly where) I get this with every request. To me this suggests that something is not being cleaned up after each request.
{ Error: EMFILE: too many open files, open '/Users/masukomi/.ssb/gossip.json~'
errno: -24,
code: 'EMFILE',
syscall: 'open',
path: '/Users/masukomi/.ssb/gossip.json~' }
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! I think gossip.json~ is being created by atomic-file when modifications are done, but I'm unsure why that's happening on every request. Hmm.
update. reran with better logging and checking of exit codes. This happened again a little after 13700 requests. I have 74 copies of that error in the console output BEFORE it returned a non-zero exit code to the requesting process.
So, I think there are actually 2 errors.
leaving stuff open
failing to return a non-zero exit code on some requests that produce this result.
I'm pounding on my local sbot with the following command
I'm using a different id on each request. Somewhere after 10,000 requests (don't have enough scrollback in my terminal to tell you exactly where) I get this with every request. To me this suggests that something is not being cleaned up after each request.
The text was updated successfully, but these errors were encountered: