Re: [SOGo] WOWorkersCount

2016-07-19 Thread Ralf Cirksena
On Tue, Jul 19, 2016 at 11:00:42AM +0200 you wrote:

> it is - https://sogo.nu/files/docs/SOGoInstallationGuide.html -> 5.3.
> General Preferences: WOWorkersCount ..

I've read that. ;-)
Done that I assumed that the value of PREFORK is the starting number
of processes spawning additional processes until WOWorkersCount is
reached.

But it's clear now. Perhaps change the phrasing in 5.3?


Greetings
-- 
R. Cirksena 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2016-07-19 Thread "sg gs"
it is - https://sogo.nu/files/docs/SOGoInstallationGuide.html -> 5.3. General Preferences: WOWorkersCount ..
 

Sent: Monday, July 18, 2016 at 3:41 PM
From: "\"Ralf Cirksena\" (c...@holmco.de)" 
To: "Jens Erat" 
Subject: Re: [SOGo] WOWorkersCount

Hi Jens,

On Mon, Jul 18, 2016 at 02:18:18PM +0200 you wrote:

> on Debian and derived distributions (and maybe other distributions with similar mechanics in the init scripts), the `WOWorkersCount` option is overwritten by `/etc/defaults/sogo`'s `PREFORK` option. So `WOWorkersCount` is not used at all.

thank you for this hint. That should be mentioned in the adminstator's manual.


Greetings
--
R. Cirksena
--
users@sogo.nu
https://inverse.ca/sogo/lists



-- users@sogo.nuhttps://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2016-07-18 Thread Ralf Cirksena
Hi Jens,

On Mon, Jul 18, 2016 at 02:18:18PM +0200 you wrote:

> on Debian and derived distributions (and maybe other distributions with 
> similar mechanics in the init scripts), the `WOWorkersCount` option is 
> overwritten by `/etc/defaults/sogo`'s `PREFORK` option. So `WOWorkersCount` 
> is not used at all.

thank you for this hint. That should be mentioned in the adminstator's manual.


Greetings
-- 
R. Cirksena 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2016-07-18 Thread Jens Erat
Hi Ralf,

on Debian and derived distributions (and maybe other distributions with similar 
mechanics in the init scripts), the `WOWorkersCount` option is overwritten by 
`/etc/defaults/sogo`'s `PREFORK` option. So `WOWorkersCount` is not used at all.

`PREFORK` is actually a little bit misleading here, as it is not a prefork 
value as for other server systems where additional processes to the ones in use 
are forked, but instead SOGo's `PREFORK` starts (and maintains) exactly this 
number of processes, no matter whether they're required (or sufficient).

Regards,
Jens

Am 18.07.2016 um 13:34 schrieb Ralf Cirksena (c...@holmco.de):
> Hi,
> 
> I am somewhat confused re. "WOWorkersCount" / "PREFORK".
> 
> If I set PREFORK = 3 in /etc/default/sogo with WOWorkersCount = 60 in
> sogo.conf just 3 children of sogod are started. That remains on this
> number even if users begin to use sogod. The only result is lng
> time waiting for synchronization.
> 
> If I set PREFORK higher (10) then performance remains o.k. until all
> workers are busy. Workers don't increase above PREFORK thus never
> reaches a value near WOWorkersCount.
> 
> Something is wrong. Clarification needed. ;-)
> 
> 
> Greetings
> 

-- 
Jens Erat
Universität Konstanz
Kommunikations-, Infomations-, Medienzentrum (KIM)
Abteilung Basisdienste
D-78457 Konstanz
Mail: jens.e...@uni-konstanz.de 



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] WOWorkersCount

2016-07-18 Thread Ralf Cirksena
Hi,

I am somewhat confused re. "WOWorkersCount" / "PREFORK".

If I set PREFORK = 3 in /etc/default/sogo with WOWorkersCount = 60 in
sogo.conf just 3 children of sogod are started. That remains on this
number even if users begin to use sogod. The only result is lng
time waiting for synchronization.

If I set PREFORK higher (10) then performance remains o.k. until all
workers are busy. Workers don't increase above PREFORK thus never
reaches a value near WOWorkersCount.

Something is wrong. Clarification needed. ;-)


Greetings
-- 
R. Cirksena 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-16 Thread Milos Wimmer

On Thu, 16 Dec 2010, Alessio Fattorini wrote:


Aynone on this? More examples or suggests?


I have:
- Intel X5560 @ 2.80GHz , 16 cores total,
- 32 GB RAM

- 3800 different users per day via WebGUI
-  500 different users per day via Thunderbird + addons

- WOWorkersCount = 10
- load around 1.0


regards,

  Milos
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-16 Thread Alessio Fattorini

Aynone on this? More examples or suggests?

Il 09/12/2010 11:34, Pascal Gienger ha scritto:

Am 09.12.10 11:29, schrieb Alessio Fattorini:



Thanks for your answer but my 30 users use Thunderbird + addon not sogo
web access.
I think that "TB3 + addon" is more heavy then web access.



It's the opposite. CalDAV and CardDAV is quite lightweight compared to web 
access (/so/...).
Heaviest CPU hog is Mail access via Web.

As your thunderbirds use Mail over IMAP it won't even reach your SOGo 
server(s). So only CalDAV und
CardDAV (Calendars, Address books) are handled by SOGo.

Pascal



--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-09 Thread Pascal Gienger

Am 09.12.10 11:29, schrieb Alessio Fattorini:



Thanks for your answer but my 30 users use Thunderbird + addon not sogo
web access.
I think that "TB3 + addon" is more heavy then web access.



It's the opposite. CalDAV and CardDAV is quite lightweight compared to 
web access (/so/...).

Heaviest CPU hog is Mail access via Web.

As your thunderbirds use Mail over IMAP it won't even reach your SOGo 
server(s). So only CalDAV und CardDAV (Calendars, Address books) are 
handled by SOGo.


Pascal
--
Pascal Gienger Jabber/XMPP/Mail: pascal.gien...@uni-konstanz.de
University of Konstanz, IT Services Department ("Rechenzentrum")
Electronic Communications and Web Services
Building V, Room V404, Phone +49 7531 88 5048, Fax +49 7531 88 3739
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-09 Thread Alessio Fattorini

Il 09/12/2010 10:29, Pascal Gienger ha scritto:


Just for reference:

We have now 16,000 accounts and 3,600 distinct users a day, approx 8,000 logins 
per day.

The system runs on 4 machines with 4 cores each in load balancing mode (front 
end apache does the
balancing and session handling).

We have 10 sogod processes running per node and they are not getting all "full".


Thanks for your answer but my 30 users use Thunderbird + addon not  sogo web 
access.
I think that "TB3 + addon" is more heavy then web access.
Can anyone show me another reference with addon? Or suggest me any rule for 
calculate WOWorkersCount
Thank you
--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-09 Thread Pascal Gienger

Am 09.12.10 10:10, schrieb Alessio Fattorini:



I have this
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
cpu cores : 4

with 4 GB of RAM. SxVMemLimit is default 384

With 30 users, how should i set WOWorkersCount?



Just for reference:

We have now 16,000 accounts and 3,600 distinct users a day, approx 8,000 
logins per day.


The system runs on 4 machines with 4 cores each in load balancing mode 
(front end apache does the balancing and session handling).


We have 10 sogod processes running per node and they are not getting all 
"full".



Pascal

--
Pascal Gienger Jabber/XMPP/Mail: pascal.gien...@uni-konstanz.de
University of Konstanz, IT Services Department ("Rechenzentrum")
Electronic Communications and Web Services
Building V, Room V404, Phone +49 7531 88 5048, Fax +49 7531 88 3739
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-12-09 Thread Alessio Fattorini

Il 05/10/2010 14:34, Ludovic Marcotte ha scritto:

On 05/10/10 7:45 AM, Christian Naumer wrote:

Hi,
I have a question regarding the WOWorkersCount parameter. What is the 
recommended value to use in
production (50 user, dual core Processor, 4GB of RAM). At the moment I have set 
it to 10 with no
bad effects. Does anybody have recommendations? Should we but in more RAM or 
Cores (it is a VM
anyway)?

It depends on the value of SxVMemLimit. If it's set to say, 512, you could end 
up (but very unlikely
to happen) with 10 processes slowly eating 512 MB of RAM - which would be too 
much for 4 GB.


I have this
model name  : Intel(R) Xeon(R) CPU   E5410  @ 2.33GHz
cpu cores   : 4

with 4 GB of RAM. SxVMemLimit is default 384

With 30 users, how should i set WOWorkersCount?



We generally use 10 when there are thousands of users so ±5 should be a more 
reasonable value for
you ;)


I understand that 1 child every 10 user is ok.
With 30 user, should I set WOWorkersCount to 3?
How can i calculate this parameter? Core, ram, number of users?
Thanks


--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] WOWorkersCount

2010-10-05 Thread Ludovic Marcotte

 On 05/10/10 7:45 AM, Christian Naumer wrote:

Hi,
I have a question regarding the WOWorkersCount parameter. What is the 
recommended value to use in production (50 user, dual core Processor, 
4GB of RAM). At the moment I have set it to 10 with no bad effects. 
Does anybody have recommendations? Should we but in more RAM or Cores 
(it is a VM anyway)?
It depends on the value of SxVMemLimit. If it's set to say, 512, you 
could end up (but very unlikely to happen) with 10 processes slowly 
eating 512 MB of RAM - which would be too much for 4 GB.


10 processes will give you up to 10 concurrent requests being processed 
at any time - which is probably too high for 50 users.


We generally use 10 when there are thousands of users so ±5 should be a 
more reasonable value for you ;)


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] WOWorkersCount

2010-10-05 Thread Christian Naumer

Hi,
I have a question regarding the WOWorkersCount parameter. What is the 
recommended value to use in production (50 user, dual core Processor, 
4GB of RAM). At the moment I have set it to 10 with no bad effects. Does 
anybody have recommendations? Should we but in more RAM or Cores (it is 
a VM anyway)?


Regards

Christian


--
Dr. Christian Naumer
Senior Scientist Analytics & Engineering

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail c...@brain-biotech.de, homepage www.brain-biotech.de
fon +49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Dr. Holger Zinke (Vorsitz), Dr. Jürgen Eck
Vorsitzender des Aufsichtsrats: Ulrich Putsch

--
users@sogo.nu
https://inverse.ca/sogo/lists