2.1.11.rc2 crash

Bug #266466 reported by Measl
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

While I know this *looks* like an error caused by having no space...

[root@lists /usr/home/crippen/mailman/bin]# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/idad0s1a 14G 6.9G 5.6G 55% /
devfs 1.0K 1.0K 0B 100% /dev

[root@lists /var/log/mailman]# cat error
Aug 22 01:00:00 lists newsyslog[66511]: logfile turned over
Aug 22 09:54:05 2008 (72778) No such list "ccm-l<br><br>":
Aug 22 17:56:06 2008 (60050) Uncaught runner exception: [Errno 28] No
space left on device
Aug 22 17:56:06 2008 (60050) Traceback (most recent call last):
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 120, in
_oneloop
    self._onefile(msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 191, in
_onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/OutgoingRunner.py", line
130, in _dispose
    self.__retryq.enqueue(msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/Switchboard.py", line
138, in enqueue
    fp.write(msgsave)
IOError: [Errno 28] No space left on device

Aug 22 17:56:07 2008 (60050) Uncaught runner exception: [Errno 28] No
space left on device
Aug 22 17:56:07 2008 (60050) Traceback (most recent call last):
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 136, in
_oneloop
    new_filebase = self._shunt.enqueue(msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/Switchboard.py", line
138, in enqueue
    fp.write(msgsave)
IOError: [Errno 28] No space left on device

Aug 22 17:56:07 2008 (60050) SHUNTING FAILED, preserving original entry:
1219445382.26142+9c9610d3ebaeef247239107563d4dc48eb1ca558
Aug 22 18:01:07 2008 (60050) Uncaught runner exception: [Errno 6] Device
not configured
Aug 22 18:01:07 2008 (60050) Traceback (most recent call last):
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 120, in
_oneloop
    self._onefile(msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 191, in
_onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/OutgoingRunner.py", line
74, in _dispose
    self._func(mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Handlers/SMTPDirect.py", line
160, in process
    deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
  File "/usr/home/crippen/mailman/Mailman/Handlers/SMTPDirect.py", line
392, in bulkdeliver
    syslog('smtp-failure', 'Low level smtp error: %s, msgid: %s', e,
msgid)
  File "/usr/home/crippen/mailman/Mailman/Logging/Syslog.py", line 43,
in write
    self.write_ex(kind, msg, args, kws)
  File "/usr/home/crippen/mailman/Mailman/Logging/Syslog.py", line 62,
in write_ex
    logf.write(msg + '\n')
  File "/usr/home/crippen/mailman/Mailman/Logging/StampedLogger.py",
line 73, in write
    Logger.write(self, "%s %s" % (prefix, msg))
  File "/usr/home/crippen/mailman/Mailman/Logging/Logger.py", line 94,
in write
    _logexc(self, msg)
  File "/usr/home/crippen/mailman/Mailman/Logging/Utils.py", line 22, in
_logexc
    sys.__stderr__.write('Logging error: %s\n' % logger)
IOError: [Errno 6] Device not configured

Aug 22 18:01:08 2008 (60050) SHUNTING:
1219445385.9258931+e43b5a83d97d6d0d8ab87a585adda24feec4785f
Aug 22 18:57:19 2008 (60049) Uncaught runner exception: [Errno 28] No
space left on device
Aug 22 18:57:19 2008 (60049) Traceback (most recent call last):
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 120, in
_oneloop
    self._onefile(msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/Runner.py", line 191, in
_onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/VirginRunner.py", line
38, in _dispose
    return IncomingRunner._dispose(self, mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Queue/IncomingRunner.py", line
130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/usr/home/crippen/mailman/Mailman/Queue/IncomingRunner.py", line
153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/usr/home/crippen/mailman/Mailman/Handlers/ToOutgoing.py", line
55, in process
    outq.enqueue(msg, msgdata, listname=mlist.internal_name())
  File "/usr/home/crippen/mailman/Mailman/Queue/Switchboard.py", line
138, in enqueue
    fp.write(msgsave)

admin(81551):

[http://sourceforge.net/tracker/index.php?func=detail&aid=2068642&group_id=103&atid=100103]

Tags: pipermail
Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

df notwithstanding, how is this a Mailman issue? Is it possible you're
running into a user quota?

In most of the above tracebacks, Mailman has successfully opened a
tempfile to build a queue entry, and is denied by the OS with "[Errno 28]
No space left on device". There's not much Mailman can do about that.

In the case of the logging error, Mailman is attempting to write to the
smtp-failure log and hits an IOError exception (possibly error 28) and
tries to fall back to the original stderr which is probably the console
that started Mailman and is long since detached from the process and gets
the "[Errno 6] Device not configured" and logs that exception to the error
log.

The OS is not letting Mailman write to some files (but apparently the
error log is OK). Mailman can't do anything about that.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.