Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Modification & Patches
  • Search

Stripped and symlinked php binaries Topic is solved

Section with modification and patches for Vesta
Locked
  • Print view
Advanced search
3 posts • Page 1 of 1
mconstable
Posts: 5
Joined: Tue Mar 11, 2014 4:43 pm

Stripped and symlinked php binaries

Post by mconstable » Wed Mar 12, 2014 9:48 am

I hope this is the right section to post about this low priority issue. I was wondering why a du of /usr/local/vesta was so large and noticed the 2 binaries in /usr/local/vesta/php/sbin were not stripped and both binaries were exactly the same size so I stripped them and symlinked one to the other and so far the control panel is still working.

Before...

Code: Select all

~ /usr/local/vesta ll php/sbin
total 51968
-rwxr-xr-x 1 root root 26605030 Dec 28 01:57 php-fpm*
-rwxr-xr-x 1 root root 26605030 Dec 28 01:57 vesta-php*
After...

Code: Select all

~ /usr/local/vesta ll php/sbin
total 7716
-rwxr-xr-x 1 root root 7898120 Mar 12 19:41 php-fpm*
lrwxrwxrwx 1 root root       7 Mar 12 19:44 vesta-php -> php-fpm*
Top

mconstable
Posts: 5
Joined: Tue Mar 11, 2014 4:43 pm

Re: Stripped and symlinked php binaries

Post by mconstable » Wed Mar 12, 2014 2:23 pm

After stripping and symlinking some binaries in nginx/sbin, php/bin and php/sbin my /usr/local/vesta size went from 128Mb to 37Mb which, to me, is still too large for a few 1000 docker containers but certainly better than what it was by default.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Stripped and symlinked php binaries

Post by skurudo » Wed Feb 14, 2018 6:46 am

Closed due inactivity.
Top


Locked
  • Print view

3 posts • Page 1 of 1

Return to “Modification & Patches”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password