Mailing List CGatePro@mail.stalker.com Message #106847
From: Ralf Zenklusen, BAR Informatik AG r.zenklusen@barinformatik.ch <CGatePro@mail.stalker.com>
Subject: AW: too many files open
Date: Fri, 08 Jun 2018 09:49:38 +0200
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.52.54.12/1.54.12.21
Hi Marcel,
not sure but maybe you entered the "ulimit -n 20000" in the wrong location?

It's not a startup option of CGate but a command for your OS.
I've put this on a separate line of the start script.



Regards
Ralf

-----Urspr├╝ngliche Nachricht-----
Von: CommuniGate Pro Discussions [mailto:CGatePro@mail.stalker.com]
Gesendet: Freitag, 8. Juni 2018 09:31
An: CommuniGate Pro Discussions
Betreff: Re: too many files open

Hi

I have this same error with CGP 6.2.5

I updated CGP 6.1.6 to 6.2.5 yesterday. It then had open files limit=256 !!!

Today I got back to 6.1.6 which has open files limit=119950 (without any Startup options).

I also tried with "ulimit -n 20000", but this doesn't work as these Log-Lines tell me:

CGP-Log:
17:27:04.302 0 SYSTEM server 6.2.5 started under Apple MacOS X Darwin(x86-64)
17:27:04.302 2 SYSTEM start options: "--Base" "/var/CommuniGate" "ulimit" "-n" "20000"
17:27:04.302 2 SYSTEM open files limit=256

Syslog:
Jun  7 17:27:04 mailserver CommuniGatePro[84113]: Starting CommuniGate Pro
Jun  7 17:27:04 mailserver CommuniGatePro[84113]: CommuniGate Pro server 6.2.5 started
Jun  7 17:27:06 mailserver CommuniGatePro[84118]: unknown startup parameter: ulimit
Jun  7 17:27:06 mailserver CommuniGatePro[84118]: unknown startup parameter: -n
Jun  7 17:27:06 mailserver CommuniGatePro[84113]: unknown startup parameter: ulimit
Jun  7 17:27:06 mailserver CommuniGatePro[84113]: unknown startup parameter: -n
Jun  7 17:27:06 mailserver CommuniGatePro[84118]: unknown startup parameter: 20000
Jun  7 17:27:06 mailserver CommuniGatePro[84113]: unknown startup parameter: 20000

It runs on an Xserve Quad-Core Xeon with Mac OS X 10.6.8

How can I solve this problem?


Marcel

_______________________________________



> Am 29.01.2015 um 22:21 schrieb Ralf Zenklusen <ralf.zenklusen@barinformatik.ch>:
>
> Try with "ulimit -n 20000"
>
> Regards
> Ralf
>
>
> -----Urspr├╝ngliche Nachricht-----
> Von: CommuniGate Pro Discussions [mailto:CGatePro@mail.stalker.com] Im Auftrag von Karl Zander
> Gesendet: Donnerstag, 29. Januar 2015 20:59
> An: CommuniGate Pro Discussions
> Betreff: too many files open
>
> We see "too many files open" errors in our logs.  And the server starts flaking out.   We end up restarting CGP.
>
> 10:41:07.3024 3 SMTP [172.16.xx.xx]:25 <- [118.169.xx.xx]:63475 rejected, too many files open (fd=8179)
> 10:41:10.1369 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3926 rejected, too many files open (fd=8179)
> 10:41:10.2380 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3939 rejected, too many files open (fd=8179)
> 10:41:10.3395 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3949 rejected, too many files open (fd=8179)
> 10:41:10.4499 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3965 rejected, too many files open (fd=8179)
> 10:41:10.5608 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3974 rejected, too many files open (fd=8179)
> 10:41:10.6717 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3982 rejected, too many files open (fd=8179)
> 10:41:10.7725 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3991 rejected, too many files open (fd=8179)
> 10:41:11.2854 3 SMTP [172.16.xx.xx]:25 <- [71.100.147.55]:3999 rejected, too many files open (fd=8179)
> 10:41:14.3602 3 SMTP [172.16.xx.xx]:25 <- [112.171.241.13]:12703 rejected, too many files open (fd=8179)
>
> Looks like a lot of connections from the same address.
>
> Running CGP 6.0.11 on Gentoo Linux
>
> In the CGP startup script we have
>
>    ulimit -u 2048
>    ulimit -n 8192
>
> 10:42:19.4187 0 SYSTEM server 6.0.11 started under Linux(x86-64)
> 10:42:19.4187 2 SYSTEM start options: "--Base" "/var/CommuniGate" "--Daemon"
> 10:42:19.4187 2 SYSTEM open files limit=8192
> 10:42:19.4187 2 SYSTEM process core dump limit=0M
>
> How do we mitigate this?
>
> --Karl
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list <CGatePro@mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com> To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com> Send administrative queries to  <CGatePro-request@mail.stalker.com>
>
>
>
>
> #############################################################
> This message is sent to you because you are subscribed to
>  the mailing list <CGatePro@mail.stalker.com>.
> To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
> To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
> To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
> Send administrative queries to  <CGatePro-request@mail.stalker.com>

 
#############################################################
This message is sent to you because you are subscribed to
  the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>



Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster