Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-19 Thread Oleg Sidorkin
On Fri, Jun 15, 2012 at 9:29 PM, Oleg Sidorkin wrote: > > > On Fri, Jun 15, 2012 at 3:57 PM, Alberto Villa wrote: > >> On Friday 15 June 2012 12:48:48 Oleg Sidorkin wrote: >> > Original fix is a workaround of QT behavior on MacOS - as far as I >> > understand Linux is able to monitor files witho

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-15 Thread Oleg Sidorkin
On Fri, Jun 15, 2012 at 3:57 PM, Alberto Villa wrote: > On Friday 15 June 2012 12:48:48 Oleg Sidorkin wrote: > > Original fix is a workaround of QT behavior on MacOS - as far as I > > understand Linux is able to monitor files without opening them using > > inotify. FreeBSD has no similar function

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-15 Thread Alberto Villa
On Wednesday 13 June 2012 22:03:28 Mel Flynn wrote: > Isn't the real problem here that: > - the program does not handle a resource limit very well (spewing lines > saying they hit a limit rather then informing the user with one dialog > what to increase) > - that the program cannot work correctly w

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-15 Thread Alberto Villa
On Friday 15 June 2012 12:48:48 Oleg Sidorkin wrote: > Original fix is a workaround of QT behavior on MacOS - as far as I > understand Linux is able to monitor files without opening them using > inotify. FreeBSD has no similar functions so QT has to open each file to > monitor it. Yes. inotify mon

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-15 Thread Oleg Sidorkin
On Thu, Jun 14, 2012 at 12:03 AM, Mel Flynn wrote: > On 13-6-2012 14:13, Jason E. Hale wrote: > > On Wednesday, June 13, 2012 09:35:07 Oleg Sidorkin wrote: > > > >> kern.maxfiles: 12328 > >> kern.openfiles: 5826 > >> Album has 6282 photos. > > > > I would suggest bumping kern.maxfiles up to somet

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-13 Thread Mel Flynn
On 13-6-2012 14:13, Jason E. Hale wrote: > On Wednesday, June 13, 2012 09:35:07 Oleg Sidorkin wrote: > >> kern.maxfiles: 12328 >> kern.openfiles: 5826 >> Album has 6282 photos. > > I would suggest bumping kern.maxfiles up to something like 25000. I was able > to reproduce the error with a small

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-13 Thread Jason E. Hale
On Wednesday, June 13, 2012 09:35:07 Oleg Sidorkin wrote: > kern.maxfiles: 12328 > kern.openfiles: 5826 > Album has 6282 photos. I would suggest bumping kern.maxfiles up to something like 25000. I was able to reproduce the error with a smaller kern.maxfiles (~18000) on my system. That is a li

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-12 Thread Oleg Sidorkin
On Wed, Jun 13, 2012 at 1:50 AM, Alberto Villa wrote: > On Tue, Jun 12, 2012 at 10:22 PM, Oleg Sidorkin > wrote: > > New digikam-2.6.0 fails to start with "Too many open files" error in > console > > and > > corresponding system message. It seems that it is this bug > > https://bugs.kde.org/show

Re: [kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-12 Thread Alberto Villa
On Tue, Jun 12, 2012 at 10:22 PM, Oleg Sidorkin wrote: > New digikam-2.6.0 fails to start with "Too many open files" error in console > and > corresponding system message. It seems that it is this bug > https://bugs.kde.org/show_bug.cgi?id=289330 on FreeBSD. What does `sysctl kern.maxfiles` retur

[kde-freebsd] [patch] Digikam 2.6 - too many open files

2012-06-12 Thread Oleg Sidorkin
Hello New digikam-2.6.0 fails to start with "Too many open files" error in console and corresponding system message. It seems that it is this bug https://bugs.kde.org/show_bug.cgi?id=289330 on FreeBSD. The solution for MAC helps on FreeBSD too. The patch is attached. Thanks -- Oleg Sidorkin ---