There are no changes related to BerkeleyDB in build 19019.

It looks like any BDB DB or ENV (in tmpDB) is destroyed. 
shutdown assp
clean the tmpDB folder
start assp

On nix and MAC this is mostly caused by a bad shutdown script.
EVERY rc shutdown script has to wait untill the assp is finished - which 
may take up to 45 seconds (MaxFinConWaitTime).
Examples for rc scripts are in the rc folder.

All threads are sharing the BDB. Large parts of the BDB DB but at least 
the BDB-ENV are shared in memory. At shutdown the last terminating thread 
is waiting until all other threads are finished - then it closes all BDB 
DB's and ENV (writes them to disk) and terminates itself.
If the rc script does not wait at shutdown, the BDB files are left at an 
opened state - which may or may not prevent them from being opened again 
(at next start).

Thomas





Von:    "James Brown via Assp-test" <assp-test@lists.sourceforge.net>
An:     "ASSP development mailing list" <assp-test@lists.sourceforge.net>
Kopie:  "James Brown" <jlbr...@bordo.com.au>
Datum:  22.01.2019 02:31
Betreff:        [Assp-test] ASSP failing to startup with BerkeleyDB



A recent update seems to have broken BerkeleyDB support for me.

If I have useBerkeleyDB:=1 startup will fail.

I have to edit assp.cfg and change to =0 for it to start.

ASSP version 2.6.4  *SPAM-Evaporator*  build 19019

Log just finishes with:

Jan-22-19 12:25:50 [init] All Threads are started
Jan-22-19 12:25:50 [init] Info: CPU priority changed for Worker_10000 from 
31 to 2
Jan-22-19 12:25:50 [init] Info: CPU priority changed for Worker_10001 from 
31 to 2
Jan-22-19 12:25:50 [init] Try using BerkeleyDB database <> for selected 
tables

And it just stays there with Perl using only 0.2% of CPU.

Any suggestions?

Thanks,

James.

_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test






DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to