I'd suggest using ZODB instead of directly pickling - then every cgi can open the database with its own connection. ZODB will manage concurrency issues. -- Regards, Diez B. Roggisch