That figure of 1MB was from a very very long time ago. One would expect the 
size to be greater now since lot more features have been added. Size also 
depends on whether your Python installation is building optimised images or not.

What is the actual size of the mod_wsgi.so file, you don't actually say?

> On 5 Jul 2020, at 6:27 pm, Giorgos Fournarakis <[email protected]> 
> wrote:
> 
> Hello! 
> 
> I did pip install mod_wsgi in a python 3.8.3 (installed with 
> CONFIGURE_OPTS=--enable-shared pyenv install 3.8.3) pyenv virtualenv  
> following the documentation instructions on an Ubuntu 16.04 server with 
> apache 2.4.41 and got a wsgi.so file over 1MB in size.
> ldd gives the required shared libraries exactly as the documentation 
> describes it in Lack Of Python Shared Library 
> <https://modwsgi.readthedocs.io/en/develop/user-guides/installation-issues.html#lack-of-python-shared-library>
>  
> <https://modwsgi.readthedocs.io/en/develop/user-guides/installation-issues.html#lack-of-python-shared-library>
> ~/.pyenv/versions/3.8.3/envs/venv_3.8.3/lib/python3.8/site-packages/mod_wsgi/server$
>  ldd mod_wsgi-py38.cpython-38-x86_64-linux-gnu.so
> linux-vdso.so.1 =>  (0x00007ffd997fd000)
> libpython3.8.so.1.0 => 
> /home/directory/.pyenv/versions/3.8.3/lib/libpython3.8.so.1.0 
> (0x00007fe199a12000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe1997f5000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe19942b000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe199227000)
> libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fe199024000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe198d1b000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fe19a1fc000)
> Is this something that I should take care of?
> 
> P.S I saw the older post [modwsgi] Size of mod_wsgi.so when built with python 
> shared library 
> <https://groups.google.com/d/msg/modwsgi/SU8moc1v-BA/mdfI5DMifX8J> but the 
> difference in size is big enough so to think that might be a good reason to 
> ask about it.
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/7d416377-bdd2-4245-8cbb-71551bc1ae9fo%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/7d416377-bdd2-4245-8cbb-71551bc1ae9fo%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/2EC9B7F2-2780-4B7D-9979-724ADF7B2481%40gmail.com.

Reply via email to