[ka-Map-users] Error with precache
Bob.Bistrais at maine.gov
Mon Dec 7 15:09:27 EST 2009
Thanks Steve. I should've mentioned, though, I'm on a Windows server
and don't have the touch command available.
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Monday, December 07, 2009 11:39 AM
To: Bistrais, Bob
Cc: ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] Error with precache
Bistrais, Bob wrote:
> I am trying to build precached tiles for several ka-map applications.
> For the most part it has gone well, but for some scales I am getting
> error messages. The precache.php program appears to run well, then I
> get the following:
> 199080 errors encountered
> Report [a]ll, [l]ast, [n]one?
> So if I report the last error, the message is:
> Failed to open stream http://localhost/.../tile.php
> There is plenty of disk storage space available and I don't think I'm
> overstressing the server. What does this error mean, and how do I get
> around it?
1) Check that you have not run out of inodes on the disk.
touch junk # if this fails you have run out of inodes
while df might report that there is still space on the disk, if you do
not have anymore inodes then you can not allocate that space for files
and your disk is full regardless of space.
2) A few years ago when I was using precache.php, there were problems
with it leaking file some kind of resource that was file related, may be
file handles. Anyway I could not figure it out and change my strategy to
tile a few rows, then exit and then ran it for each set of rows needed
until it was done. This allow the precache.php to run then exit before
it had problems and allow me to continue processing without having to
restart from the beginning. I think I probably had to change the script
to make it do that.
Hope this helps,
More information about the ka-Map-users