Fidonet Portal






From: Rob Swindell (1:103/705)
To: All
Date: Mon, 26.10.20 00:22
src/sbbs3/mailsrvr.c
https://gitlab.synchro.net/sbbs/sbbs/-/commit/8cea25da893d72b9c13bf1ca
Modified Files:
src/sbbs3/mailsrvr.c
Log Message:
Use a mutex to serial message saving among multiple clients/threadsThis
work-around shouldn't be necessary, but at least on my Linux/Samba setup, when
GitLab sends out notification emails to subscribers and creates 4+ simultaneous
SMTP connections and sends email messages, sometimes (often) it ends up with a
lock-timeout on the mail base. The file locking should handle the contention
fine, but somehow I end up in scenarios where savemsg(Wink takes 30 seconds to
complete (the configured SMB lock-timeout is 30 seconds, likely not a
coincidence) - and this causes other clients to timeout trying to lock the
base. Just use a sharead-mutex here instead as a work-around. The wait time is
indefinite, might want to consider using a timed-wait instead.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

ABOUT

This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;

CONTACT