On Wed, Aug 18, 2010 at 4:48 AM, Krisztian Ganyai <
[email protected]> wrote:

>  Hi,
>
>
>
> I would insert it in the onWebUi() function of /usr/bin/sipxconfig.sh as a
> new line somewhere after the “exec $JavaCmd \”. I have 4.2 vanilla and the
> suitable line numbers are 201-204 there.
>
> Please let me know how it went.
>
>
>
>
I have a customer who is currently fighting the JAVA memory errors with CDR
reports. What changes exactly need to be made here to increase them memory?

onWebUi() {

    runningUserCheck || exit 1

    firstRunCheck

    databaseCommand upgrade
    databaseVersionCheck

    setTrustStoreOpts

    JavaOpts="$SIPXCONFIG_OPTS"

    clearIndexLocks

    X509Algorithm=`$JavaCmd \
       -classpath "$Classpath" \
       org.sipfoundry.sipxconfig.common.X509Selector`

    # Used in sipxconfig-jetty.xml only
    SystemProps="\
        -Djava.io.tmpdir=${TmpDir} \
        -Djetty.lib.dir=/usr/share/java/sipXecs/sipXconfig \
        -Djetty.conf.dir=/etc/sipxpbx \
        -Djetty.log.dir=${LogDir} \
        -Djetty.x509.algorithm=${X509Algorithm} \
        -Dorg.apache.lucene.lockdir=${IndexDir} \

-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
\
        -Djava.awt.headless=true"

    KeyStoreOpts="\
      -Djavax.net.ssl.keyStore=$SslDir/ssl.keystore \
      -Djavax.net.ssl.keyStorePassword=$StorePassword"

    Classpath=`classpath \
        /etc/sipxpbx \
      ${CommonsLibDir}/*.jar \
        ${LibDir}/*.jar`

    echo $$ > ${PidFile}

    exec $JavaCmd \
       $SystemProps \
       $JavaOpts \
       $TrustStoreOpts \
       $KeyStoreOpts \
       -classpath "$Classpath" \
       org.mortbay.jetty.Server /etc/sipxpbx/sipxconfig-jetty.xml
}
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to