That is totally fine. The issue is when it is getting up to 10MB or so, which 
indicates the Python library had been statically linked into it. These days I 
am not even sure that it is possible for it to happen. Things have changed 
about how static objects are built with 64 bit systems such that trying to link 
a static library into a dynamic object possibly has a tendency to always fails.

> On 6 Jul 2020, at 1:16 am, George Fournarakis <[email protected]> wrote:
> 
> Oh sorry,
> mod_wsgi.so size in my situation is 1157792 bytes
>  
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Graham Dumpleton
> Sent: Sunday, July 5, 2020 1:57 PM
> To: [email protected]
> Subject: Re: [modwsgi] Newbie questions regarding installation and python 
> shared library
>  
> You still aren't saying what the size of the mod_wsgi.so file is.
> 
> 
>> On 5 Jul 2020, at 8:56 pm, Giorgos Fournarakis <[email protected] 
>> <mailto:[email protected]>> wrote:
>>  
>> Yes, that was my concern, the size of mod_wsgi.so. 
>> Thank you Graham
>> 
>> Τη Κυριακή, 5 Ιουλίου 2020 - 12:37:00 μ.μ. UTC+3, ο χρήστης Graham Dumpleton 
>> έγραψε:
>>> 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] 
>>>> <mailto:[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>
>>>> ~/.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] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/modwsgi/147b71fd-4e9e-44fc-82f3-3f813801457ao%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/modwsgi/147b71fd-4e9e-44fc-82f3-3f813801457ao%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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/B5A000D6-7C51-4459-B950-0BEB96D22951%40gmail.com
>  
> <https://groups.google.com/d/msgid/modwsgi/B5A000D6-7C51-4459-B950-0BEB96D22951%40gmail.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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/0bb701d652df%2440575c20%24c1061460%24%40gmail.com
>  
> <https://groups.google.com/d/msgid/modwsgi/0bb701d652df%2440575c20%24c1061460%24%40gmail.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/7F543C47-CAF8-4821-AFF0-A6E83294CF54%40gmail.com.

Reply via email to