server: raise ulimit -n if possible, warn if very low

Dan Kegel dank at
Fri Nov 5 04:59:12 CDT 2010

A Pando downloader hangs because wineserver and the app both
run out of file descriptors; see

Adding the lines

*               hard    nofile                  4096
*               soft    nofile                  1024

to /etc/security/limits.conf and applying this patch resolves the
problem for me.

I'm talking with Scott about gettting Ubuntu to make this change to limits.conf.

Thanks to Alexandre for pointing out that soft limits were useful here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulimit.patch
Type: application/octet-stream
Size: 921 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list