[Zope] Plone-extension freeze plone site

TrashMan trashman at httconsulting.com
Mon Feb 9 07:07:34 EST 2009


Hi,

i've a big issue.

Zope Version  (Zope 2.8.8-final, python 2.4.5, linux2)
Python Version  2.4.5 (#2, Jul 31 2008, 19:04:55) [GCC 4.2.3 (Ubuntu  
4.2.3-2ubuntu7)]
Plone 2.1.3


My plone site use an Extension to update a remote system. With one  
client i have no problem. When there are 4/5 clients connected to  
update simoultanely, the plone freeze.
ALL the system works very very slowly: all plone site in the same  
istance and the other plone sites in other istances too.


There is some timeout to set up,or any other config to set? In etc/ 
zope.conf i haven't found anything about it.


My  extension is:


def makeInsert(self, pagina, stringa, host, porta, accesso,content):

    import socket

    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    hostname=host
    port = int(porta)

    s.connect((hostname, port))

    data=s.send(str(content))

    data = s.recv(1024)

    data = s.close()
    return repr(data)


Thanks in advance

Massimiliano





More information about the Zope mailing list