Akopia Akopia Services

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

Re: [mv] VERY large session.gdbm



Stan -

I have seen this message before.  You can delete session.gdbm, and the 
server will start a new file the next time it needs to write some data, but 
if you have any active users at the moment, their sessions will be 
lost.  Perhaps you could put the delete command in a crontab and do it 
early in the morning:

05 3 * * * rm ~/catalogs/yourcat/session.gdbm

(this assumes you run the crontab as the same user as your catalog).

Try putting some stuff in a cart when logged on your site, then save and 
retrieve some carts.  If you get a error 500 after doing this a few times, 
let me know, I have a patch, and it may also solve your expire problem.

- Ed L.


At 10:55 AM 12/5/00 -0600, you wrote:
>Running MV 3.14
>
>Although I run expireall -r as minivend from crontab each day, the
>session.gdbm for one of my catalogs has become huge!
>
>I've ran "expire -r -c catalogname" as minivend from the command line and
>after a long wait, receive a lengthly error message which I'll paste below.
>
>Can I simply delete the session.gdbm (and then replace it by "touch")
>without causing any problems or does anyone know how I can force it to
>expire?
>
>Thanks!
>
> > expire -r -c catalogname
>====================================================
>Number found where operator expected at (eval 32395) line 1, near "}2"
>         (Missing operator before 2?)
>Bareword found where operator expected at (eval 32395) line 1, near "2a"
>         (Missing operator before a?)
>Bareword "a" not allowed while "strict subs" in use at (eval 32395) line 1.
>Could not eval '{'values' => {'mv_change_frame' => "",'mv_shipmode' =>
>"default"
>,},'items' => "",'browser' => "Mozilla/4.73 [en]C-DIAL  (Win98;
>I)",'version' =>
>  "1",'secure' => "1",'scratch' => {'mv_no_cache' => "1",},'arg' =>
>"",'referer'
>=>
>"http://search.netscape.com/search.tmpl?cp=srpnext10&search=gold+silver+bull
>i
>on&jstart=31",'carts' => {'main' => [],},'frames' => "0",'user' => "",'time'
>=>
>"965454102",}2a' from session dbm: syntax error at (eval 32395) line 1, near
>"}2"
>====================================================
>
>
>_______________________________________________
>Minivend-users mailing list
>Minivend-users@minivend.com
>http://lists.akopia.com/mailman/listinfo/minivend-users

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          edl@newmediaems.com
Placerville, CA  95667         http://www.newmediaems.com
(530) 622-9421                 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://lists.akopia.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: