"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Timo Myyrä <timo.myyra@bittivirhe.fi>
Subject:
Unable to run gotwebd with CF malloc flags
To:
gameoftrees@openbsd.org
Date:
Sat, 19 Oct 2024 09:07:44 +0300

Download raw body.

Thread
Hi,

I'm trying to setup gotwebd hosting on 7.6 release.
The gotwebd crashes on startup when I have the malloc options 'CF'
enabled.

mars# sysctl vm.malloc_conf=CF
vm.malloc_conf:  -> CF
mars# gotwebd -d -vvv          
gotwebd: gotwebd startup
gotwebd: sockets_privinit: initializing unix socket /var/www/run/gotweb.sock
gotwebd: config_setfd: Allocating 77 file descriptors
sockets: sockets_rlimit: max open files 1024
sockets: sockets_rlimit: max open files 1024
sockets: config_getserver: server=Gotweb
sockets: config_getsock: id=1 af_type=unix socket_path=/var/www/run/gotweb.sock
sockets: config_getfd: assigning priv_fd 7
sockets: config_getfd: assigning priv_fd 8
sockets: config_getserver: server=Gotweb
sockets: config_getsock: id=1 af_type=unix socket_path=/var/www/run/gotweb.sock
sockets: config_getfd: assigning priv_fd 8
sockets: config_getfd: assigning priv_fd 9
sockets: config_getfd: assigning priv_fd 10
sockets: config_getfd: assigning priv_fd 11
sockets: config_getfd: assigning priv_fd 12
sockets: sockets_rlimit: max open files 1024
sockets: config_getserver: server=Gotweb
sockets: config_getsock: id=1 af_type=unix socket_path=/var/www/run/gotweb.sock
sockets: config_getfd: assigning priv_fd 9
sockets: config_getfd: assigning priv_fd 10
sockets: config_getfd: assigning priv_fd 11
sockets: config_getfd: assigning priv_fd 12
sockets: config_getfd: assigning priv_fd 13
gotwebd: imsg_flush: Broken pipe
mars#

If I remove the malloc flags gotwebd starts as expected.

Timo