← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 506385] Re: error: can't start new thread

 

duplicate of another bug

** Changed in: openobject-server
       Status: New => Invalid

-- 
error: can't start new thread 
https://bugs.launchpad.net/bugs/506385
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
I check if the server is running

#!/usr/bin/python
import xmlrpclib
import subprocess

username = 'user' #the user
pwd = 'pwd'      #the password of the user
dbname = 'db'    #the database

# Get the uid
try:
    sock_common = xmlrpclib.ServerProxy ('https://192.168.150.1:8069/xmlrpc/common')
    uid = sock_common.login(dbname, username, pwd)
except:
    print 'No connection'

from time to time I get no connection with this error message

Traceback (most recent call last):
  File "/usr/lib64/python2.5/SocketServer.py", line 222, in handle_request
    self.process_request(request, client_address)
  File "/usr/lib64/python2.5/SocketServer.py", line 477, in process_request
    t.start()
  File "/usr/lib64/python2.5/threading.py", line 440, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread

any hint ?