(24)Too many open files: AH02611: create: apr_shm_create on MacOS

If Apache reports this mod_slotmem_shm.c error at startup:

[Mon Jan 09 13:58:37.529803 2023] [slotmem_shm:error] [pid 36749:tid 140704338810048] (24)Too many open files: AH02611: create: apr_shm_create(/Users/covener/SRC/httpd-framework-2.4.x/t/logs/slotmem-shm-mod_heartmonitor_0.shm) failed

The short-term fix is:

sudo sysctl -w kern.sysv.shmseg=64

Comments

Popular posts from this blog

systemd unit for WebSphere Liberty (wlp)

Showing HTTP requests with no HTTP responses in wireshark

openssl and atexit