Jevgenijs Rogovs
jevgenijsr at gmail.com
Wed Jan 9 11:03:55 EST 2008
Roberto, You were right, I built mod_python myself, and it is not stripped. Here's the output of the file command: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped So, what do I do to strip those symbols? I am building by the book, i.e. ./configure --with-aspx=/path/to/aspx make make install Should there be some additional switch added to the configure command, or? Anyhow, thanks for your help! With best regards, J.R. On Jan 9, 2008 4:25 PM, Roberto C. Sánchez <roberto at connexer.com> wrote: > On Wed, Jan 09, 2008 at 03:01:57PM +0100, Jevgenijs Rogovs wrote: > > Hello everyone, > > > > I'm experiencing performance issues with Trac (http://trac.edgewall.org/) > , > > which were nailed down to mod_python, so now I'm looking for ways to > > increase its performance. First of all, it looks like on the system in > > question it is linked statically (judging by the size of mod_python.so > being > > 4,991,304 bytes), but I'd like to build it for dynamic linking. The > question > > is - how do I do that? No matter what I try, the result seems to be the > > same... > > > > Here's the environment: RH Enterprise Release 3 (kernel 2.4.20-8), > Apache > > HTTPD 2.0.54, Python 2.5.1, mod_python 3.3.1. > > > Judging by the version numbers, I am guessing that you are compiling > your own Python and mod_python. Have you considered that it might be > that the library is just not stripped? You can check by running this > command: > > file /path/to/mod_python.so > > It will tell you if it is statically linked or dynamically linked. > Additionally it will tell you if the debugging symbols have been > stripped. If they have not, they could also take up a large amount of > space. > > Regards, > > -Roberto > -- > Roberto C. Sánchez > http://people.connexer.com/~roberto<http://people.connexer.com/%7Eroberto> > http://www.connexer.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFHhOdP5SXWIKfIlGQRAjBOAJ4jyq5gEAP2h9BPP2IC1Ukea6PhmACfeSRB > tKDlePepvRgukxEs62mGnmA= > =C/Tq > -----END PGP SIGNATURE----- > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080109/017e8ff7/attachment.html
|