[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] Zope zserver-threads minimum is 5?
From:       Fred Drake <fred () fdrake ! net>
Date:       2014-11-10 14:03:49
Message-ID: CAFT4OTFswz7iFOPNZtHe2v8G4=21mR9HO0Gx=tw0mEipL+OvaA () mail ! gmail ! com
[Download RAW message or body]

On Mon, Nov 10, 2014 at 7:28 AM, Pablo Caro Revuelta
<pcarorevuelta@gmail.com> wrote:
> My zope clients (Zope2-2.12.11) allways start with 5 theads although
> zserver-threads is 2 in my zope.conf file.
>
> I am using "ps -eLf" for theads counter.
>
> If for zserver-threads I use the values 1, 2 or 3 I get 5 theads.
> A higher value give me 2 threads more. I mean, for 4 I get 6, for 15, 17
> threads, etc.
>
> It's correct? There are allways 5 threads minumun and 2 extra?

The zserver-threads setting controls the number of "application"
threads; these are running handing the application (Plone in your
case) code for requests. The server itself uses a thread for handling
socket communication, reading & parsing the requests as they come in,
queuing them for an application thread, and managing the transmission
of response data.  ZEO will use an additional thread for communication
with the storage server(s).

Other components may start additional threads as well, depending on
Plone and your configuration.  For example, zc.monitor starts a thread
to handle monitoring interactions. Someone with Plone-specific
knowledge can probably help more.


  -Fred

-- 
Fred L. Drake, Jr.    <fred at fdrake.net>
"A storm broke loose in my mind."  --Albert Einstein
_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic