Hi folks

I've just spotted a large number of ctl_cyrusdb process that appear to
have hung, for no apparent reason:

# ps aux | grep cyl_cyrusdb
cyrus    28702  0.0  0.0 21616  940 ?        S    Apr13   0:00
ctl_cyrusdb -c
cyrus    32391  0.0  0.0 21612  940 ?        S    Apr13   0:00
ctl_cyrusdb -c
cyrus     3621  0.0  0.0 21616  940 ?        S    Apr13   0:00
ctl_cyrusdb -c
cyrus     7239  0.0  0.0 21612  940 ?        S    00:17   0:00
ctl_cyrusdb -c
cyrus    10861  0.0  0.0 21616  940 ?        S    00:47   0:00
ctl_cyrusdb -c
cyrus    15486  0.0  0.0 21620  940 ?        S    01:17   0:00
ctl_cyrusdb -c
cyrus    19135  0.0  0.0 21620  940 ?        S    01:47   0:00
ctl_cyrusdb -c
cyrus    22800  0.0  0.0 21612  940 ?        S    02:17   0:00
ctl_cyrusdb -c
cyrus    26416  0.0  0.0 21616  940 ?        S    02:47   0:00
ctl_cyrusdb -c
cyrus    29888  0.0  0.0 21612  940 ?        S    03:17   0:00
ctl_cyrusdb -c
cyrus      946  0.0  0.0 21616  940 ?        S    03:47   0:00
ctl_cyrusdb -c
cyrus     4935  0.0  0.0 21612  940 ?        S    04:17   0:00
ctl_cyrusdb -c
cyrus     8491  0.0  0.0 21616  940 ?        S    04:47   0:00
ctl_cyrusdb -c
cyrus    12089  0.0  0.0 21620  940 ?        S    05:17   0:00
ctl_cyrusdb -c
cyrus    15677  0.0  0.0 21620  940 ?        S    05:47   0:00
ctl_cyrusdb -c
cyrus    19355  0.0  0.0 21616  944 ?        S    06:17   0:00
ctl_cyrusdb -c
cyrus    22980  0.0  0.0 21612  940 ?        S    06:47   0:00
ctl_cyrusdb -c
cyrus    26562  0.0  0.0 21612  940 ?        S    07:17   0:00
ctl_cyrusdb -c
cyrus    30213  0.0  0.0 21612 1092 ?        S    07:47   0:00
ctl_cyrusdb -c
cyrus     1500  0.0  0.0 21616  944 ?        S    08:17   0:00
ctl_cyrusdb -c
cyrus     5364  0.0  0.0 21616  940 ?        S    08:47   0:00
ctl_cyrusdb -c
cyrus     9331  0.0  0.0 21616  940 ?        S    09:17   0:00
ctl_cyrusdb -c
cyrus    13946  0.0  0.0 21620  944 ?        S    09:47   0:00
ctl_cyrusdb -c
cyrus    17828  0.0  0.0 21616  940 ?        S    10:17   0:00
ctl_cyrusdb -c
cyrus    22076  0.0  0.0 21620  944 ?        S    10:47   0:00
ctl_cyrusdb -c
cyrus    25978  0.0  0.0 21620 1096 ?        S    11:17   0:00
ctl_cyrusdb -c
cyrus    29875  0.0  0.0 21616  940 ?        S    11:47   0:00
ctl_cyrusdb -c
cyrus     2041  0.0  0.0 21620 1096 ?        S    12:17   0:00
ctl_cyrusdb -c
cyrus     6244  0.0  0.0 21616  940 ?        S    12:47   0:00
ctl_cyrusdb -c
cyrus    10449  0.0  0.0 21612 1092 ?        S    13:17   0:00
ctl_cyrusdb -c
cyrus    14818  0.0  0.0 21616  940 ?        S    13:47   0:00
ctl_cyrusdb -c
cyrus    19531  0.0  0.0 21612  940 ?        S    14:17   0:00
ctl_cyrusdb -c
cyrus    24192  0.0  0.0 21612 1092 ?        S    14:47   0:00
ctl_cyrusdb -c
cyrus    29384  0.0  0.0 21612 1092 ?        S    15:17   0:00
ctl_cyrusdb -c
cyrus     1789  0.0  0.0 21620  940 ?        S    15:47   0:00
ctl_cyrusdb -c
cyrus     6440  0.0  0.0 21616  940 ?        S    16:17   0:00
ctl_cyrusdb -c
cyrus    11510  0.0  0.0 21620 1100 ?        S    16:47   0:00
ctl_cyrusdb -c
cyrus    19347  0.0  0.0 21612 1092 ?        S    17:17   0:00
ctl_cyrusdb -c
cyrus    27038  0.0  0.0 21616 1096 ?        S    17:47   0:00
ctl_cyrusdb -c
cyrus     1822  0.0  0.0 21616 1096 ?        S    18:17   0:00
ctl_cyrusdb -c
cyrus     9219  0.0  0.0 21612 1092 ?        S    18:47   0:00
ctl_cyrusdb -c
cyrus    16649  0.0  0.0 21612 1092 ?        S    19:17   0:00
ctl_cyrusdb -c

The master was restarted on April 13, which is when the oldest of the
ctl_cyrusdb instances appears to have been started.

Thankfully the processes only use about a megabyte of memory each, so I
can afford to let them accumulate for a while (especially since they'll
probably be swapped out anyway).

I suspect I have berkley db problems (woohoo!) but any suggestions or
comments would be appreciated. I have a plain text copy of my mailboxes
list, and a fresh backup.

Perhaps now is a good time to upgrade to 2.2 and skiplist ;-) since the
more I have to deal with Berkley DB, the less I want to have to deal
with it.

I don't know if these db sizes are reasonable:

[EMAIL PROTECTED] imap]# du -h mailboxes.txt.`date -I` mailboxes.db db/*
16K     mailboxes.txt.2004-04-14
36K     mailboxes.db
8.0K    db/__db.001
264K    db/__db.002
40K     db/__db.003
13M     db/__db.004
32K     db/__db.005
8.5M    db/log.0000000004

given that we get relatively small mail volumes here.

Craig Ringer

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to