[Zope] Plone-extension freeze plone site

Andreas Jung lists at zopyx.com
Mon Feb 9 07:10:35 EST 2009


You are running of worker threads. Solution:

- use ZEO
- use a dedicated ZEO client for long-running requests
- increase the number of worker threads in your zope.conf

-aj

On Mon, Feb 9, 2009 at 13:07, TrashMan <trashman at httconsulting.com> wrote:
> 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
>
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


More information about the Zope mailing list