MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: expireall -r and session.db size



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

The way I think minivend works with expire/all is to purge the userdata in
session.db according to the lifespan you set in the minivend.cfg.  If you
have the expire set to be a month and your store has been running for 3
weeks the session.db will not get smaller.

At 11:18 AM 3/26/99 , Larry Leszczynski wrote:
>******    message to minivend-users from Larry Leszczynski
<larryl@furph.com>     ******
>
>Hi Russ -
>
>> My session.db is about 40 meg right now.  expireall -r does nothing. 
>> What will happen if I just delete the file? 
>
>I think the "-r" option only works with GDBM files (session.gdbm).  For DB
>files (session.db), expireall will delete old user session entries from
>the database, but the size of the file itself on disk will not change. 
>For GDBM files, using "-r" also compacts the size of the file on disk. 
>
>If you delete the session.db file, a new one will be created but you will
>lose any user sessions that had not yet been expired.
>
>You should also look at the "compact" utility, which creates a new empty
>db file and copies the session entries into it.  It's in the MiniVend bin
>directory. 
>
>
>Larry Leszczynski
>larryl@furph.com
>--
>  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
>info@furph.com	   http://www.furph.com		734-513-7759 (FAX)
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 

Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: