I'm not sure -- sounds like a bug! I've filed https://phabricator.wikimedia.org/T143403 .
Merlijn On 19 August 2016 at 11:32, Anthony Di Franco <[email protected]> wrote: > One more question, I am using the generic webservice method since I need > to do this to avoid the previous issue, but I seem to be running into an > issue with the scripts, or doing something wrong in following > https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web#Other_.2F_generic_ > web_servers ( see below ) > > (new-env)tools.recitation-bot@tools-bastion-03:~$ webservice generic > start /data/project/recitation-bot/new-bot/labs-startup.sh > Starting webservice. > (new-env)tools.recitation-bot@tools-bastion-03:~$ tail error.log > usage: webservice-runner [-h] > [--type {tomcat,nodejs,generic, > lighttpd,lighttpd-precise,lighttpd-plain,uwsgi-plain,uwsgi-python}] > [--extra_args EXTRA_ARGS] [--port PORT] > [--register-proxy] > webservice-runner: error: unrecognized arguments: --extra-args > /data/project/recitation-bot/new-bot/labs-startup.sh > usage: webservice-runner [-h] > [--type {tomcat,nodejs,generic, > lighttpd,lighttpd-precise,lighttpd-plain,uwsgi-plain,uwsgi-python}] > [--extra_args EXTRA_ARGS] [--port PORT] > [--register-proxy] > webservice-runner: error: unrecognized arguments: --extra-args > /data/project/recitation-bot/new-bot/labs-startup.sh > > > On Thu, Aug 18, 2016 at 2:33 AM Merlijn van Deen (valhallasw) < > [email protected]> wrote: > >> Hi Anthony, >> >> I've killed the jobs for you, and have restarted the webservice with >> webservice >> uwsgi-plain start. >> >> It's possible to do this as regular user as well, but this was not >> documented. I've done so now, at https://wikitech.wikimedia. >> org/wiki/Help:Tool_Labs/Grid#Stuck_jobs . >> >> Best, >> Merlijn >> >> On 18 August 2016 at 09:18, Anthony Di Franco <[email protected]> >> wrote: >> >>> Hi all, >>> I'm back working on recitation-bot and I've hit a bit of a snag, not >>> having noticed before starting the web service that I'd need to change the >>> default configuration of uwsgi regarding threads to work with what I've >>> written. Now my job is stuck: >>> >>> (new-env)tools.recitation-bot@tools-bastion-03:~$ qdel -f 9915064 >>> tools.recitation-bot has registered the job 9915064 for deletion >>> ............ >>> (new-env)tools.recitation-bot@tools-bastion-03:~$ qstat >>> job-ID prior name user state submit/start at queue >>> slots ja-task-ID >>> ------------------------------------------------------------ >>> ----------------------------------------------------- >>> 9915064 0.30005 uwsgi-plai tools.recita dr 08/18/2016 06:23:42 >>> webgrid-generic@tools-webgrid- 1 >>> (new-env)tools.recitation-bot@tools-bastion-03:~$ webservice status >>> Your webservice is not running >>> (new-env)tools.recitation-bot@tools-bastion-03:~$ webservice stop >>> Your webservice is not running >>> (new-env)tools.recitation-bot@tools-bastion-03:~$ webservice >>> uwsgi-plain start >>> Your job is already running >>> >>> I'd be most grateful if someone with the power could help me clear it >>> out. I've got the configuration fixed for the next uwsgi startup already. >>> >>> Anthony >>> >>> _______________________________________________ >>> Labs-l mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/labs-l >>> >>> >> _______________________________________________ >> Labs-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/labs-l >> > > _______________________________________________ > Labs-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/labs-l > >
_______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
