Caching server - named process is limit at 500MB

Chu Ha Khanh khanh.chu at svtech.com.vn
Fri Apr 26 08:42:09 UTC 2013


Hi,

Long time trying but still cannot pass the issue. This is my steps I do,
could u please take a look?

I install SunStudio SunStudio12u1-SunOS-SPARC-pkgs-ML. 

gunzip bind-9.9.2-P2.tar.gz 
tar xf bind-9.9.2-P2.tar 
CC="/bin/cc"
CXX="/bin/CC"
F77="/bin/f77"
CFLAGS="-m64 -Qoption cg -xregs=no%appl -xmemalign=8s -mt"
CXXFLAGS="-m64"
LDFLAGS="-L/usr/sfw/lib/64:/lib/64:/usr/lib/64"
 LIBS="-l/usr/sfw/lib/64"
 LD_LIBRARY_PATH="/usr/sfw/lib/64:/lib/64:/usr/lib/64"
 PATH=$PATH:/usr/ccs/bin
 ./configure -bindir=/opt/cbind9 --disable-openssl-version-check
 make
make install
cd /opt/cbind9/
There is no named!?    

No works. 

Thanks and Best Regards,

 ===================================================
Chu Ha Khanh
 Website: www.svtech.com.vn      E-mail: khanh.chu at svtech.com.vn     

-----Original Message-----
From: Jaco Lesch [mailto:jacol at saix.net] 
Sent: Wednesday, April 17, 2013 2:29 PM
To: Chu Ha Khanh
Cc: 'Mike Hoskins (michoski)'; bind-users at lists.isc.org
Subject: Re: Caching server - named process is limit at 500MB

Chu

My version of BIND is compiled 64-bit and running:
 >~: file bin/named/named
bin/named/named:        ELF 64-bit MSB executable SPARCV9 Version 1, 
dynamically linked, not stripped

Compiled with Studio I passed the following variables in configure:
CC="/bin/cc"
CXX="/bin/CC"
F77="/bin/f77"
CFLAGS="-m64 -Qoption cg -xregs=no%appl -xmemalign=8s -mt"
CXXFLAGS="-m64"
LDFLAGS="-L/usr/sfw/lib/64:/lib/64:/usr/lib/64"
LIBS="-l/usr/sfw/lib/64"
LD_LIBRARY_PATH="/usr/sfw/lib/64:/lib/64:/usr/lib/64"

The important flag is CFLAGS="-m64" to tell make to generate 64-bit
binaries.

For GCC you can do something like this for configure:
CC=/usr/bin/gcc
CFLAGS="-m64 -mcpu=v9"
CXX=/usr/bin/g++
CXXFLAGS="-m64 -mcpu=v9"
F77=/usr/bin/gfortran

See how that goes. If you are going to use DNSSEC make sure OpenSSL also
have 64 libraries available.

Regards


On 17/04/2013 04:46, Chu Ha Khanh wrote:
> Hi,
>
> Here is my output from command. It looks like my bind version is 
> actually 32 bit. But there are some default applications also 32 bit 
> although all are installed on a 64 bit OS. I have to check this for a
moment.
>
> bash-3.2# file `which named`
> /usr/local/sbin/named:  ELF 32-bit LSB executable 80386 Version 1, 
> dynamically linked, not stripped bash-3.2# bash-3.2# file 
> /usr/local/bin/gcc
> /usr/local/bin/gcc:     ELF 32-bit LSB executable 80386 Version 1 [FPU],
> dynamically linked, not stripped
> bash-3.2# file `which java`
> /usr/bin/java:  ELF 32-bit LSB executable 80386 Version 1 [FPU], 
> dynamically linked, not stripped, no debugging information available 
> bash-3.2# isainfo -kv 64-bit amd64 kernel modules
>
> Thanks and Best Regards,
>   Website: www.svtech.com.vn      E-mail: khanh.chu at svtech.com.vn
>
> -----Original Message-----
> From: Mike Hoskins (michoski) [mailto:michoski at cisco.com]
> Sent: Wednesday, April 17, 2013 9:34 AM
> To: Chu Ha Khanh; 'Jaco Lesch'
> Cc: bind-users at lists.isc.org
> Subject: Re: Caching server - named process is limit at 500MB
>
> -----Original Message-----
>
> From: Chu Ha Khanh <khanh.chu at svtech.com.vn>
> Date: Tuesday, April 16, 2013 10:25 PM
> To: 'Jaco Lesch' <jacol at saix.net>
> Cc: "bind-users at lists.isc.org" <bind-users at lists.isc.org>
> Subject: RE: Caching server - named process is limit at 500MB
>
>> Hi,
>>
>> How to check 64 bit version of bind?
>>
>> I often download source code from isc.org and compile on 64 bit 
>> Solaris
>> 10 OS then. I always consider my version is 64 bit.
> $ file `which named`
> /usr/sbin/named: ELF 64-bit LSB shared object, AMD x86-64, version 1 
> (SYSV), for GNU/Linux 2.6.9, stripped
>
>
> (or whatever path to the right named executable...)
>

--
---
Jaco Lesch
SAIX HLS
Email: jacol at saix.net



More information about the bind-users mailing list