On Fri, Nov 08, 2002 at 11:32:40AM +0000, Felix Ulrich-Oltean wrote:
Specifically, it says you can check whether your python has LFS like this:
$ cd /somewhere_with_at_least_2.2G_of_space $ dd if=/dev/zero of=big_file_test bs=1024 count=2200000 $ python
open("big_file_test")
If there's no "File too large" exception I think you're in the clear.
NOOO.... not a good test! I built a python with (I thought) largefile support, and it passed that "test", but it turns out that I had apparently not compiled everything needed. Enough to open, but not enough to do some other important things, like truncate... Result was that when my ZODB passed 2 GB, zope went boom. THen I found test_largefile.py and discovered that my python failed that test. Did "make clean", rebuilt python, and the test passed. Restarted zope and it was happy with huge ZODB. -- Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"