Mod_python error: "PythonHandler emain"

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 398, in HandlerDispatch
    result = obj(req)

  File "/usr/home/night/public_html.memory/w/emain.py", line 60, in handler
    getact=ecore.show(req,form)

  File "/usr/home/night/public_html.memory/w/eutils.py", line 17, in __init__
    self.start()

  File "/usr/home/night/public_html.memory/w/ecore.py", line 22, in start
    self.db=sqldb.sqldb()

  File "/usr/home/night/public_html.memory/w/sqldb.py", line 22, in __init__
    dbconn=self._connect()

  File "/usr/home/night/public_html.memory/w/sqldb.py", line 28, in _connect
    dbcn=MySQLdb.connect(host='localhost',unix_socket='/tmp/mysql.sock',user='memoryupgrade',db='memoryupgrade',passwd='dBHjCKpnPpT5mHqq',use_unicode=True,charset='utf8')

  File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)

  File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
    super(Connection, self).__init__(*args, **kwargs2)

OperationalError: (1135, "Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug")