On 2014-09-17, Kaya Saman <kayasa...@gmail.com> wrote: > Ok, so this is just a quick follow up. > > Squid started dying too, checking the logs showed "not enough file > descriptors". > > After looking at both /etc/login.conf "openfiles-cur" and the sysctl > kern.maxfiles limits which were set extremely high to begin with.... > turns out that the: > > ulimit -n > > was only showing as 64. > > Changing that over to a value of 10000 (overkill but better safe then > sorry), Dansguardian managed to start and now both DG and Squid seem to > be online and stable! > > I wonder if it has something to do with the: > > openfiles parameter in /etc/login.conf?
What version were you running before? If it was pre-5.4, this is the most likely reason: http://www.openbsd.org/faq/upgrade54.html#login.conf It has bitten me on a number of occasions.