You can but you do not.

The scheduler (the instance of web2py runnking with -K) is a separate 
process. It must be started and running indecently of apache. for example:

sudo -u www-data bash
cd /.../web2py
# make 5 worker nodes
nohup python web2py.py -K app1,app2,app3 &
nohup python web2py.py -K app1,app2,app3 &
nohup python web2py.py -K app1,app2,app3 &
nohup python web2py.py -K app1,app2,app3 &
nohup python web2py.py -K app1,app2,app3 &



On Saturday, 22 June 2013 01:44:15 UTC-5, Apoorve Mohan wrote:
>
> Hello All
>
> I am using apache using mod_wsgi to run my web2py app. I need to specify 
> -K command line option so that i can use schedulers. 
> Please suggest that how can these command line options be passed when 
> running the app on apache.
>
> --
> Regards
>
> Apoorve
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to