[Mailman-Users] Queue directory questions

Young, Darren Darren.Young at ChicagoGSB.edu
Sat Mar 12 00:00:01 CET 2005


> >- Why would files as .pck.tmp be "stuck" in the out 
> directory? Same for 
> >the in directory.
> 
> The enqueue() method (see Mailman/Queue/Switchboard.py) first 
> creates the queue file with a .tmp extension and then after 
> writing the message object and metadata renames it to remove 
> the extension.
> There's very little that can go wrong except for a failure in 
> the rename itself, so I'd guess that's what's happening.

Any thoughts on what could be wrong with these? That partition is at 8%,
there are no physical errors reported on the system (at least in syslog)
and I don't see any _obvious_ errors regarding those files in the
Mailman logs. Permission issue perhaps?

The files that are currently in the out queue directory are:

total 136
-rw-rw----    1 root     mailman      2537 Mar  8 19:21
1096625929.267138+30e68745d3df9b175dfbb65404187ddb547a54b4.pck.tmp
-rw-rw----    1 root     mailman      2545 Mar  8 19:21
1099307300.893445+40330f934f279aef5a832fd22aff2e2bb411549c.pck.tmp
-rw-rw----    1 root     mailman      2533 Mar  8 19:21
1099307464.4255259+63af44aa5f94ebb8e2a00a28ac7529b2cba33581.pck.tmp
-rw-rw----    1 root     mailman      2526 Mar  8 19:21
1099308059.071142+bab6a54d9f29fcee67738daa3f007d0c5e1dbb98.pck.tmp
-rw-rw----    1 root     mailman      2515 Mar  8 19:21
1099308640.1269419+3013cfa92d41d15310a34845bd7d8ef44308e25b.pck.tmp
-rw-rw----    1 root     mailman         0 Mar  8 19:21
1099309696.4074111+1dca3ab24da37dc6b6fc65810b63b716f8d45f03.pck.tmp
-rw-rw----    1 root     mailman      2526 Mar  8 19:21
1099309947.4948189+e0a13d405da4fe536b0ac734e1a5db050435e666.pck.tmp
-rw-rw----    1 root     mailman      2534 Mar  8 19:21
1099309977.105334+b7366057233e0cd4a11e4576244ab037675cb068.pck.tmp
-rw-rw----    1 root     mailman      2545 Mar  8 19:21
1101899527.397939+75dfae8bb0115ea490a27a5fe95872480f148b0c.pck.tmp
-rw-rw----    1 root     mailman      2533 Mar  8 19:21
1101899739.0381019+127ea95b710012f7bcc36ee3c24e279c6f776cd9.pck.tmp
-rw-rw----    1 root     mailman      2526 Mar  8 19:21
1101900358.729337+d370647c334b3b208e21574a06e6d394e0bb9926.pck.tmp
-rw-rw----    1 root     mailman      2515 Mar  8 19:21
1101900891.83463+82bb553cf478e35b94657c95df4b416a419db0ec.pck.tmp
-rw-rw----    1 root     mailman      2541 Mar  8 19:21
1101901981.7783821+799aec573554891426b618103db78e592d2d198b.pck.tmp
-rw-rw----    1 root     mailman      2534 Mar  8 19:21
1101902280.3718829+7c142ed6467b2863c2fbe71755f7deb30ac98983.pck.tmp
-rw-rw----    1 root     mailman      2544 Mar  8 19:21
1104577627.147306+d4b069ae8638d32c8999ef58f057e18310df713f.pck.tmp
-rw-rw----    1 root     mailman      2532 Mar  8 19:21
1104577890.9627421+76a1dabe86c1be253f681fbc3f4ba5049f6cbdcf.pck.tmp
-rw-rw----    1 root     mailman      2525 Mar  8 19:21
1104578515.296947+da9ff984c92ee0f922a4fafb079336edb3f55b06.pck.tmp
-rw-rw----    1 root     mailman      2514 Mar  8 19:21
1104579094.104274+edac0221e5139a765108523eca308d437a4d00e3.pck.tmp
-rw-rw----    1 root     mailman      2540 Mar  8 19:21
1104580125.003799+55a3a3bc7dd8a59ecad2e77f241c506653009844.pck.tmp
-rw-rw----    1 root     mailman      2525 Mar  8 19:21
1104580352.434473+ef6fe5277e27593227f0819c147e8ba76e464cf6.pck.tmp
-rw-rw----    1 root     mailman      2533 Mar  8 19:21
1104580372.3478241+247579955094debabf1d4551f107e55153698cbd.pck.tmp
-rw-rw----    1 root     mailman      2544 Mar  8 19:21
1107256013.381074+39547954ff43c79a99c6bde173ac6c81ef5704fa.pck.tmp
-rw-rw----    1 root     mailman      2544 Mar  8 19:21
1107256122.6485529+72a8fd5b34e85089850550298d8500a54feebca0.pck.tmp
-rw-rw----    1 root     mailman      2532 Mar  8 19:21
1107256289.64538+0eb31050a3c0b79f9d908d04d1a91dba0f9049e7.pck.tmp
-rw-rw----    1 root     mailman      2525 Mar  8 19:21
1107256839.8323891+694245322f35bbd3d22052c5786edcdfa2d5d175.pck.tmp
-rw-rw----    1 root     mailman      2514 Mar  8 19:21
1107257330.4040599+b349fd8d8e2104cdca5cdbe8697c6160db4f84ab.pck.tmp
-rw-rw----    1 root     mailman      2540 Mar  8 19:21
1107258469.6605899+b47f37b934e0ddd4f88eff9505c56eb2e4b31344.pck.tmp
-rw-rw----    1 root     mailman      2525 Mar  8 19:21
1107258694.6667271+cc244e743ce31f42e90633b17e7a6e79f17cdf67.pck.tmp
-rw-rw----    1 root     mailman      2589 Mar  8 19:21
1109675070.257293+360d4150e0501950a85edafeec3430918736ffac.pck.tmp
-rw-rw----    1 root     mailman      2589 Mar  8 19:21
1109675190.760036+f51dd4fc0fb4d22725c6c162b46556ccb5621894.pck.tmp
-rw-rw----    1 root     mailman      2577 Mar  8 19:21
1109675396.4116931+e49d0942dd7977cfa20a4cc8cc9d373e06ebb6de.pck.tmp
-rw-rw----    1 root     mailman      2570 Mar  8 19:21
1109677332.671283+0c2f9f0b43ab0807cf4da00d43da3523f3954aed.pck.tmp
-rw-rw----    1 root     mailman      2585 Mar  8 19:21
1109677692.4047019+f851f978c0298f617ca8802d877645afaaa9a47f.pck.tmp
-rw-rw----    1 root     mailman      2570 Mar  8 19:21
1109677901.141655+a3cab2e1562b3246cf4b71029f53941d6536c1da.pck.tmp
-rw-rw----    1 root     mailman      2578 Mar  8 19:21
1109677923.1224999+39b5b179051c8b99da74cf62e0fbf683929a9331.pck.tmp

A dumpdb of the first 5 show this error in them (I've seen messages
referring to this error in the archives):

[root at gsblms out]# for i in `ls | head -5`; do

> dumpdb -p $i
> done
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
  File "/home/mailman-2.1/bin/dumpdb", line 156, in ?
    msg = main()
  File "/home/mailman-2.1/bin/dumpdb", line 146, in main
    pp.pprint(obj)
  File "/usr/lib/python2.2/pprint.py", line 110, in pprint
    self.__stream.write(self.pformat(object) + "\n")
  File "/usr/lib/python2.2/pprint.py", line 114, in pformat
    self.__format(object, sio, 0, 0, {}, 0)
  File "/usr/lib/python2.2/pprint.py", line 136, in __format
    rep = self.__repr(object, context, level - 1)
  File "/usr/lib/python2.2/pprint.py", line 200, in __repr
    self.__depth, level)
  File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
    rep = `object`
  File "/home/mailman-2.1/Mailman/Message.py", line 50, in __repr__
    return self.__str__()
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 116, in
__str__
    return self.as_string(unixfrom=True)
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 130, in
as_string
    g.flatten(self, unixfrom=unixfrom)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 102, in
flatten
    self._write(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 130, in
_write
    self._dispatch(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 156, in
_dispatch
    meth(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 202, in
_handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
  File "/home/mailman-2.1/bin/dumpdb", line 156, in ?
    msg = main()
  File "/home/mailman-2.1/bin/dumpdb", line 146, in main
    pp.pprint(obj)
  File "/usr/lib/python2.2/pprint.py", line 110, in pprint
    self.__stream.write(self.pformat(object) + "\n")
  File "/usr/lib/python2.2/pprint.py", line 114, in pformat
    self.__format(object, sio, 0, 0, {}, 0)
  File "/usr/lib/python2.2/pprint.py", line 136, in __format
    rep = self.__repr(object, context, level - 1)
  File "/usr/lib/python2.2/pprint.py", line 200, in __repr
    self.__depth, level)
  File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
    rep = `object`
  File "/home/mailman-2.1/Mailman/Message.py", line 50, in __repr__
    return self.__str__()
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 116, in
__str__
    return self.as_string(unixfrom=True)
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 130, in
as_string
    g.flatten(self, unixfrom=unixfrom)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 102, in
flatten
    self._write(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 130, in
_write
    self._dispatch(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 156, in
_dispatch
    meth(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 202, in
_handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
  File "/home/mailman-2.1/bin/dumpdb", line 156, in ?
    msg = main()
  File "/home/mailman-2.1/bin/dumpdb", line 146, in main
    pp.pprint(obj)
  File "/usr/lib/python2.2/pprint.py", line 110, in pprint
    self.__stream.write(self.pformat(object) + "\n")
  File "/usr/lib/python2.2/pprint.py", line 114, in pformat
    self.__format(object, sio, 0, 0, {}, 0)
  File "/usr/lib/python2.2/pprint.py", line 136, in __format
    rep = self.__repr(object, context, level - 1)
  File "/usr/lib/python2.2/pprint.py", line 200, in __repr
    self.__depth, level)
  File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
    rep = `object`
  File "/home/mailman-2.1/Mailman/Message.py", line 50, in __repr__
    return self.__str__()
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 116, in
__str__
    return self.as_string(unixfrom=True)
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 130, in
as_string
    g.flatten(self, unixfrom=unixfrom)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 102, in
flatten
    self._write(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 130, in
_write
    self._dispatch(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 156, in
_dispatch
    meth(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 202, in
_handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
  File "/home/mailman-2.1/bin/dumpdb", line 156, in ?
    msg = main()
  File "/home/mailman-2.1/bin/dumpdb", line 146, in main
    pp.pprint(obj)
  File "/usr/lib/python2.2/pprint.py", line 110, in pprint
    self.__stream.write(self.pformat(object) + "\n")
  File "/usr/lib/python2.2/pprint.py", line 114, in pformat
    self.__format(object, sio, 0, 0, {}, 0)
  File "/usr/lib/python2.2/pprint.py", line 136, in __format
    rep = self.__repr(object, context, level - 1)
  File "/usr/lib/python2.2/pprint.py", line 200, in __repr
    self.__depth, level)
  File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
    rep = `object`
  File "/home/mailman-2.1/Mailman/Message.py", line 50, in __repr__
    return self.__str__()
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 116, in
__str__
    return self.as_string(unixfrom=True)
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 130, in
as_string
    g.flatten(self, unixfrom=unixfrom)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 102, in
flatten
    self._write(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 130, in
_write
    self._dispatch(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 156, in
_dispatch
    meth(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 202, in
_handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)
[----- start pickle file -----]
<----- start object 1 ----->
Traceback (most recent call last):
  File "/home/mailman-2.1/bin/dumpdb", line 156, in ?
    msg = main()
  File "/home/mailman-2.1/bin/dumpdb", line 146, in main
    pp.pprint(obj)
  File "/usr/lib/python2.2/pprint.py", line 110, in pprint
    self.__stream.write(self.pformat(object) + "\n")
  File "/usr/lib/python2.2/pprint.py", line 114, in pformat
    self.__format(object, sio, 0, 0, {}, 0)
  File "/usr/lib/python2.2/pprint.py", line 136, in __format
    rep = self.__repr(object, context, level - 1)
  File "/usr/lib/python2.2/pprint.py", line 200, in __repr
    self.__depth, level)
  File "/usr/lib/python2.2/pprint.py", line 287, in _safe_repr
    rep = `object`
  File "/home/mailman-2.1/Mailman/Message.py", line 50, in __repr__
    return self.__str__()
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 116, in
__str__
    return self.as_string(unixfrom=True)
  File "/home/mailman-2.1/pythonlib/email/Message.py", line 130, in
as_string
    g.flatten(self, unixfrom=unixfrom)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 102, in
flatten
    self._write(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 130, in
_write
    self._dispatch(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 156, in
_dispatch
    meth(msg)
  File "/home/mailman-2.1/pythonlib/email/Generator.py", line 202, in
_handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in range(128)




More information about the Mailman-Users mailing list