# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# envvars-std - default environment variables for apachectl
#
# This file is generated from envvars-std.in
#

if test "x$LIBPATH" != "x"; then
  LIBPATH="@@SERVERROOT@@/lib:@@GSK7LIBDIR@@:$LIBPATH:@@SERVERROOT@@/modules"
else
  LIBPATH="@@SERVERROOT@@/lib:@@SERVERROOT@@/modules:@@GSK7LIBDIR@@"
fi
export LIBPATH

AIXTHREAD_SCOPE=S 
export AIXTHREAD_SCOPE

AIXTHREAD_MUTEX_DEBUG=OFF
export AIXTHREAD_MUTEX_DEBUG

AIXTHREAD_RWLOCK_DEBUG=OFF
export AIXTHREAD_RWLOCK_DEBUG

AIXTHREAD_COND_DEBUG=OFF 
export AIXTHREAD_COND_DEBUG

SPINLOOPTIME=1000 
export SPINLOOPTIME

YIELDLOOPTIME=8 
export YIELDLOOPTIME

MALLOCTYPE=buckets 
export MALLOCTYPE

MALLOCBUCKETS=number_of_buckets:128,bucket_sizing_factor:64,blocks_per_bucket:1024
export MALLOCBUCKETS

# The location of the parent dir of the bundled LDAP codeset definitions for the embedded LDAP Client.
TISDIR=@@SERVERROOT@@
export TISDIR

# Flag required by the embedded LDAP client library
GSKIT_LOCAL_INSTALL_MODE=1
export GSKIT_LOCAL_INSTALL_MODE

# Uncomment the GSK_TRACE_FILE line below to enable GSKit tracing (5x100MB)
# GSK_TRACE_FILE=/tmp/gsktrace_log

GSK_TRACE_FILE_SIZE=104857600
GSK_TRACE_FILE_NUMBER=5
export GSK_TRACE_FILE
export GSK_TRACE_FILE_SIZE
export GSK_TRACE_FILE_NUMBER


OS=`uname`

# Avoid enormous default stack size
if [ $OS = "Linux" ]; then
  ulimit -s 512
fi

# Avoid low soft data segment size limit which limits heap
if [ $OS = "AIX" ]; then
  ULIMITD=`ulimit -Hd`
  if [ $ULIMITD = "unlimited" ]; then
    ulimit -d unlimited
  fi
fi

GSKIT_CLIENT_VERSION=8
export GSKIT_CLIENT_VERSION
