The issue with the process-group option you have is that it doesn't match the 
name of the process group. You have "custom" instead of "ipt".

To be honest I even missed you had the process-group option in there. Since 
didn't match you should actually have got an error. So maybe you do have it 
correct.

Note another video to watch which touches on performance is:

https://www.youtube.com/watch?v=SGleKfigMsk
Using benchmarks to understand how WSGI servers work. by Graham Dumpleton
youtube.com


BTW, make sure you have:

    WSGIRestrictEmbedded On

set in global Apache configuration if using daemon process mode.

Graham

> On 15 Dec 2023, at 4:49 am, Manu Itutur <iturbide.emman...@gmail.com> wrote:
> 
> Thanks for your answer,
> 
> In my file I use absolute path, I remove some "sensitive" data, therefore 
> it's then a relative path, sorry for the confusion. 
> 
> I already watched both video couple of days ago, but I guess I missed 
> something. I will check process-group option in  WSGIScriptAlias, hope things 
> will be clarified.
> 
> 
>  
> 
> On Wednesday, December 13, 2023 at 8:25:46 PM UTC+1 Graham Dumpleton wrote:
>> BTW the location given in python-path, second argument to WSGIScriptAlias 
>> and argument to Directory directive are supposed to be absolute paths, not 
>> relative. Use of a relative path might cause incorrect results.
>> 
>> For a virtual environment you should not use python-path like that anyway. 
>> Instead use python-home to virtual environment root. See:
>> 
>> Virtual Environments — mod_wsgi 5.0.0 documentation
>> modwsgi.readthedocs.io
>> 
>>  
>> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>Virtual
>>  Environments — mod_wsgi 5.0.0 documentation 
>> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
>> modwsgi.readthedocs.io 
>> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
>>        
>> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
>> 
>> 
>>> On 14 Dec 2023, at 1:45 am, Manu Itutur <iturbide...@gmail.com <>> wrote:
>>> 
>> 
>>> WSGIDaemonProcess ipt python-path=virtualenv/lib/python3.7/site-packages 
>>> processes=7 threads=2 display-name=custom-apache
>>> WSGIScriptAlias / conf/wsgi.preprod.py <http://wsgi.preprod.py/> 
>>> process-group=custom application-group=%{GLOBAL}
>>> WSGIApplicationGroup %{GLOBAL}
>>> <Directory conf>
> 
> 
> -- 
> 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 modwsgi+unsubscr...@googlegroups.com 
> <mailto:modwsgi+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/9973f79c-6265-4cee-a876-262b09975fa4n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/9973f79c-6265-4cee-a876-262b09975fa4n%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 modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/891D814F-74F0-4BB5-95E3-E7AEDC8FC565%40gmail.com.

Reply via email to