Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 29/03/2012 11:14, Khapare Joshi ha scritto:
hello all,

I dealt with sogo slow performance earlier - perhaps you can find in the list. 
I deployed sogo at my work around feb last year and is doing well. Although we 
have 17000+ users in our cyrus (imap server), only 6000 of those users are now 
using sogo. This might change very soon when we will enforce everyone to use 
sogo (goodbye to old sq mail).

With the performance issue with the sogo. I also use imapproxy in between imap 
server and sogo server. This has certainly help to increase performance at 
least for me. Also, seach in mailing list as Sogo Slow performance - this 
will give you some idea how to optimize your sogo that we discussed. So what I 
did is: increase the number of PREFORK to 70(in /etc/sysconfig/sogo) and you 
need minimum 3 postgres connection per sogod which means:

if you increase prefork to 70 then your postgres connection should be 3*70

This has helped at least for me.

There are probably other technique to optimize sogod but at this time this is 
good for me:) try doing this and see what happens.

Khapare


Well, I applied all your suggestion, but no luck.

- I installed imaproxy, listening on port 144, and instructed SoGo to connect 
to this port. I see it is correctly working
- I preforked sogo to 10 (now there are only some test users)
- I adapted postgres connections likewise

The problem is the same: the system in the complex is ok, but 3 users with a 
LOT of folders, needs to wait 9 seconds to pass from Calendar or Address tab to 
Mail
No such problem in Squirrel, or in thunderbird client.

I don't know what to do...

Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Francis Lachapelle
Hi Marco

On 2012-04-13, at 8:45 AM, Marco Coli wrote:

 The problem is the same: the system in the complex is ok, but 3 users with a 
 LOT of folders, needs to wait 9 seconds to pass from Calendar or Address tab 
 to Mail
 No such problem in Squirrel, or in thunderbird client.

It's likely a browser issue. Which browser (and version) is used?

How many folders is a LOT of folders?


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Peter Peltonen
HI,

On Fri, Apr 13, 2012 at 3:45 PM, Marco Coli marco.c...@tecnosistemi.com wrote:

 The problem is the same: the system in the complex is ok, but 3 users with a 
 LOT of folders, needs to wait 9 seconds to pass from Calendar or Address tab 
 to Mail
 No such problem in Squirrel, or in thunderbird client.

 I don't know what to do...

You have probably tried with different browsers?

Just noticed today that a user with Firefox + Firebug running caused
SOGo web UI to render really slow. Disabling Firebug solved the
problem.

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


Re: [SOGo] Web Performance issue

2012-04-13 Thread Francis Lachapelle

On 2012-04-13, at 9:13 AM, Marco Coli wrote:

 It's likely a browser issue. Which browser (and version) is used?
 Thank you for your answer!
 Firefox, latest version (Now I am not on front of pc to tell you exactly).
 I will tell the user to try another browser. Which do you reccomend?
 Chrome, Explorer?

Chrome should be the fastest.

 How many folders is a LOT of folders?
 
 Well, they have 50/100 folders owned, + a lot of shared folders from
 other users... I will give you a more precise number soon...
 Squirrel does not expand the folder tree, so there is no wait, but sogo
 on the web expand the whole structure by default, and here is the wait.

Wrong: the folders state is saved and restored when the user visits the 
webmail. When logging in for the first time, no folder is expanded.


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 15:20, Francis Lachapelle ha scritto:

 Well, they have 50/100 folders owned, + a lot of shared folders from
 other users... I will give you a more precise number soon...
 Squirrel does not expand the folder tree, so there is no wait, but sogo
 on the web expand the whole structure by default, and here is the wait.
 Wrong: the folders state is saved and restored when the user visits the 
 webmail. When logging in for the first time, no folder is expanded.



Mumble I am trying now... I am logged in (I have only 20 folders
total), my structure is fully opened, I close it, I move to Calendar, I
return to Mail, all folders are expanded.
It is not supposed to be? Do I have something wrong?

Platform RHEL6.2, sogo 1.3.14, cyrus-imapd 2.4.14

Thank you
Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Francis Lachapelle

On 2012-04-13, at 9:30 AM, Marco Coli wrote:

 Il 13/04/2012 15:20, Francis Lachapelle ha scritto:
 
 Well, they have 50/100 folders owned, + a lot of shared folders from
 other users... I will give you a more precise number soon...
 Squirrel does not expand the folder tree, so there is no wait, but sogo
 on the web expand the whole structure by default, and here is the wait.
 Wrong: the folders state is saved and restored when the user visits the 
 webmail. When logging in for the first time, no folder is expanded.
 
 
 
 Mumble I am trying now... I am logged in (I have only 20 folders
 total), my structure is fully opened, I close it, I move to Calendar, I
 return to Mail, all folders are expanded.
 It is not supposed to be? Do I have something wrong?
 
 Platform RHEL6.2, sogo 1.3.14, cyrus-imapd 2.4.14

You are probably experiencing this bug :

http://www.sogo.nu/bugs/view.php?id=1767

Do you see parsing errors in your log file?


Francis

--
flachape...@inverse.ca :: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 15:34, Francis Lachapelle ha scritto:



Mumble I am trying now... I am logged in (I have only 20 folders
total), my structure is fully opened, I close it, I move to Calendar, I
return to Mail, all folders are expanded.
It is not supposed to be? Do I have something wrong?

Platform RHEL6.2, sogo 1.3.14, cyrus-imapd 2.4.14



You are probably experiencing this bug :

http://www.sogo.nu/bugs/view.php?id=1767

Do you see parsing errors in your log file?


Francis

--
flachape...@inverse.camailto:flachape...@inverse.ca :: +1.514.755.3640 :: 
http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)



No, I do not have parsing error. At the bottom I paste some log, it seems to be 
fine

Well, now I understand why the performance are bad with hundred of nesting 
folders... They are not supposed to explode every time!!! I assumed that the 
normal webmail behaviour was that...
In the bug there is a proposed solution, but I don't think this is my case, 
what do you think?

Thank you

localhost.localdomain - - [13/Apr/2012:15:25:10 GMT] GET 
/SOGo/so/marco_hc/logoff HTTP/1.1 302 0/0 0.015 - - 0
2012-04-13 15:25:10.658 sogod[21695] WARNING(-[NSNull(misc) count]): called 
NSNull -count (returns 0) !!!
localhost.localdomain - - [13/Apr/2012:15:25:10 GMT] GET /SOGo/so/ HTTP/1.1 
200 4090/0 0.017 11379 64% 0
Apr 13 15:25:18 sogod [21695]: SOGoRootPage successful login for user 
'marco_hc' - expire = -1  grace = -1
localhost.localdomain - - [13/Apr/2012:15:25:18 GMT] POST /SOGo/connect 
HTTP/1.1 200 27/46 0.014 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:19 GMT] GET /SOGo/so/marco_hc 
HTTP/1.1 302 0/0 0.002 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:19 GMT] GET 
/SOGo/so/marco_hc/view HTTP/1.1 302 0/0 0.003 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:19 GMT] GET 
/SOGo/so/marco_hc/Mail HTTP/1.1 302 0/0 0.002 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:20 GMT] GET 
/SOGo/so/marco_hc/Mail/view HTTP/1.1 200 9760/0 0.495 34592 71% 0
localhost.localdomain - - [13/Apr/2012:15:25:20 GMT] POST 
/SOGo/so/marco_hc/Calendar/alarmslist?browserTime=1334323520 HTTP/1.1 200 2/0 
0.006 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:20 GMT] POST 
/SOGo/so/marco_hc/Mail/0/mailboxes HTTP/1.1 200 1584/0 0.297 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:21 GMT] POST 
/SOGo/so/marco_hc/Mail/foldersState HTTP/1.1 200 198/0 0.004 - - 0
localhost.localdomain - - [13/Apr/2012:15:25:21 GMT] POST 
/SOGo/so/marco_hc/Mail//0/folderINBOX/unseenCount HTTP/1.1 200 13/0 0.286 - - 0
localhost.localdomain - - [13/Apr/2012:15:27:05 GMT] GET 
/SOGo/so/marco_hc/Mail//0/folderINBOX/expunge HTTP/1.1 200 2/0 0.286 - - 0
localhost.localdomain - - [13/Apr/2012:15:27:05 GMT] GET 
/SOGo/so/marco_hc/Contacts HTTP/1.1 302 0/0 0.002 - - 0
Apr 13 15:27:06 sogod [21695]: 0x041A3628[SOGoContactGCSFolder]:personalD 
fetched 1 records.
localhost.localdomain - - [13/Apr/2012:15:27:06 GMT] GET 
/SOGo/so/marco_hc/Contacts/view HTTP/1.1 200 7100/0 0.151 21535 67% 60K
localhost.localdomain - - [13/Apr/2012:15:27:07 GMT] POST 
/SOGo/so/marco_hc/Calendar/alarmslist?browserTime=1334323627 HTTP/1.1 200 2/0 
0.006 - - 0
localhost.localdomain - - [13/Apr/2012:15:27:07 GMT] POST 
/SOGo/so/marco_hc/Contacts/personal/canAccessContent HTTP/1.1 204 0/0 0.008 - 
- 0
localhost.localdomain - - [13/Apr/2012:15:27:07 GMT] POST 
/SOGo/so/marco_hc/Contacts/niccolai_8A8-4F58CB00-3-326772C0/canAccessContent 
HTTP/1.1 204 0/0 0.011 - - 8K
localhost.localdomain - - [13/Apr/2012:15:27:07 GMT] POST 
/SOGo/so/marco_hc/Contacts/public/canAccessContent HTTP/1.1 204 0/0 0.008 - - 
4K
2012-04-13 15:27:07.539 sogod[27646] Note: Using UTF-8 as URL encoding in 
NGExtensions.
Apr 13 15:27:07 sogod [27646]: 0x0x2415418[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Apr 13 15:27:07 sogod [27646]: 0x0x2415418[SOGoCache] Using host(s) 
'127.0.0.1' as server(s)
Apr 13 15:27:07 sogod [27646]: 0x0x242e408[LDAPSource] WARNING: using old 
bindFields format - please update it
2012-04-13 15:27:07.550 sogod[27646] Note(SoObject): SoDebugKeyLookup is 
enabled!
2012-04-13 15:27:07.550 sogod[27646] Note(SoObject): SoDebugBaseURL is enabled!
2012-04-13 15:27:07.550 sogod[27646] Note(SoObject): relative base URLs are 
enabled.
localhost.localdomain - - [13/Apr/2012:15:27:07 GMT] POST 
/SOGo/so/marco_hc/Contacts/8A8-4F58C200-1-326772C0/canAccessContent HTTP/1.1 
204 0/0 0.080 - - 1M
localhost.localdomain - - [13/Apr/2012:15:27:08 GMT] GET 
/SOGo/so/marco_hc/Mail HTTP/1.1 302 0/0 0.003 - - 28K
2012-04-13 15:27:09.092 sogod[27646] WOCompoundElement: pool embedding is on.
2012-04-13 15:27:09.092 sogod[27646] WOCompoundElement: id logging is on.
2012-04-13 15:27:09.186 sogod[27646] WARNING: IMAP4 connection pooling is 
disabled!
2012-04-13 15:27:09.228 sogod[27646] Note(NGImap4Connection): using '.' as the 
IMAP4 folder separator.
2012-04-13 15:27:09.519 sogod[27646] Note: using 'UCS-2LE' on Linux.

Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 15:20, Francis Lachapelle ha scritto:

 Wrong: the folders state is saved and restored when the user visits the 
 webmail. When logging in for the first time, no folder is expanded.




Well, I tried with zeg under vmware, and the behaviour is the same... I
created a lot of nested folders, and they are ALWAYS opened, no matter
if I close them before changing tab in the webmail...
Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Wolfgang Sourdeau




Well, I tried with zeg under vmware, and the behaviour is the same... I
created a lot of nested folders, and they are ALWAYS opened, no matter
if I close them before changing tab in the webmail...
Marco Coli


Which ZEG? SOGo 2.0 rc1 ?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 16:07, Wolfgang Sourdeau ha scritto:


Well, I tried with zeg under vmware, and the behaviour is the same... I
created a lot of nested folders, and they are ALWAYS opened, no matter
if I close them before changing tab in the webmail...
Marco Coli

Which ZEG? SOGo 2.0 rc1 ?

no, the stable one, 1.3.12

Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 15:20, Francis Lachapelle ha scritto:

 Thank you for your answer!
 Firefox, latest version (Now I am not on front of pc to tell you exactly).
 I will tell the user to try another browser. Which do you reccomend?
 Chrome, Explorer?
 Chrome should be the fastest.



I ask the user to try, he has no chrome and he can't install it right
now,, with firefox 11 he waits 9 seconds, with Explorer 9.0.8 he waits
21 (!) seconds
Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Wolfgang Sourdeau

Le 12-04-13 10:09, Marco Coli a écrit :

no, the stable one, 1.3.12
There is a bug in SOGo  1.3.13 where certain characters are not 
properly escaped. You need to update to 1.3.14 and perform the fix that 
Francis mentionned previously.



Wolfgang

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


Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli
Il 13/04/2012 16:12, Wolfgang Sourdeau ha scritto:
Le 12-04-13 10:09, Marco Coli a écrit :
no, the stable one, 1.3.12
There is a bug in SOGo  1.3.13 where certain characters are not properly 
escaped. You need to update to 1.3.14 and perform the fix that Francis 
mentionned previously.


Wolfgang


Thank you. I can try the fix, but I do not think this is my case.
Apart from the test I did with ZEG, the production site started with 1.3.13, 
now i 1.3.14, and if I do a backup like in 
http://www.sogo.nu/bugs/view.php?id=1767 , I have no errors:

[sogo@nic-server-mail ~]$ sogo-tool -v backup /BACKUP/CANC/test ALL
Apr 13 16:18:14 sogo-tool [2865]: 0x0xb8ce08[LDAPSource] WARNING: using old 
bindFields format - please update it
Apr 13 16:18:14 sogo-tool [2865]: 0x0xc2da08[SOGoCache] Cache cleanup 
interval set every 300.00 seconds
Apr 13 16:18:14 sogo-tool [2865]: 0x0xc2da08[SOGoCache] Using host(s) 
'127.0.0.1' as server(s)


Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-04-13 Thread Marco Coli

Il 13/04/2012 16:12, Wolfgang Sourdeau ha scritto:
There is a bug in SOGo  1.3.13 where certain characters are not 
properly escaped. You need to update to 1.3.14 and perform the fix 
that Francis mentionned previously.



Wolfgang



I have some problem trying to apply Francis' fix:
[sogo@nic-server-mail ~]$ psql sogo
Password: *
psql (8.4.9)
Digita help per aiuto.

sogo= begin transaction;
BEGIN
sogo= update sogo_user_profile set c_settings = replace(c_settings, 
'\\', '\');
sogo' update sogo_user_profile set c_defaults = replace(c_defaults, 
'\\', '\');

Comando errato \. Prova \? per la guida.
sogo(

I think there is some escape character problem in the string
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Web Performance issue

2012-03-29 Thread Khapare Joshi
hello all,

I dealt with sogo slow performance earlier - perhaps you can find in the
list. I deployed sogo at my work around feb last year and is doing well.
Although we have 17000+ users in our cyrus (imap server), only 6000 of
those users are now using sogo. This might change very soon when we will
enforce everyone to use sogo (goodbye to old sq mail).

With the performance issue with the sogo. I also use imapproxy in between
imap server and sogo server. This has certainly help to increase
performance at least for me. Also, seach in mailing list as Sogo Slow
performance - this will give you some idea how to optimize your sogo that
we discussed. So what I did is: increase the number of PREFORK to 70(in
/etc/sysconfig/sogo) and you need minimum 3 postgres connection per sogod
which means:

if you increase prefork to 70 then your postgres connection should be 3*70

This has helped at least for me.

There are probably other technique to optimize sogod but at this time this
is good for me:) try doing this and see what happens.

Khapare


On Wed, Mar 28, 2012 at 9:29 AM, James James jre...@gmail.com wrote:

 I am using Apache2 and memcached with sogo 1.3.14

 James

 Le 28 mars 2012 11:19, Martin Seener mar...@seener.de a écrit :

  are u using apache2 with memcached? we have one sogo 1.3.12c with
 iRedMail running on the smallest JiffyBox and its quite fast.

 Am 3/28/12 11:12 AM, schrieb James James:

 Hi,

 I have the same problem too. It's take about five seconds to commit a
 change from and reload the web interface. On the demo page (
 http://sogo-demo.inverse.ca/SOGo/so/sogo1/Calendar/view  login:sogo1
 passwd: sogo1) , it's a faster.

 I am using RHEL6, 48Gb RAM and a local postgresql server.

 Can you give us some clues to tune (and improve) the performances ?

 Regards



 Le 28 mars 2012 08:45, Alessio Cecchi ales...@skye.it a écrit :

 Il 27/03/2012 19:52, Marco Coli ha scritto:

  Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


 Hi Marco,

 what IMAP server are you using? Dovecot should have better performance
 than Cyrus.


 I am using cyrus-imapd-2.4.14-1.el6.x86_64.
 Are you sure about best Dovecot performances? For us is not possible to
 migrate, we are using Cyrus for the last 10 years.
 In the daily use, with Thunderbird as a client or with squirrelmail as
 web application, we never experienced any performance issue.


  I thought it was a new installation, in your case you can not switch to
 dovecot, at least not simply.



 Have you properly configured memcached?


 Well, it depends on what you intend with properly. At first memcached
 was not active (as I noticed on sogo logs). After this I started it,
 with these parameters:
 PORT=11211
 USER=nobody
 MAXCONN=1024
 CACHESIZE=64
 OPTIONS=

 But nothing has changed about this performance issue.
 Marco Coli


  Do you have in your SOGo config:

 SOGoMemcachedHost 127.0.0.1

 Should be by default.


 --
 Alessio Cecchi is:
 @ ILS - http://www.linux.it/~alessice/
 on LinkedIn - http://www.linkedin.com/in/alessice
 Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
 @ PLUG - ex-Presidente, adesso senatore a vita,
 http://www.prato.linux.it
 @ LOLUG - Socio http://www.lolug.net
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists




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

Re: [SOGo] Web Performance issue

2012-03-29 Thread James James
In my case, it was a account issue. My account was the only one that was
slow. I had duplicate events on all my calendars and my query size (cf
sogo.log) was about 500k.

I juste remove my accout data with  :

sogo-tool remove user

and now everything woks well.

Thanks for your attention guys.

Le 29 mars 2012 11:14, Khapare Joshi khapar...@gmail.com a écrit :

 hello all,

 I dealt with sogo slow performance earlier - perhaps you can find in the
 list. I deployed sogo at my work around feb last year and is doing well.
 Although we have 17000+ users in our cyrus (imap server), only 6000 of
 those users are now using sogo. This might change very soon when we will
 enforce everyone to use sogo (goodbye to old sq mail).

 With the performance issue with the sogo. I also use imapproxy in between
 imap server and sogo server. This has certainly help to increase
 performance at least for me. Also, seach in mailing list as Sogo Slow
 performance - this will give you some idea how to optimize your sogo that
 we discussed. So what I did is: increase the number of PREFORK to 70(in
 /etc/sysconfig/sogo) and you need minimum 3 postgres connection per sogod
 which means:

 if you increase prefork to 70 then your postgres connection should be 3*70

 This has helped at least for me.

 There are probably other technique to optimize sogod but at this time this
 is good for me:) try doing this and see what happens.

 Khapare



 On Wed, Mar 28, 2012 at 9:29 AM, James James jre...@gmail.com wrote:

 I am using Apache2 and memcached with sogo 1.3.14

 James

 Le 28 mars 2012 11:19, Martin Seener mar...@seener.de a écrit :

  are u using apache2 with memcached? we have one sogo 1.3.12c with
 iRedMail running on the smallest JiffyBox and its quite fast.

 Am 3/28/12 11:12 AM, schrieb James James:

 Hi,

 I have the same problem too. It's take about five seconds to commit a
 change from and reload the web interface. On the demo page (
 http://sogo-demo.inverse.ca/SOGo/so/sogo1/Calendar/view  login:sogo1
 passwd: sogo1) , it's a faster.

 I am using RHEL6, 48Gb RAM and a local postgresql server.

 Can you give us some clues to tune (and improve) the performances ?

 Regards



 Le 28 mars 2012 08:45, Alessio Cecchi ales...@skye.it a écrit :

 Il 27/03/2012 19:52, Marco Coli ha scritto:

  Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


 Hi Marco,

 what IMAP server are you using? Dovecot should have better performance
 than Cyrus.


 I am using cyrus-imapd-2.4.14-1.el6.x86_64.
 Are you sure about best Dovecot performances? For us is not possible to
 migrate, we are using Cyrus for the last 10 years.
 In the daily use, with Thunderbird as a client or with squirrelmail as
 web application, we never experienced any performance issue.


  I thought it was a new installation, in your case you can not switch
 to dovecot, at least not simply.



 Have you properly configured memcached?


 Well, it depends on what you intend with properly. At first memcached
 was not active (as I noticed on sogo logs). After this I started it,
 with these parameters:
 PORT=11211
 USER=nobody
 MAXCONN=1024
 CACHESIZE=64
 OPTIONS=

 But nothing has changed about this performance issue.
 Marco Coli


  Do you have in your SOGo config:

 SOGoMemcachedHost 127.0.0.1

 Should be by default.


 --
 Alessio Cecchi is:
 @ ILS - http://www.linux.it/~alessice/
 on LinkedIn - http://www.linkedin.com/in/alessice
 Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
 @ PLUG - ex-Presidente, adesso senatore a vita,
 http://www.prato.linux.it
 @ LOLUG - Socio http://www.lolug.net
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists





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

Re: [SOGo] Web Performance issue

2012-03-29 Thread Marco Coli
Il 29/03/2012 11:14, Khapare Joshi ha scritto:
hello all,

[]

This has helped at least for me.

There are probably other technique to optimize sogod but at this time this is 
good for me:) try doing this and see what happens.

Khapare




Well, thank you very much for your valuable infos!
I will try to apply your suggestions to my case.
I will let you know!




Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-03-28 Thread Alessio Cecchi

Il 27/03/2012 19:52, Marco Coli ha scritto:

Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


Hi Marco,

what IMAP server are you using? Dovecot should have better performance
than Cyrus.


I am using cyrus-imapd-2.4.14-1.el6.x86_64.
Are you sure about best Dovecot performances? For us is not possible to
migrate, we are using Cyrus for the last 10 years.
In the daily use, with Thunderbird as a client or with squirrelmail as
web application, we never experienced any performance issue.


I thought it was a new installation, in your case you can not switch to 
dovecot, at least not simply.




Have you properly configured memcached?



Well, it depends on what you intend with properly. At first memcached
was not active (as I noticed on sogo logs). After this I started it,
with these parameters:
PORT=11211
USER=nobody
MAXCONN=1024
CACHESIZE=64
OPTIONS=

But nothing has changed about this performance issue.
Marco Coli


Do you have in your SOGo config:

SOGoMemcachedHost 127.0.0.1

Should be by default.

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Web Performance issue

2012-03-28 Thread James James
Hi,

I have the same problem too. It's take about five seconds to commit a
change from and reload the web interface. On the demo page (
http://sogo-demo.inverse.ca/SOGo/so/sogo1/Calendar/view  login:sogo1
passwd: sogo1) , it's a faster.

I am using RHEL6, 48Gb RAM and a local postgresql server.

Can you give us some clues to tune (and improve) the performances ?

Regards



Le 28 mars 2012 08:45, Alessio Cecchi ales...@skye.it a écrit :

 Il 27/03/2012 19:52, Marco Coli ha scritto:

  Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


 Hi Marco,

 what IMAP server are you using? Dovecot should have better performance
 than Cyrus.


 I am using cyrus-imapd-2.4.14-1.el6.x86_**64.
 Are you sure about best Dovecot performances? For us is not possible to
 migrate, we are using Cyrus for the last 10 years.
 In the daily use, with Thunderbird as a client or with squirrelmail as
 web application, we never experienced any performance issue.


 I thought it was a new installation, in your case you can not switch to
 dovecot, at least not simply.



 Have you properly configured memcached?


 Well, it depends on what you intend with properly. At first memcached
 was not active (as I noticed on sogo logs). After this I started it,
 with these parameters:
 PORT=11211
 USER=nobody
 MAXCONN=1024
 CACHESIZE=64
 OPTIONS=

 But nothing has changed about this performance issue.
 Marco Coli


 Do you have in your SOGo config:

 SOGoMemcachedHost 127.0.0.1

 Should be by default.


 --
 Alessio Cecchi is:
 @ ILS - http://www.linux.it/~alessice/
 on LinkedIn - 
 http://www.linkedin.com/in/**alessicehttp://www.linkedin.com/in/alessice
 Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
 @ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
 @ LOLUG - Socio http://www.lolug.net
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] Web Performance issue

2012-03-28 Thread Martin Seener
are u using apache2 with memcached? we have one sogo 1.3.12c with 
iRedMail running on the smallest JiffyBox and its quite fast.


Am 3/28/12 11:12 AM, schrieb James James:

Hi,

I have the same problem too. It's take about five seconds to commit a 
change from and reload the web interface. On the demo page 
(http://sogo-demo.inverse.ca/SOGo/so/sogo1/Calendar/view  login:sogo1 
passwd: sogo1) , it's a faster.


I am using RHEL6, 48Gb RAM and a local postgresql server.

Can you give us some clues to tune (and improve) the performances ?

Regards



Le 28 mars 2012 08:45, Alessio Cecchi ales...@skye.it 
mailto:ales...@skye.it a écrit :


Il 27/03/2012 19:52, Marco Coli ha scritto:

Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


Hi Marco,

what IMAP server are you using? Dovecot should have better
performance
than Cyrus.


I am using cyrus-imapd-2.4.14-1.el6.x86_64.
Are you sure about best Dovecot performances? For us is not
possible to
migrate, we are using Cyrus for the last 10 years.
In the daily use, with Thunderbird as a client or with
squirrelmail as
web application, we never experienced any performance issue.


I thought it was a new installation, in your case you can not
switch to dovecot, at least not simply.



Have you properly configured memcached?


Well, it depends on what you intend with properly. At first
memcached
was not active (as I noticed on sogo logs). After this I
started it,
with these parameters:
PORT=11211
USER=nobody
MAXCONN=1024
CACHESIZE=64
OPTIONS=

But nothing has changed about this performance issue.
Marco Coli


Do you have in your SOGo config:

SOGoMemcachedHost 127.0.0.1

Should be by default.


-- 
Alessio Cecchi is:

@ ILS - http://www.linux.it/~alessice/
http://www.linux.it/%7Ealessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita,
http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
-- 
users@sogo.nu mailto:users@sogo.nu

https://inverse.ca/sogo/lists



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

Re: [SOGo] Web Performance issue

2012-03-28 Thread James James
I am using Apache2 and memcached with sogo 1.3.14

James

Le 28 mars 2012 11:19, Martin Seener mar...@seener.de a écrit :

  are u using apache2 with memcached? we have one sogo 1.3.12c with
 iRedMail running on the smallest JiffyBox and its quite fast.

 Am 3/28/12 11:12 AM, schrieb James James:

 Hi,

 I have the same problem too. It's take about five seconds to commit a
 change from and reload the web interface. On the demo page (
 http://sogo-demo.inverse.ca/SOGo/so/sogo1/Calendar/view  login:sogo1
 passwd: sogo1) , it's a faster.

 I am using RHEL6, 48Gb RAM and a local postgresql server.

 Can you give us some clues to tune (and improve) the performances ?

 Regards



 Le 28 mars 2012 08:45, Alessio Cecchi ales...@skye.it a écrit :

 Il 27/03/2012 19:52, Marco Coli ha scritto:

  Il 27/03/2012 08:57, Alessio Cecchi ha scritto:


 Hi Marco,

 what IMAP server are you using? Dovecot should have better performance
 than Cyrus.


 I am using cyrus-imapd-2.4.14-1.el6.x86_64.
 Are you sure about best Dovecot performances? For us is not possible to
 migrate, we are using Cyrus for the last 10 years.
 In the daily use, with Thunderbird as a client or with squirrelmail as
 web application, we never experienced any performance issue.


  I thought it was a new installation, in your case you can not switch to
 dovecot, at least not simply.



 Have you properly configured memcached?


 Well, it depends on what you intend with properly. At first memcached
 was not active (as I noticed on sogo logs). After this I started it,
 with these parameters:
 PORT=11211
 USER=nobody
 MAXCONN=1024
 CACHESIZE=64
 OPTIONS=

 But nothing has changed about this performance issue.
 Marco Coli


  Do you have in your SOGo config:

 SOGoMemcachedHost 127.0.0.1

 Should be by default.


 --
 Alessio Cecchi is:
 @ ILS - http://www.linux.it/~alessice/
 on LinkedIn - http://www.linkedin.com/in/alessice
 Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
 @ PLUG - ex-Presidente, adesso senatore a vita,
 http://www.prato.linux.it
 @ LOLUG - Socio http://www.lolug.net
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists



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

Re: [SOGo] Web Performance issue

2012-03-27 Thread Alessio Cecchi

Il 26/03/2012 17:18, Marco Coli ha scritto:

Hello.

We've been using cyrus imap since 10 years.
Our actual machine is RHEL 6.2, DL380G6 with 8GB RAM

Recently, I installed (from yum rpm channel) and configured SOgo.
All went well, we are at the beginning, now we are testing the web access.

All is ok for users with a moderate quantity of mail folders, while for users 
with a lot of folders+a lot of Other Users folders+a lot of Shared Folders, 
there is a performance issue.
For example, at login, or changing from Calendar or Address Book to Mail, the 
user must wait around 10 seconds before seeing the mail tree.
Maybe is because by default the mail tree appears completely opened?

Do you think there is a workaround to this problem?
(in thunderbird, only witch cyrus at the moment, there is absolutely no delay 
in folder navigation or in launching application)

Thank you


Hi Marco,

what IMAP server are you using? Dovecot should have better performance 
than Cyrus.


Have you properly configured memcached?

--
Alessio Cecchi is:
@ ILS - http://www.linux.it/~alessice/
on LinkedIn - http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux - http://www.cecchi.biz/
@ PLUG - ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG - Socio http://www.lolug.net
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Web Performance issue

2012-03-27 Thread Marco Coli
Il 27/03/2012 08:57, Alessio Cecchi ha scritto:

 Hi Marco,

 what IMAP server are you using? Dovecot should have better performance
 than Cyrus.

I am using cyrus-imapd-2.4.14-1.el6.x86_64.
Are you sure about best Dovecot performances? For us is not possible to
migrate, we are using Cyrus for the last 10 years.
In the daily use, with Thunderbird as a client or with squirrelmail as
web application, we never experienced any performance issue.


 Have you properly configured memcached?


Well, it depends on what you intend with properly. At first memcached
was not active (as I noticed on sogo logs). After this I started it,
with these parameters:
PORT=11211
USER=nobody
MAXCONN=1024
CACHESIZE=64
OPTIONS=

But nothing has changed about this performance issue.
Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

Re: [SOGo] Web Performance issue

2012-03-27 Thread André Schild

Am 27.03.2012 19:52, schrieb Marco Coli:

Il 27/03/2012 08:57, Alessio Cecchi ha scritto:

Hi Marco,

what IMAP server are you using? Dovecot should have better performance
than Cyrus.

I am using cyrus-imapd-2.4.14-1.el6.x86_64.
Are you sure about best Dovecot performances? For us is not possible to
migrate, we are using Cyrus for the last 10 years.
In the daily use, with Thunderbird as a client or with squirrelmail as
web application, we never experienced any performance issue.
I don't think that cyrus is per default slower than dovecot (But 
that's another story)

Where do you see performance issues ?

We first need to find the bottleneck before we can find solutions

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


Re: [SOGo] Web Performance issue

2012-03-27 Thread Marco Coli
Il 27/03/2012 20:12, André Schild ha scritto:
 Where do you see performance issues ?

 We first need to find the bottleneck before we can find solutions


Thank you for your answer.
The performance issue are on the webmail, on users with a lot of
folders, shared folders, Other users folders, there is a big time (10
seconds ca.) when changing tabs from Calendar or Address Book to Mail tab.

There is no such delay using squirrelmail or regular email client.

Memcached is on, with default parameters:

PORT=11211
USER=nobody
MAXCONN=1024
CACHESIZE=64
OPTIONS=



Thank you
Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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

[SOGo] Web Performance issue

2012-03-26 Thread Marco Coli
Hello.

We've been using cyrus imap since 10 years.
Our actual machine is RHEL 6.2, DL380G6 with 8GB RAM

Recently, I installed (from yum rpm channel) and configured SOgo.
All went well, we are at the beginning, now we are testing the web access.

All is ok for users with a moderate quantity of mail folders, while for users 
with a lot of folders+a lot of Other Users folders+a lot of Shared Folders, 
there is a performance issue.
For example, at login, or changing from Calendar or Address Book to Mail, the 
user must wait around 10 seconds before seeing the mail tree.
Maybe is because by default the mail tree appears completely opened?

Do you think there is a workaround to this problem?
(in thunderbird, only witch cyrus at the moment, there is absolutely no delay 
in folder navigation or in launching application)

Thank you



--
Saluti - Marco Coli

Marco Coli

Global Services
CAD CAM Specialist

Tel.+39 057444741

Fax+39 0574440645

E-mail marco.c...@tecnosistemi.com
Web   www.tecnosistemi.com






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