[Mailman-Users] Hit a bug but no error in logs
Brian Cohen
brian at intercarve.net
Fri Jul 14 17:55:16 CEST 2006
Mark Sapiro wrote:
> Brian Cohen wrote:
>
>> Ok, cool. Here's the traceback:
>>
>> Traceback:
>
>
> This should be the traceback of the original error, but the attempt to
> produce it produced the MemoryError exception which produced the
> second traceback below. This is why the original traceback is not in
> the 'error' log.
>
>
>> Traceback (most recent call last):
>> File "/var/lib/mailman/scripts/driver", line 250, in ?
>> run_main()
>> File "/var/lib/mailman/scripts/driver", line 120, in run_main
>> print_traceback(logger)
>> File "/var/lib/mailman/scripts/driver", line 147, in print_traceback
>> traceback.print_exc(file=logfp)
>> File "/usr/lib/python2.3/traceback.py", line 210, in print_exc
>> print_exception(etype, value, tb, limit, file)
>> File "/usr/lib/python2.3/traceback.py", line 123, in print_exception
>> print_tb(tb, limit, file)
>> File "/usr/lib/python2.3/traceback.py", line 68, in print_tb
>> line = linecache.getline(filename, lineno)
>> File "/usr/lib/python2.3/linecache.py", line 14, in getline
>> lines = getlines(filename)
>> File "/usr/lib/python2.3/linecache.py", line 40, in getlines
>> return updatecache(filename)
>> File "/usr/lib/python2.3/linecache.py", line 93, in updatecache
>> lines = fp.readlines()
>> MemoryError
>
>
> So what we know is we encounter a MemoryError in trying to print the
> original traceback, so my guess is that was probably also due to a
> MemoryError.
>
> Does the list that fails have a large number of members compared to the
> other lists?
Just two members on this list.
>
> MemoryError means the underlying Python interpreter got a denial on an
> attempt to allocate more memory (C's malloc() function). Is your web
> server enforcing some memory limit on CGI processes?
>
Not that I know of...
Thanks!
-Brian
More information about the Mailman-Users
mailing list