Hi Timo / Mark,
Whoops! your right, the profile doesn't get read :(
Another failure was putting this line in /etc/security/limits.conf
dovecot - nofile 8192
Still stuck with "Max open files 1024"
Until I 'cheated' and put a line into /etc/init.d/dovecot under the
prog="Dovecot
Are you sure /etc/profile gets read, especially during boot? I'm not
that sure.. Anyway you can verify that the changes took place with:
cat /proc/`pidof dovecot`/limits|grep files
On Fri, 2009-02-06 at 17:07 +, Jake Grimmett wrote:
> Hi Mark,
>
> taking your advice, I've put "ulimit -n 8192
Hi Mark,
taking your advice, I've put "ulimit -n 8192 > /dev/null 2>&1"
into /etc/profile. The problem is horribly intermittent, so it's now just a
question of waiting...
Anyhow, many thanks for the tip - I'll post something to the list if the
problem comes back !
Jake
On Friday 06 February
I reported a bug like this on 23rd Dec last year and Timo replied 8/1
this year. However, I've seen this bug very infrequently and I'm not
sure that you're hitting it - it's more likely that your ulimit -n is
too low - try setting it to around 8192 (defaults to 1024 I think). It
should be around 3*