What you probably want is:
WSGIDaemonProcess mysite user=intrack group=intrack
python-path=/home/intrack/intrack_pythonenv/lib/python2.5/site-packages
processes=2 threads=25
WSGIProcessGroup mysite
WSGIScriptAlias / /var/www/wsgi_scripts/InTrack.wsgi
Thank you kindly, that took
2009/4/16 Alen Ribic alen.ri...@gmail.com:
What you probably want is:
WSGIDaemonProcess mysite user=intrack group=intrack
python-path=/home/intrack/intrack_pythonenv/lib/python2.5/site-packages
processes=2 threads=25
WSGIProcessGroup mysite
WSGIScriptAlias /
2009/4/16 Alen Ribic alen.ri...@gmail.com:
Ok that fixed the socket connection permission issue.
I confirm that all is working now.
The WSGISocketPrefix directive worked.
I just set mine to:
WSGISocketPrefix /tmp/wsgi
Preferably do not put it in /tmp, especially if this is a shared
So, try the 'run/wsgi' value first, with no leading slash.
I am running on a RedHat flavored distro, so:
WSGISocketPrefix run/wsgi
worked 100%.
Thank you again.
-Alen
On Apr 16, 10:25 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/4/16 Alen Ribic alen.ri...@gmail.com:
Another issue:
After I add WSGIDaemonProcess moin user=someuser group=somegroup
home=/home/someuser processes=5 threads=10 maximum-requests=1000
umask=0007 to my http.conf,I could not start the apache service,got
the err message:The Apache service named reported the following
error:
Invalid
2009/4/16 Chunlin Zhang zhangchun...@gmail.com:
Another issue:
After I add WSGIDaemonProcess moin user=someuser group=somegroup
home=/home/someuser processes=5 threads=10 maximum-requests=1000
umask=0007 to my http.conf,I could not start the apache service,got
the err message:The Apache
I have installed Apache/2.0.59 with MPM prefork with mod_wsgi and
it works.
But I wanted to installed MPM worker so I compiled and installed
Apache/2.0.63 with MPM worker to a different directory but have not
installed again mod_wsgi .Instead I copied the installed mod_wsgi to
the modules
2009/4/16 Johny pyt...@hope.cz:
I have installed Apache/2.0.59 with MPM prefork with mod_wsgi and
it works.
But I wanted to installed MPM worker so I compiled and installed
Apache/2.0.63 with MPM worker to a different directory but have not
installed again mod_wsgi .Instead I copied
Can you also post what the values of LDFLAGS and LDLIBS in the
generated Makefile in mod_wsgi source directory are after having run
configure.
Graham
2009/4/16 Graham Dumpleton graham.dumple...@gmail.com:
What do you get when you run:
otool -L mod_wsgi.so
Graham
2009/4/16 frank h.
Graham,
Thank you for your reply.
So I tried to rebuild the mod_wsgi but it finds the old Apache
( prefork version) 2.0.59
root@ /mod_wsgi-2.4# ./configure
checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.0.59
checking for python... /usr/bin/python
On Thu, Apr 16, 2009 at 6:40 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
Daemon mode is not available on Windows. Just drop the
WSGIDaemonProcess and WSGIProcessGroup directives.
Will it be supported in the future?
Graham
Thanks!
On Thu, Apr 16, 2009 at 11:31 AM, Chunlin
Graham,
thanks for your help, here comes the output
$ grep LD Makefile
LDFLAGS = -F/Library/Frameworks -framework Python -u _PyMac_Error -
arch ppc
LDLIBS = -ldl
$(APXS) -c $(CPPFLAGS) $(CFLAGS) mod_wsgi.c $(LDFLAGS) $(LDLIBS)
$ otool -L /opt/apache2/modules/mod_wsgi.so
2009/4/16 Chunlin Zhang zhangchun...@gmail.com:
On Thu, Apr 16, 2009 at 6:40 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
Daemon mode is not available on Windows. Just drop the
WSGIDaemonProcess and WSGIProcessGroup directives.
Will it be supported in the future?
No. Windows
The urls that not working aren't using anything except the plain
django 1.0.2. (No GeoDjango). So it could be django. How would
increasing the max requests make it more thread-safe?
On Apr 15, 4:03 pm, Ariel Mauricio Nunez Gomez
ingenieroar...@gmail.com wrote:
Bah, I didn't realize it was an
2009/4/16 frank h. frank.hoffsum...@gmail.com:
Graham,
thanks for your help, here comes the output
$ grep LD Makefile
LDFLAGS = -F/Library/Frameworks -framework Python -u _PyMac_Error -
arch ppc
LDLIBS = -ldl
$(APXS) -c $(CPPFLAGS) $(CFLAGS) mod_wsgi.c $(LDFLAGS) $(LDLIBS)
$
When you say 'Also, I get no errors if I remove the maximum-requests',
is that on all configurations?
When you run your tests, are requests always sequential? Ie., no
concurrent requests.
Does it make a difference if you specify:
WSGIApplicationGroup %{GLOBAL}
Finally, what other third
If still no joy, can you replace the 'configure' script for mod_wsgi with:
http://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X/configure
This addresses a problem with MacPorts Python 2.6, but maybe the
problem actually lies more with Python 2.6 itself rather than the
MacPorts version. For
Dear Graham,
Thanks for the reply.I installed mod_wsgi with MPM worker and it
works now.But I could not see the differences, regarding memory using,
when MPM worker is used in comparison with MPM prefork.Must I change
mod_wsgi setting anyhow? I use daemon mode with processes=3 threads=1
Thank
I'm
going to try your suggestion (single threaded, multiprocess) and see
what happens.
Remember process are expensive, so start with a low number and increase as
needed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
2009/4/17 Johny pyt...@hope.cz:
Dear Graham,
Thanks for the reply.I installed mod_wsgi with MPM worker and it
works now.But I could not see the differences, regarding memory using,
when MPM worker is used in comparison with MPM prefork.Must I change
mod_wsgi setting anyhow? I use daemon
20 matches
Mail list logo