Subject: bug#70110: 'Too many open files' crash in web server

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 31 Mar 2024 13:55:38 -0400

Hi,

Mumi has crashed on the berlin machine with the following in
/var/log/mumi.log:

--8<---------------cut here---------------start------------->8---
2024-03-31 12:38:23 GET In mumi/web/server.scm:
2024-03-31 12:38:23     33:24  2 (handler #<<request> method: GET uri: #<<uri> scheme: …> …)
2024-03-31 12:38:23 In mumi/web/controller.scm:
2024-03-31 12:38:23    228:31  1 (_ _)
2024-03-31 12:38:23 In unknown file:
2024-03-31 12:38:23            0 (make-stack #t)
2024-03-31 12:38:23 In mumi/web/server.scm:
2024-03-31 12:38:23     33:24  2 (handler #<<request> method: GET uri: #<<uri> scheme: …> …)
2024-03-31 12:38:23 In mumi/web/controller.scm:
2024-03-31 12:38:23    228:31  1 (_ _)
2024-03-31 12:38:23 In unknown file:
2024-03-31 12:38:23            0 (make-stack #t)
2024-03-31 12:38:23 Uncaught exception in task:
2024-03-31 12:38:23 In fibers.scm:
2024-03-31 12:38:23     172:8  4 (_)
2024-03-31 12:38:23 In fibers/web/server.scm:
2024-03-31 12:38:23    224:12  3 (socket-loop #<input-output: socket 10> #<procedure 7fa…>)
2024-03-31 12:38:23 In ice-9/suspendable-ports.scm:
2024-03-31 12:38:23    733:12  2 (_ #<input-output: socket 10> _)
2024-03-31 12:38:23 In unknown file:
2024-03-31 12:38:23            1 (accept #<input-output: socket 10> 526336)
2024-03-31 12:38:23 In ice-9/boot-9.scm:
2024-03-31 12:38:23   1685:16  0 (raise-exception _ #:continuable? _)
2024-03-31 12:38:23 ice-9/boot-9.scm:1685:16: In procedure raise-exception:
2024-03-31 12:38:23 In procedure accept: Too many open files
--8<---------------cut here---------------end--------------->8---

I had to restart it.

-- 
Thanks,
Maxim