[Tilecache] Getting frequent 500 Internal Server Error

David R Robison drrobison at openroadsconsulting.com
Tue Sep 9 10:50:49 EDT 2008


My error.log is full of the following messages, however, it does not 
seem to be causing a problem.
[Tue Sep 09 10:21:42 2008] [warn] mod_python (pid=8100, 
interpreter='open-103f539208.localdomain'): Module imports an ancestor 
module. This may cause problems. Please check code. File doing import is 
"C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py".
[Tue Jul 01 14:52:16 2008] [notice] mod_python (pid=2960, 
interpreter='open-103f539208.localdomain'): Reimporting module 
'C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py'
[Tue Jul 01 14:52:16 2008] [notice] mod_python (pid=2960, 
interpreter='open-103f539208.localdomain'): Reimporting module 
'C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Layer.py'

However, I do also see a number of errors that look suspicious:
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] mod_python 
(pid=8100, interpreter='open-103f539208.localdomain', 
phase='PythonHandler', handler='TileCache/Service'): Application error
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] ServerName: 
'open-103f539208.localdomain'
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] 
DocumentRoot: 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs'
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] URI: 
'/tilecache/tilecache.py'
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] Location: None
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] Directory: 
'C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/tilecache-1.9/'
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] Filename: 
'C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/tilecache-1.9/tilecache.py'
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] PathInfo: ''
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] Traceback 
(most recent call last):
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx]   File 
"C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1537, 
in HandlerDispatch\n    default=default_handler, arg=req, 
silent=hlist.silent)
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx]   File 
"C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1229, 
in _process_target\n    result = _execute_target(config, req, object, arg)
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx]   File 
"C:\\Python25\\lib\\site-packages\\mod_python\\importer.py", line 1128, 
in _execute_target\n    result = object(arg)
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx]   File 
"C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py", 
line 553, in handler\n    return modPythonHandler(apacheReq, theService)
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx]   File 
"C:\\Program Files\\Apache Software 
Foundation\\Apache2.2\\htdocs\\tilecache-1.9\\TileCache\\Service.py", 
line 474, in modPythonHandler\n    
"".join(traceback.format_tb(sys.exc_traceback))))
[Sat Sep 06 21:58:23 2008] [error] [client xxx.xxx.xxx.xxx] 
AttributeError: 'module' object has no attribute 'exc_traceback'

And some errors that report "missing" files:
[Sat Sep 06 03:11:00 2008] [error] [client xxx.xxx.xxx.xxx] File does 
not exist: C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/azenv2.php
[Sun Sep 07 23:56:59 2008] [error] [client xxx.xxx.xxx.xxx] File does 
not exist: C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/myproxies
[Mon Sep 08 04:58:14 2008] [error] [client xxx.xxx.xxx.xxx] File does 
not exist: C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/myproxies
[Mon Sep 08 08:22:05 2008] [error] [client xxx.xxx.xxx.xxx] File does 
not exist: C:/Program Files/Apache Software 
Foundation/Apache2.2/htdocs/vhcs2

and finally, and interesting warning:
[Tue Sep 02 09:19:45 2008] [warn] (OS 64)The specified network name is 
no longer available.  : winnt_accept: Asynchronous AcceptEx failed.

Any thoughts? Thanks, David

Fredrik Lundh wrote:
>> We have multiple client hitting the tile server where all tiles have
>> been previously generated and cached. We are seeing frequent "500
>> Internal Server Errors" returned from the tile cache, however, when
>> requested a second time, the tile returns normally. Here is the
>> transaction as reported by LiveHTTPHeaders,
>>     
>
> have you checked the Apache log files?  more information about
> internal server errors are usually logged to the "error.log" file.
>
> </F>
>   

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

This e-mail communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.  If you are not the intended recipient, you should immediately stop reading this message and delete it from all computers that it resides on. Any unauthorized reading, distribution, copying or other use of this communication (or its attachments) is strictly prohibited.  If you have received this communication in error, please notify us immediately.  



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080909/03e89440/attachment.html


More information about the Tilecache mailing list