Ludovic,
I'm running SOGo 4.0.8 and SOPE 4.9.
I have found a solution to this problem. I'm running SOGO (both instances) using systemd. The EAS instance has been the only one with this problem.
My EAS instance service file it sogod-eas.service. I've created the file override.conf within /etc/systemd/system/sogod-eas.service.d. The file contains:
[Service]
LimitNOFILE=infinity
TasksMax=infinity
Once this file was in place I was able to create more than 508 child processes without a problem. I'm currently running with 700 eas processes.
Thanks,
Bob
Bob Dushok
Director of Enterprise Systems and Computer Labs
Luzerne County Community College
1-800-377-5222 ext 7327
bdus...@luzerne.edu
Director of Enterprise Systems and Computer Labs
Luzerne County Community College
1-800-377-5222 ext 7327
bdus...@luzerne.edu
----- Original message -----
From: ""Ludovic Marcotte (lmarco...@inverse.ca)" <users@sogo.nu>
Sent by: users-requ...@sogo.nu
To: users@sogo.nu
Cc:
Subject: Re: [SOGo] Users can't configure clients to use ActiveSync
Date: Mon, Nov 11, 2019 11:17 AM
Hi Bob,
Which version of SOGo and SOPE are you using?
Thanks,
On 2019-11-11 10:42 a.m., bdus...@luzerne.edu wrote:
- Michel,
Thanks for your response.
The Sogo logs don't appear to address the problem. I am seeing the error "No child available to handle incoming request!" around the time of the connection attempt, but I can't match it with the configuration attempt.
The users aren't using Office, they are using the ActiveSync support included with iOS and Android.
I'm not certain if I understand your third point. The URL I'm using is https. We have a CA signed cert installed in Nginx.
Since I posted my original message I've done a lot of additional troubleshooting. It seems like the "No child available to handle incoming request!" error may indicate there aren't enough child processes available. I've tried increasing WOWorkerCount unsuccessfully. When I attempt to increase this count I begin obtaining the "sogod [1716]: [ERROR] <0x0x5595d0273e50[WOHttpAdaptor]> failure notifying watchdog we are ready during events registration: <NGSocketShutdownDuringWriteException: 0x5595d0273770> NAME:NGSocketShutdownDuringWriteException REASON:the socket was shutdown INFO:{errno = 32; error = "Broken pipe"; stream = "{object = 0x5595d03818f0;}"; }" error.
I'm able to start exactly 508 workers. When I attempt 509 workers the error appears and SOGo shutdown quickly after startup.
I believe this may be OS related but I can't solve it. I've changed /etc/security/limits.d/20-nproc.conf to include:
sogo soft nproc unlimited
sogoeas soft nproc unlimited
root soft nproc unlimited
No difference.
I’ve also tried changing /etc/security/limits.conf to include:
sogo - stack 32768
sogo - nproc 8192
sogoeas - stack 32768
sogoeas - nproc 8192
Again, no change.
I'm researching thread/process limits per user in Linux. So far I haven't had any success.
Thanks again,
Bob
Bob Dushok
Director of Enterprise Systems and Computer Labs
Luzerne County Community College
1-800-377-5222 ext 7327
bdus...@luzerne.edu
- ----- Original message -----
From: ""Support (supp...@foxserv.be)" <users@sogo.nu>
Sent by: users-requ...@sogo.nu
To: users@sogo.nu
Cc:
Subject: Re: [SOGo] Users can't configure clients to use ActiveSync
Date: Sat, Nov 9, 2019 7:27 AM
Hello
- 3 things
- First thing, what does Sogo's logs say?
- Second thing, the Office version, is that the last one?
- 3rd thing, when you add the URL with the subdomain with /Microsoft-Server-ActiveSync, you add it without the "https", because if you add it, was that my mistake, it actually adds an error message.
- Have a good day
Michel
- Le Mercredi, Novembre 06, 2019 16:19 CET, "bdus...@luzerne.edu" <users@sogo.nu> a écrit:
- We've recently begun receiving reports from some of our students indicating they can't configure their phones to access Sogo. I've verified this using iOS and an encountering the problem as well.
- Users select to add a Microsoft Exchange account, enter their e-mail address, select to configure manually when prompted, enter their password when prompted, then click next. iOS displays "Verifying..." for a few seconds and then prompts for more information. They enter the correct server, username, and password then click next. After a pause of about a minute with "Verifying" displayed the error "Unable to verify account information" appears.
- I've been checking both my nginx and sogo logs and can't find any details on the problem.
- I'm running a separate instance for eas traffic as specified at https://sogo.nu/support/faq/dedicated-separate-sogo-instance-for-activesync.html
- The nginx logs are showing a LOT of ActiveSync traffic. I believe this problem is related to something in my configuration, not users ability to access our server. It appears users who have preexisting configs are fine. New users can’t seem to configure their devices.
- I am seeing the following errors within my SOGo log:
- Nov 06 10:05:45 sogod [32707]: [ERROR] <0x0x55720946ebf0[WOWatchDog]> No child available to handle incoming request!
- We have a large number of users accessing the EAS instance. I initially had the WOWorkersCount for the eas instance set to 400. I have it set to 500 now. When I try setting it higher I encounter the following error in the SOGo log:
- sogod [1716]: [ERROR] <0x0x5595d0273e50[WOHttpAdaptor]> failure notifying watchdog we are ready during events registration: <NGSocketShutdownDuringWriteException: 0x5595d0273770> NAME:NGSocketShutdownDuringWriteException REASON:the socket was shutdown INFO:{errno = 32; error = "Broken pipe"; stream = "{object = 0x5595d03818f0;}"; }
- I’m going to investigate any OS related limits which may be causing this problem. Could lack of threads be preventing new users from configuring their devices?
- Does anyone have any suggestions on what I should look for while troubleshooting this problem?
- Thanks,
- Bob
- Bob Dushok
- Director of Enterprise Systems and Computer Labs
- Luzerne County Community College
- 1-800-377-5222 ext 7327
- bdus...@luzerne.edu
- --
- users@sogo.nu
- https://inverse.ca/sogo/lists
--
users@sogo.nu
https://inverse.ca/sogo/lists
--
Ludovic Marcottelmarco...@inverse.ca :: +1.514.755.3630 :: https://inverse.caInverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (https://fingerbank.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists
users@sogo.nu
https://inverse.ca/sogo/lists