Our devs are having trouble when creating pull requests. The application in the browser starts reporting 500 errors and on investigation the vcsserver instance logs show the above error. Followed by “Too many open files” we’ve set the ulimit for the rcdev user (who runs the vcs and rhc services to 65535 and when we check open files they never seem to get to more than 10,000 ish. Any ideas?
Cheers
MrD
EDIT:
ERROR [vcsserver.lib.exc_tracking] Failed to store exception 139788049897520
information
Traceback (most recent call last):
File "/opt/rhodecode/store/vi14s6c820pdbdc4zik926vnf2wjnapp-python2.7-rhodecode-vcsserver-4.13.2/lib/python2.7/site-packages/vcsserver/lib/exc_tr
acking.py", line 96, in store_exception
File "/opt/rhodecode/store/vi14s6c820pdbdc4zik926vnf2wjnapp-python2.7-rhodecode-vcsserver-4.13.2/lib/python2.7/site-packages/vcsserver/lib/exc_tr
acking.py", line 82, in _store_exception
IOError: [Errno 24] Too many open files: ‘/tmp/rc_exception_store_v1/139788049897520_vcsserver_1570722782.042588’
2019-10-10 16:53:02.043 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: /git
time: 0.002s
2019-10-10 16:56:57.405 DEBUG [vcsserver.http_main] method called:assert_correct_path with kwargs:{} context_uid: 9c3845ab-aa76-4bbe-a467-281f725ad
1e5
2019-10-10 16:56:57.406 DEBUG [dogpile.lock] NeedRegenerationException
2019-10-10 16:56:57.406 DEBUG [dogpile.lock] no value, waiting for create lock
2019-10-10 16:56:57.406 DEBUG [dogpile.lock] value creation lock <dogpile.cache.region._LockWrapper object at 0x7f230300d290> acquired
2019-10-10 16:56:57.406 DEBUG [dogpile.lock] Calling creation function for not-yet-present value
2019-10-10 16:56:57.406 DEBUG [dogpile.lock] Released creation lock
2019-10-10 16:56:57.406 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: /git
time: 0.001s
2019-10-10 16:56:57.506 DEBUG [vcsserver.http_main] method called:assert_correct_path with kwargs:{} context_uid: d61fc397-0680-46af-b511-e0573008d
83f
2019-10-10 16:56:57.507 DEBUG [dogpile.lock] NeedRegenerationException
2019-10-10 16:56:57.507 DEBUG [dogpile.lock] no value, waiting for create lock
2019-10-10 16:56:57.507 DEBUG [dogpile.lock] value creation lock <dogpile.cache.region._LockWrapper object at 0x7f230300d1d0> acquired
2019-10-10 16:56:57.507 DEBUG [dogpile.lock] Calling creation function for not-yet-present value
2019-10-10 16:56:57.507 DEBUG [dogpile.lock] Released creation lock
2019-10-10 16:56:57.507 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: /git
time: 0.001s
2019-10-10 16:56:58.450 DEBUG [vcsserver.http_main] method called:assert_correct_path with kwargs:{} context_uid: 2b449694-f0be-44a7-a278-d1f185a7c
26b
2019-10-10 16:56:58.450 DEBUG [dogpile.lock] NeedRegenerationException
2019-10-10 16:56:58.450 DEBUG [dogpile.lock] no value, waiting for create lock
2019-10-10 16:56:58.450 DEBUG [dogpile.lock] value creation lock <dogpile.cache.region._LockWrapper object at 0x7f22f10e5d50> acquired
2019-10-10 16:56:58.450 DEBUG [dogpile.lock] Calling creation function for not-yet-present value
2019-10-10 16:56:58.451 DEBUG [dogpile.lock] Released creation lock
2019-10-10 16:56:58.451 ERROR [vcsserver.lib.exc_tracking] Failed to store exception 139788049930432
information