Mailing List CGatePro@mail.stalker.com Message #104377
From: Christopher Mackay <macosxserveradmin@gmail.com>
Subject: Re: 5.2.3 (on Mac OS X Server) stops responding constantly
Date: Mon, 5 Aug 2013 16:10:43 -0300
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>

Hi,

Sorry, this has been on hold for a bit.

I'll look into assigning CommuniGate's LDAP ports to other numbers.

I've upgraded from 5.2.3 to 5.2.20 without incident — but also without solving the problem of CGP becoming unresponsive.

What next?

Chris

On 15 May 2013 21:37, Technical Support, Stalker Labs <support@stalker.com> wrote:
Hello,

On 14.05.2013 19:24, Christopher Mackay wrote:
Thanks;

I created /var/CommuniGate/Startup.sh according to the entry at the
bottom of http://www.communigate.com/CommuniGatePro/Scalability.html#OS.
It contains:

ulimit -d 1048576
ulimit -n 10000

I assume restarting CGP is enough for this to take effect (as opposed to
a full server Restart)?

Yes.


I've got lots of entries like the following:

00:22:02.000 1 LDAP failed to start listener on [0.0.0.0]:636. Error Code=network address/port is already in use
00:22:02.000 1 LDAP failed to start listener on [0.0.0.0]:389. Error Code=network address/port is already in use

It conflicts with the LDAP server from MacOSX. Either disable LDAP in MacOS or assign CommuniGate's LDAP ports to other numbers.


and

08:50:44.161 0 SYSTEM server 5.2.3 started under Apple MacOS X Darwin, open files limit=10000

Please upgrade to 5.2.20


08:50:44.161 0 SYSTEM process core dump limit=195M
08:50:44.161 0 SYSTEM process data size limit=1024M
13:22:34.859 0 SYSTEM server 5.2.3 started under Apple MacOS X Darwin, open files limit=10000
13:22:34.859 0 SYSTEM process core dump limit=195M
13:22:34.859 0 SYSTEM process data size limit=1024M
16:00:39.596 0 SYSTEM server 5.2.3 started under Apple MacOS X Darwin, open files limit=10000
16:00:39.596 0 SYSTEM process core dump limit=195M
16:00:39.596 0 SYSTEM process data size limit=1024M
21:11:17.022 0 SYSTEM server 5.2.3 started under Apple MacOS X Darwin, open files limit=10000
21:11:17.022 0 SYSTEM process core dump limit=195M
21:11:17.022 0 SYSTEM process data size limit=1024M

Did you restart it 4 times intentionally?

Does this help?


On 1 May 2013 22:07, Technical Support, Stalker Labs
<support@stalker.com <mailto:support@stalker.com>> wrote:

    On 01.05.2013 22:42, Christopher Mackay wrote:

        I've only got a 200-account licence; is this still likely to be
        an issue?


    Why not: the default value is 1024, half will be used for files, so
    you have only 500 sessions available; one user can open multiple
    sessions at a time...

    Also check for "Crashes only" and "Failures" messages in CommuniGate
    log for the time when it stops responding.



        On 1 May 2013 10:52, Technical Support, Stalker Labs
        <support@stalker.com <mailto:support@stalker.com>
        <mailto:support@stalker.com <mailto:support@stalker.com>>> wrote:

             Hello,

             On 29.04.2013 7:34, Christopher Mackay wrote:

                 This CPG install had been running happily for years,
        but has been
                 sporadically becoming unresponsive. Sometimes I have to
        kill its
                 process
                 many times per day, while other times it will run for weeks
                 without issue.

                 The server's uptime is something like 450 days, and
        I've made zero
                 configuration changes in forever.

                 What should I be looking for in the logs? Any other
        suggestions?


             My first guess it runs out of file descriptors; make sure
        you had
             used the "ulimit -n" to increase the default limit as
        described in

        <http://www.communigate.com/____CommuniGatePro/Scalability.____html#OS
        <http://www.communigate.com/__CommuniGatePro/Scalability.__html#OS>



        <http://www.communigate.com/__CommuniGatePro/Scalability.__html#OS
        <http://www.communigate.com/CommuniGatePro/Scalability.html#OS>>>

             Also upgrade from 5.2.3 to 5.2.20 from
             <ftp://ftp.communigate.com/____pub/CommuniGatePro/5.2/

        <ftp://ftp.communigate.com/__pub/CommuniGatePro/5.2/>> or to a newer

             version if your license allows that.




    --
    Sincerely,
    Roman
    ==============================__==============================__===========

    When answering to letters sent to you by the tech.support staff, make
    sure the original message you have received is included into your reply.

    ##############################__##############################__#

    This message is sent to you because you are subscribed to
      the mailing list <CGatePro@mail.stalker.com
    <mailto:CGatePro@mail.stalker.com>>.

    To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com
    <mailto:CGatePro-off@mail.stalker.com>__>

    To switch to the DIGEST mode, E-mail to
    <CGatePro-digest@mail.stalker.__com
    <mailto:CGatePro-digest@mail.stalker.com>>

    To switch to the INDEX mode, E-mail to
    <CGatePro-index@mail.stalker.__com
    <mailto:CGatePro-index@mail.stalker.com>>
    Send administrative queries to  <CGatePro-request@mail.__stalker.com
    <mailto:CGatePro-request@mail.stalker.com>>




--
Sincerely,
Roman
=======================================================================
When answering to letters sent to you by the tech.support staff, make
sure the original message you have received is included into your reply.

#############################################################
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