Changes

Jump to navigation Jump to search
m
link
Line 28: Line 28:  
* /var/www/stats-private/stats-lmdb - location of the LMDB database.  This should be compiled in.  
 
* /var/www/stats-private/stats-lmdb - location of the LMDB database.  This should be compiled in.  
 
For speed we can run the stats db on a tempfs in memory.  I've disabled this for now.  but it could be enabled in /etc/fstab.
 
For speed we can run the stats db on a tempfs in memory.  I've disabled this for now.  but it could be enabled in /etc/fstab.
 +
 +
'''Note: The db hangs from time to time and one needs to run a cron job of /usr/local/src/liblmdb/mdb_stat -rr /var/www/stats-private/stats-lmdb to clear the stale readers. see: http://www.lmdb.tech/doc/index.html'''
10

edits

Navigation menu