[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

mixminion running out of threads



Hi,
I've recently installed minontest on hermetix (http://www.hermetix.org/miniontest/). I have also enabled the
pinger code in mixminion (Mixminion version 0.0.8alpha3). I'm not sure it's related, but my server has crashed
a couple days ago because it couldn't start a new thread.

What I'm wondering is if it's normal and if I should just allow more process for that user since it now does
pinging and also has to process the additional miniontest requests or if it is abnormal and is a symptom of
something else (bug, attack, etc.).

Here's the relevent part of the log. It's in debug mode since I changed some settings recently. 

Dec 29 00:21:03.738 -0500 [DEBUG]   (sending packet MIX:pYQExQWm to MMTP server as OUT:is0wUJ-8)
Dec 29 00:21:03.739 -0500 [DEBUG]   (sending packet MIX:K6KaHNRN to MMTP server as OUT:oD+N7uWf)
Dec 29 00:21:03.740 -0500 [DEBUG]   (sending packet MIX:T0CfX3Bt to MMTP server as OUT:A08IlvIJ)
Dec 29 00:21:03.756 -0500 [DEBUG] Pinger adding link-padding to test 'wiredyne' at mix.wiredyne.com:48099
Dec 29 00:21:03.756 -0500 [DEBUG] Pinger adding link-padding to test 'fancyfree' at anon.afflictions.org:48099
Dec 29 00:21:03.756 -0500 [DEBUG] Pinger adding link-padding to test 'KisanganiToo' at kisangani.ruwenzori.net:48099
Dec 29 00:21:03.888 -0500 [FATAL] Exception while running server
Dec 29 00:21:04.208 -0500 [FATAL] Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/mixminion/server/ServerMain.py", line 1214, in runServer
    server.run()
    File "/usr/lib64/python2.4/site-packages/mixminion/server/ServerMain.py", line 905, in run
    self.processEvents()
    File "/usr/lib64/python2.4/site-packages/mixminion/ScheduleUtils.py", line 197, in processEvents
    e()
    File "/usr/lib64/python2.4/site-packages/mixminion/ScheduleUtils.py", line 63, in __call__
    self.when = self.func()
    File "/usr/lib64/python2.4/site-packages/mixminion/server/ServerMain.py", line 942, in doMix
    self.outgoingQueue.sendReadyMessages()
    File "/usr/lib64/python2.4/site-packages/mixminion/server/ServerQueue.py", line 699, in sendReadyMessages
    self._deliverMessages(messages)
    File "/usr/lib64/python2.4/site-packages/mixminion/server/ServerMain.py", line 406, in _deliverMessages
    self.server.sendPacketsByRouting(routing, packets)
    File "/usr/lib64/python2.4/site-packages/mixminion/server/MMTPServer.py", line 717, in sendPacketsByRouting
    self.dnsCache.lookup(routing.hostname, lookupDone)
    File "/usr/lib64/python2.4/site-packages/mixminion/server/DNSFarm.py", line 122, in lookup
    self._beginLookup(name)
    File "/usr/lib64/python2.4/site-packages/mixminion/server/DNSFarm.py", line 196, in _beginLookup
    thread.start()
    File "/mnt/gentoo/usr/lib64/python2.4/threading.py", line 416, in start
    _start_new_thread(self.__bootstrap, ())
  error: can't start new thread

Dec 29 00:21:04.208 -0500 [FATAL] Shutting down because of exception: thread.error
Dec 29 00:21:04.208 -0500 [INFO] Server shutting down
Dec 29 00:21:04.209 -0500 [INFO] Telling cleanup thread to shut down.
Dec 29 00:21:04.209 -0500 [INFO] Cleanup thread shutting down.
Dec 29 00:21:04.209 -0500 [INFO] Telling processing thread to shut down.
Dec 29 00:21:04.209 -0500 [INFO] Telling delivery thread to shut down.
Dec 29 00:21:04.209 -0500 [INFO] Delivery thread shutting down.
Dec 29 00:21:04.209 -0500 [DEBUG] Disabling module FRAGMENT
Dec 29 00:21:04.210 -0500 [DEBUG] Disabling module SMTP
Dec 29 00:21:04.210 -0500 [DEBUG] Disabling module DROP
Dec 29 00:21:04.210 -0500 [DEBUG] Disabling module MBOX
Dec 29 00:21:04.210 -0500 [INFO] Telling database thread to shut down.
Dec 29 00:21:04.550 -0500 [DEBUG] Processed packet IN:ws--wrXh; inserting into mix pool
Dec 29 00:21:04.550 -0500 [INFO] Shutting down processing thread
Dec 29 00:21:04.553 -0500 [INFO] Shutting down database thread
Dec 29 00:21:04.571 -0500 [DEBUG] Syncing statistics to disk
Dec 29 00:21:04.582 -0500 [INFO] Server is shut down

Attachment: pgpSSKgofsDAw.pgp
Description: PGP signature