New commits on Our Own Kallithea

2016-07-25 Thread Our Own Kallithea
db: script to test database upgrades dbmigrate-test executes Alembic upgrade scripts between two Kallithea versions in a clean environment. There is no auto... kwi committed on 2016-07-13 19:39:14branch: defaulttag: tipchangeset: 51b1af58db: script to test database upgrades dbmigrate-test

Issue #235: Intermittent "MySQL server has gone away" (conservancy/kallithea)

2016-07-25 Thread André
New issue 235: Intermittent "MySQL server has gone away" https://bitbucket.org/conservancy/kallithea/issues/235/intermittent-mysql-server-has-gone-away André: Kallithea 0.3.1 This happens from time to time. To load on the machine (2-core) is minimal. (repository name replaced by ) ``` 2016-

Re: celery sometimes hangs

2016-07-25 Thread Mads Kiilerich
On 07/25/2016 03:17 PM, Andrew Shadura wrote: On 25/07/16 15:13, Mads Kiilerich wrote: On 07/25/2016 03:07 PM, Thomas De Schampheleire wrote: Could you perhaps share the code snippet you are using for the check? #!/bin/bash #/etc/crontab: … That looks like something worth putting into the do

Re: celery sometimes hangs

2016-07-25 Thread Andrew Shadura
On 25/07/16 15:13, Mads Kiilerich wrote: > On 07/25/2016 03:07 PM, Thomas De Schampheleire wrote: >> Could you perhaps share the code snippet you are using for the check? > > #!/bin/bash > > #/etc/crontab: > … That looks like something worth putting into the documentation, doesn't it? -- Cheer

Re: celery sometimes hangs

2016-07-25 Thread Mads Kiilerich
On 07/25/2016 03:07 PM, Thomas De Schampheleire wrote: Could you perhaps share the code snippet you are using for the check? #!/bin/bash #/etc/crontab: # ## Check celeryd.log for errors # */5 * * * * root/srv/kallithea/bin/check-rabbit.sh LOGFILE=/var/log/kallithea/celeryd.log SCRIPTN

Re: celery sometimes hangs

2016-07-25 Thread Thomas De Schampheleire
On Mon, Jul 25, 2016 at 2:59 PM, Mads Kiilerich wrote: > Confirmed. > > As a workaround we watch the queue and restart celery if it grows too big > ... or if nobody is listening. > > I found evidence that this is a known problem with Celery 2. The solution > should be to upgrade to Celery 3. The A

Re: celery sometimes hangs

2016-07-25 Thread Mads Kiilerich
Confirmed. As a workaround we watch the queue and restart celery if it grows too big ... or if nobody is listening. I found evidence that this is a known problem with Celery 2. The solution should be to upgrade to Celery 3. The API did however change so it requires some amount of work. So

celery sometimes hangs

2016-07-25 Thread Thomas De Schampheleire
Hi, We are running Kallithea (some older version, 0.2.1 based) with Celery, and sometimes the Celery workers just hang. This is observed by e-mails not being received anymore. Restarting celery, or sending 'kill -SIGUSR1' to one of them, resolves the problem. There are several reports on the inte