[ckan-dev] Cannot kill ckan process

Alan Tygel alantygel at gmail.com
Sun Aug 28 20:49:56 UTC 2016


Hi,

For some reason, I'm not able to stop my ckan process in order to restart
it.

I've already try:

1) paster serve --stop-daemon /etc/ckan/default/production.ini

but

No PID file exists in paster.pid

2) ps -aux1 | grep ckan

i get 2 processes like this:

www-data 22661  0.6  4.3 990936 183828 ?       Sl   17:29   0:05
ckan_default      -k start
www-data 22662  0.8  4.3 990940 184060 ?       Sl   17:29   0:06
ckan_default      -k start

and 9 other related to postgres. However, when I kill -9 these processes,
they automatically restart with other PIDs .

3) look into /var/log/apache2/ckan_default.error.log
In this cases, I get messages like:
[Sun Aug 28 17:42:55.559648 2016] [:error] [pid 22661]  /dataset render
time 0.098 seconds
[Sun Aug 28 17:42:57.666688 2016] [:error] [pid 22662]  /dataset render
time 0.086 seconds

which refer to the same PID as above.

So please: how can I stop this process?

My CKAN runs under nginx and apache server.

best,
alan

-- 
Programa de Pós-Graduação em Informática - PPGI/UFRJ
EITA - Educação, Informação e Tecnologias para Autogestão
Núcleo de Solidariedade Técnica - Soltec/UFRJ <http://www.soltec.ufrj.br>
http://www.cirandas.net/alantygel
http://www.contraosagrotoxicos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160828/bcf28d6c/attachment-0002.html>


More information about the ckan-dev mailing list