Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: my 2.2.17 httpd is huge - is this right? |
|
Author |
|
Richard_D
Joined: 05 Nov 2010 Posts: 3
|
Posted: Fri 05 Nov '10 11:31 Post subject: my 2.2.17 httpd is huge - is this right? |
|
|
My Apache httpd binary for centos from a year and a half ago (2.2.8, I think) was 313,372 bytes. The new one httpd for 2.2.17 is 1,772,059. Can this be right? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 05 Nov '10 19:54 Post subject: |
|
|
Did you compile it yourself, used yum or an rpm?
My self compiled apache on unbuntu with all libs and docs is 21 Megabyte Your 1,772,059 bytes seem to be small. Or is it just httpd? My httpd binary is 1888515 bytes. I think the size depends how much modules you compile in static or not static (dso).
I think the size is ok
Code: |
mario@server:/opt/apache$ du -h
8,0K ./htdocs
12K ./cgi-bin
616K ./manual/vhosts
4,0K ./manual/style/xsl/util
8,0K ./manual/style/xsl
56K ./manual/style/css
8,0K ./manual/style/latex
4,0K ./manual/style/lang
116K ./manual/style
468K ./manual/howto
720K ./manual/programs
6,3M ./manual/mod
272K ./manual/platform
24K ./manual/faq
184K ./manual/rewrite
200K ./manual/images
220K ./manual/ssl
224K ./manual/developer
460K ./manual/misc
13M ./manual
60K ./conf/original/extra
80K ./conf/original
60K ./conf/extra
212K ./conf
32K ./man/man1
60K ./man/man8
96K ./man
2,2M ./bin
1,4M ./include
280K ./build
12K ./lib/pkgconfig
3,1M ./lib
16K ./modules
16K ./error/include
208K ./error
36K ./logs
260K ./icons/small
944K ./icons
21M .
|
|
|
Back to top |
|
Richard_D
Joined: 05 Nov 2010 Posts: 3
|
Posted: Sat 06 Nov '10 6:36 Post subject: |
|
|
I was referring just to the 'httpd' binary file itself. It was 303K a little more than a year ago and worked fine, but the current build is a whopping 1.7 MB. It seems odd that it would have bloated so much in such a relatively short time. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 06 Nov '10 12:32 Post subject: |
|
|
Well the libraries are rather big ... so if one or two were statically built this time around ... that could make the difference.
On Linux, this is a real possibility since you have a built in so to speak APR. 2.2.17 is on a new APR-Util and it may be that something else in that system cannot use the newer one, so the maintainers statically build in APR-Util ... which on Win the library is almost 1 meg.
Most (not all) the bloat has been in the form of modules, which is only bloat if needed in a sense cause they sit dormant if not. DSOs that is. Bloat if built in. |
|
Back to top |
|
Richard_D
Joined: 05 Nov 2010 Posts: 3
|
Posted: Sat 06 Nov '10 14:35 Post subject: |
|
|
Thanks for the reply and the info. Much appreciated! |
|
Back to top |
|
|
|
|
|
|