OpenBSD error - Too many open files

Hi. I’m running the latest version on OpenBSD 6.0 (2.2.4p0) and have a large number of files on my OwnCloud server. The client works fine on Linux, but on OpenBSD, I’m getting this error:

libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

(process:58877): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/BPT trap (core dumped)

Steps to reproduce

  1. Bring up a shell prompt
  2. Type “owncloud”
  3. Error is produced

Expected behaviour
On Linux, the GUI shows up and works like a champ.

Actual behaviour
I get an error before any UI pops up. When I use the command line flag to show a logging window, it does briefly pop up before the application crashes.

Client configuration
Client version: 2.2.4p0
Client operating system: OpenBSD 6.0 - current

Server configuration
Operating system: FreeBSD 10.3
Web server: Ngninx
Database: mySQL
PHP version:5.4

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see How to find webserver or OC logfile / enable php logfile for more info

libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

(process:58877): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/BPT trap (core dumped) 

Please always report such issues directly to the sync client developers reachable at GitHub · Where software is built