On Sun, Nov 29, 2009 at 2:56 AM, Bret S. Lambert <[email protected]> wrote:
> On Sun, Nov 29, 2009 at 02:09:49AM +0700, ~Lst wrote:
>> On Sun, Nov 29, 2009 at 2:04 AM, Bret S. Lambert <[email protected]> 
>> wrote:
>> > On Sun, Nov 29, 2009 at 01:56:19AM +0700, ~Lst wrote:
>> > [ snippzorz ]
>> >
>> >> Could you tell me how is running bgplgsh under chroot ?
>> >

I tried running bgplgsh under chroot, still works if its via CLI but
not via web.

-bash-4.0# ps -aux | grep chroot
www       4592  0.0  0.3  1356  2120 ??  Ss    10:36AM    0:01.07
httpd: parent [chroot /var/www] (httpd)

-bash-4.0# ls -l /var/www/bin/bgplgsh
-r-xr-xr-x  1 root  daemon  28052 Nov 29 10:09 /var/www/bin/bgplgsh

-bash-4.0# /var/www/bin/bgplgsh
Orion-OpenBGPD-LG> show ip bgp memory
RDE memory statistics
    299769 IPv4 network entries using 6.9M of memory
    599538 rib entries using 18.3M of memory
    599538 prefix entries using 18.3M of memory
    107114 BGP path attribute entries using 7.8M of memory
     46198 BGP AS-PATH attribute entries using 2.1M of memory,
           and holding 107114 references
      8197 BGP attributes entries using 192K of memory
           and holding 126690 references
      8196 BGP attributes using 151K of memory
RIB using 53.6M of memory


Rgds,
--
~Lst

Reply via email to