[Metakit] Corrupted metakit file

Jack Diederich jack at performancedrivers.com
Mon Sep 26 18:13:05 CEST 2005


The reason I was trying to upgrade to 2.4.9.4 was that I have a corrupt
file generated by 2.4.9.3 and I was hoping 2.4.9.4 could open it.

import metakit
stor = metakit.storage('6051280980.mk', 2) # RW + locking
print "about to getas"
vw = stor.getas('session[id:I,risitor_id:S,session_id:I,page_view_count:I,loadtime_average:F,loadtime_count:I,pagetime_average:F,pagetime_count:I,entry_page:S,exit_page:S,referer:S,banner_id:I,start_time:S,end_time:S,screen_dims:S,color_depth:S,cookies:S,sales:F,agent:S,flash:S,wmp:S,pdf:S,quicktime:S,realaudio:S,os:S,browser:S,browser_ver:S,host_ip:S,host_name:S,hit[id:I,risitor_id:S,rage_id:S,session_id:I,referer:S,real_referer:S,loadtime:F,pagetime:F,created:S,updated:S,browser_width:I,browser_height:I,exit_page:S]]')
print "never reached"

CPU jumps up to 100% and will go for hours if I let it.
I put a copy of the file here http://demo.performancedrivers.com/6051280980.mk
(214k).  I'll leave it up there for a couple days and then remove it.

The file was created via python in a mod_python apache environment.
I have millions of metakit files and some small percentage of them are
corrupt like this (I get a few CPU pegged processes a week).

Any help would be appreciated,

-Jack


More information about the Metakit mailing list