yuya373 / emacs-slack

slack client for emacs
1.11k stars 117 forks source link

Creating pipe: Too many open files #583

Open FrostyX opened 1 year ago

FrostyX commented 1 year ago

Describe the bug My slack-start command fails with:

[2023-06-20 15:43:22] [info] [redacted instance name] Slack Websocket Is Ready!
[2023-06-20 15:43:22] [info] [redacted instance name] Slack Command List Updated
error in process sentinel: make-process--with-editor-process-filter: Creating pipe: Too many open files
error in process sentinel: Creating pipe: Too many open files
Download Failed. STATUS: exit, EVENT: exited abnormally with code 125
, URL: https://emoji.slack-edge.com/T030G10V24F/schwa/2499b21b1d512990.png, NAME: /tmp/b80773febba540a063511f6ac2b16320.png, OUTPUT: 

To Reproduce

  1. M-x slack-start
  2. Wait ~20 seconds
  3. Error

Backtrace

See above

Expected behavior

I want the command to finish successfully and connect me to Slack

Screenshots

Not applicable

Environment:

Additional context

I want to connect to a company instance, so I cannot share the hostname

gravieure commented 11 months ago

You need to use ulimit to increase the number of files you can open. This isn't an emacs-slack bug.

sleep-walker commented 4 months ago

Well, I can hit this issue regardless how high the limit I set. Maybe it could be done in a way where the amount of opened files at the same time is not that huge?