Too Many Open Files

So everything is mostly stuck on database operations, and I suspect the database is stuck on this:

goroutine 35 [syscall]:
syscall.Syscall(0x4a, 0x12, 0x0, 0x0, 0x4a6f22, 0xc423913228, 0xc423913230)
    /usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.Fsync(0x12, 0xd49338, 0xc424280000)
    /usr/local/go/src/syscall/zsyscall_linux_amd64.go:473 +0x4a
internal/poll.(*FD).Fsync(0xc424280000, 0x0, 0x0)
    /usr/local/go/src/internal/poll/fd_posix.go:56 +0x88

It doesn’t say that it was stuck on fsync for a long time, so perhaps the fsync is returning fine, but perhaps the database is in a bad state where it must do a lot of compaction, and the compaction is taking a while, triggering the deadlock timeout. Is the database on some network share or something like that? If it’s not a lot of data you have there, perhaps you can try resetting the database.

The fact you are getting deadlock timeouts is just a side effect of running a development build. I am on the phone and can’t check if there is a way to disable it.

Hi Audrius:

Many thanks for your input on this.

The database is on the same RAID set as the data files themselves - so I would expect it to be solid, but not necessarily very fast. Unfortunately I have a very large data set, so resetting the database is not an ideal option… And putting the database on a separate, fast, drive is not going to be easy either.

Indeed - and giving the STDEADLOCKTIMEOUT=7200 variable has been good on previous builds to work around the slow database response - but for some reason, this time it’s kicking off this deadlock problem and prompting syncthing to restart (and not write a panic log, IIRC).

I’ll try running this build with the STDEADLOCKTIMEOUT variable on another system, and see if I get the same result. At least I can eliminate the hardware as a factor then…

Thanks,

Pants.

Yeah, I suspect @calmh’s recent env var cleanup made it so that non-release builds always run either with 20min deadlock timeout, or lock order deadlock detector.

I don’t know how calmh produced the build for you, but he potentially needs to remove the deadlock detector on it.

I’ll make a new one tomorrow on the current master. It’s just a few extra debug prints to hopefully figure out where those stopped syncs stop.

Thanks Jakob - that would be really appreciated!

Here’s a new build:

https://build.syncthing.net/viewLog.html?buildId=15155&buildTypeId=Syncthing_BuildLinuxCross&tab=artifacts

It has the automatic deadlock detector thing disabled. Do not set any deadlock related envvars (or you will wake it again). Do set STTRACE=model though.

1 Like

What a gentleman - many thanks!

1 Like

Hi:

A brief update: I’ve been running the new build since yesterday, and it hasn’t panicked yet - thanks for a build that’s working in this respect! Unfortunately a bunch of files got moved around in the shared folder, so it’s currently reconciling those before starting the transfer again - I don’t yet have any further logs to forward you.

Thanks,

Pants.

Hi Jakob:

I’ve uploaded a copy of the current trace file (to ‘Too Many Open Files 4’); unfortunately there’s a lot of noise in there from where a bunch of files have been moved around - sorry. It’s a 900MB file (sorry!) - I wanted to make sure there’s enough in there, alongside all the noise.

I found a series of entries which reflect the same situation as I previously highlighted - a transfer seemingly ending early. In this case it seems to have picked up again a short while later - but I can’t see any evidence of the last few blocks being transferred:

[OVPYX] 2018/01/08 06:59:33.805168 rwfolder.go:1101: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 need file file/path/1/here.doc; copy 2856, reused 0
[OVPYX] 2018/01/08 06:59:33.805285 verboseservice.go:48: VERBOSE: Started syncing "bvkmk-*****" / "file/path/1/here.doc" (update file)
[OVPYX] 2018/01/08 06:59:34.004889 progressemitter.go:211: DEBUG: progress emitter: registering bvkmk-***** file/path/1/here.doc
[OVPYX] 2018/01/08 06:59:34.219365 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 2855
[OVPYX] 2018/01/08 06:59:34.292095 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 2854
[OVPYX] 2018/01/08 06:59:34.410368 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 2853
...
[OVPYX] 2018/01/08 07:04:15.963051 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 15
[OVPYX] 2018/01/08 07:04:15.980228 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 14
[OVPYX] 2018/01/08 07:04:16.235788 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 13
[OVPYX] 2018/01/08 07:04:16.423556 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 12
[OVPYX] 2018/01/08 07:04:16.581044 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 11
[OVPYX] 2018/01/08 07:04:16.711696 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 10
[OVPYX] 2018/01/08 07:04:16.774017 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 9
[OVPYX] 2018/01/08 07:04:16.911576 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 8
[OVPYX] 2018/01/08 07:04:16.956652 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 7
[OVPYX] 2018/01/08 07:04:17.023278 sharedpullerstate.go:222: DEBUG: sharedPullerState bvkmk-***** file/path/1/here.doc copyNeeded -> 6
[OVPYX] 2018/01/08 07:04:17.023338 rwfolder.go:1304: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 onwards to finisher file/path/1/here.doc
[OVPYX] 2018/01/08 07:04:17.023405 rwfolder.go:1500: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 not closing: file/path/1/here.doc err: <nil>
[OVPYX] 2018/01/08 07:04:17.023536 rwfolder.go:271: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 changed 131203
[OVPYX] 2018/01/08 07:04:17.023575 rwfolder.go:327: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 c 2 p 64
...
[OVPYX] 2018/01/08 07:10:52.870830 rwfolder.go:1101: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 need file file/path/1/here.doc; copy 0, reused 2856
[OVPYX] 2018/01/08 07:10:52.871023 verboseservice.go:48: VERBOSE: Started syncing "bvkmk-*****" / "file/path/1/here.doc" (update file)
[OVPYX] 2018/01/08 07:10:52.871483 progressemitter.go:211: DEBUG: progress emitter: registering bvkmk-***** file/path/1/here.doc
[OVPYX] 2018/01/08 07:10:52.871536 rwfolder.go:1185: DEBUG: not weak hashing file/path/1/here.doc. file did not contain any weak hashes
[OVPYX] 2018/01/08 07:10:52.871569 rwfolder.go:1304: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 onwards to finisher file/path/1/here.doc
[OVPYX] 2018/01/08 07:10:55.062803 rwfolder.go:1504: DEBUG: sendReceiveFolder/bvkmk-*****@0xc420094480 closing: file/path/1/here.doc err: <nil>
[OVPYX] 2018/01/08 07:10:55.169460 progressemitter.go:225: DEBUG: progress emitter: deregistering bvkmk-***** file/path/1/here.doc
[OVPYX] 2018/01/08 07:10:55.170053 verboseservice.go:48: VERBOSE: Finished syncing "bvkmk-*****" / "file/path/1/here.doc" (update file): Success
[OVPYX] 2018/01/08 07:10:58.680546 verboseservice.go:48: VERBOSE: Remote change detected in folder "bvkmk-*****": added file file/path/1/here.doc

So far the system hasn’t panicked (and only has 125 file descriptors open), so I can’t provide a panic log from this build. I suspect this is because it’s spending so much time reconciling the file movements.

I hope that’s of some use - please let know if there’s anything else I can provide to help.

Best wishes,

Pants.

1 Like

Yes, that helps. I’ve found the/a bug…

1 Like

:joy:

Thanks Jakob!

1 Like

Try this build: https://build.syncthing.net/viewLog.html?buildId=15399&buildTypeId=Syncthing_BuildLinuxCross&tab=artifacts

No need for tracing and stuff, just use it in normal operations and see if the number of open files stays low enough and it doesn’t crash…

1 Like

Thanks Jakob - that’s amazing! I’ll try it and report back.

Words can’t adequately describe how fabulously supported this project is - it absolutely puts many commercial operations to shame. My deepest gratitude to - in particular - @calmh and @AudriusButkevicius for their support through this.

2 Likes

These two guys are on the good way to overcome Harry Tuttle in my heroes list :beers:

Hello:

To follow up on this: I haven’t yet had a panic since installing the new build - thanks!

However I’m having some curious issues with the setup now - I’ll start a new thread for those.

Pants.

I think I have the same, bug the Gtk client quits with can’t open socket too many open files.

I’m on Ubuntu 17.10 using the deb recommended from the site. Is there going to be a release with the fix.

Here is some of the output:

E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/node-sass/src/libsass/include/.syncthing.sass2scss.h.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/node-sass/src/libsass/include/.syncthing.sass2scss.h.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/node-sass/src/libsass/include/sass2scss.h’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-beta-search/node_modules/finalhandler/.syncthing.HISTORY.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-beta-search/node_modules/finalhandler/.syncthing.HISTORY.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-beta-search/node_modules/finalhandler/HISTORY.md’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/browserify-des/.syncthing.package.json.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/browserify-des/.syncthing.package.json.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/browserify-des/package.json’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/axe-core/lib/commons/aria/.syncthing.index.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/axe-core/lib/commons/aria/.syncthing.index.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/axe-core/lib/commons/aria/index.js’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-cms-playground/content/setup-guide/familiarise-yourself-with-the-legal-framework/sections/specific%20legislation/.syncthing.en_US.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-cms-playground/content/setup-guide/familiarise-yourself-with-the-legal-framework/sections/specific%20legislation/.syncthing.en_US.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/zzz/iigb-cms-playground/content/setup-guide/familiarise-yourself-with-the-legal-framework/sections/specific%20legislation/en_US.md’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-force/src/.syncthing.manyBody.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-force/src/.syncthing.manyBody.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-force/src/manyBody.js’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/content/content/beta/industries/financial-services/intro/.syncthing.es_ES.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps/node_modules/iigb-beta-content/media/hero-img/.syncthing.energy-rtl.jpg.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/js-yaml/dist/.syncthing.js-yaml.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/clean-css/.syncthing.History.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/iigb-beta-content/content/beta/setup-guide/understand-legal/Overview/.syncthing.en_US.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/assert/.syncthing…travis.yml.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/clean-css/.syncthing.History.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/clean-css/.syncthing.History.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/node_modules/clean-css/History.md’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/lodash/fp/.syncthing.unescape.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/assert/.syncthing…travis.yml.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/assert/.syncthing…travis.yml.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/assert/.travis.yml’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-transition/.syncthing…eslintrc.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/lodash/fp/.syncthing.unescape.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/lodash/fp/.syncthing.unescape.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/lodash/fp/unescape.js’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps/node_modules/core-js/library/fn/promise/.syncthing.finally.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-transition/.syncthing…eslintrc.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-transition/.syncthing…eslintrc.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/d3-transition/.eslintrc’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/core-js/modules/.syncthing._cof.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps/node_modules/core-js/library/fn/promise/.syncthing.finally.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps/node_modules/core-js/library/fn/promise/.syncthing.finally.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps/node_modules/core-js/library/fn/promise/finally.js’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/content/content/beta/industries/energy-generation/sub-sectors/oil-and-gas/sections/talent-and-skills/.syncthing.pt_INT.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/core-js/modules/.syncthing._cof.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/core-js/modules/.syncthing._cof.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/iopps-bak/node_modules/core-js/modules/_cof.js’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/lodash/fp/.syncthing.castArray.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/content/content/beta/industries/energy-generation/sub-sectors/oil-and-gas/sections/talent-and-skills/.syncthing.pt_INT.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/content/content/beta/industries/energy-generation/sub-sectors/oil-and-gas/sections/talent-and-skills/.syncthing.pt_INT.md.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/iigb-website-merge/iigb-website/content/content/beta/industries/energy-generation/sub-sectors/oil-and-gas/sections/talent-and-skills/pt_INT.md’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/browserstack-local/test/.syncthing.local.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/lodash/fp/.syncthing.castArray.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/lodash/fp/.syncthing.castArray.js.tmp’, {}, u’w8ws8-kdv1r’) E Daemon (GLib.Error(‘Unable to create socket: Too many open files’, ‘g-io-error-quark’, 31), u’db/scan?folder=w8ws8-kdv1r&sub=dit/repos/scratch/combined-trial/node_modules/lodash/fp/castArray.js’, {}, u’w8ws8-kdv1r’) E Daemon g-io-error-quark: Unable to create socket: Too many open files (31) Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/syncthing_gtk/daemon.py”, line 413, in _rest_connected con = sc.connect_to_service_finish(results) Error: g-io-error-quark: Unable to create socket: Too many open files (31) E Daemon g-io-error-quark: Unable to create socket: Too many open files (31) Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/syncthing_gtk/daemon.py”, line 413, in _rest_connected con = sc.connect_to_service_finish(results) Error: g-io-error-quark: Unable to create socket: Too many open files (31) E Daemon Request ‘system/connections’ failed (g-io-error-quark: Unable to create socket: Too many open files (31)); Repeating… E Daemon g-io-error-quark: Unable to create socket: Too many open files (31) Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/syncthing_gtk/daemon.py”, line 413, in _rest_connected con = sc.connect_to_service_finish(results) Error: g-io-error-quark: Unable to create socket: Too many open files (31) E Daemon Request ‘system/status’ failed (g-io-error-quark: Unable to create socket: Too many open files (31)); Repeating… E Daemon g-io-error-quark: Unable to create socket: Too many open files (31) Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/syncthing_gtk/daemon.py”, line 413, in _rest_connected con = sc.connect_to_service_finish(results) Error: g-io-error-quark: Unable to create socket: Too many open files (31) E Daemon Request ‘system/error’ failed (g-io-error-quark: Unable to create socket: Too many open files (31)); Repeating…

(syncthing-gtk:20108): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/breakpoint trap (core dumped)

The fix for this issue discussed in this thread is in the current release candidates. If your problem still happens with the current release candidate, please open a new thread - thanks.

Cheers - for now I set max open files to 5000000 and managed to complete the sync.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.