src/sbbs3 ftpsrvr.c 1.425 1.426 js_global.c 1.362 1.363 js_rtpool.c 1.29 1.30 mailsrvr.c 1.597 1.598 main.cpp 1.638 1.639 sbbscon.c 1.259 1.260 services.c 1.293 1.294 websrvr.c 1.637 1.638
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/sbbs/src/sbbs3
Modified Files:
ftpsrvr.c js_global.c js_rtpool.c mailsrvr.c main.cpp
sbbscon.c services.c websrvr.c
Log Message:
Fixed high-CPU utilization after server recycling issue: if the sem_chk_freq value is missing or set to 0 in the sbbs.ini file, the sanity checking this value (setting it to 2 seconds) will not occur after a server recycle and the sbbs.ini is re-parsed. So if for any reason, the sem_chk_freq value becomes
0, these server threads won't hog the CPU because they all YIELD at the
top of thier main loops.
Also, changed all the thread names (e.g. adding "sbbs/" prefix), so they're more sensible in the Linux 'top' output.
Also, started adding 'vi' modelines to auto-set tabstops when using vi/vim.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■
telnet://vert.synchro.net