Repository navigation
Increasing the limit of maximum open files causes a crash #21061
Description
Activity
- addedtriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
on Apr 15, 2023 Так делать не стоит процессор может перегреться
karthiknadig commented
on Apr 17, 2023 MemberMore actionsBoian Petkantchin (@sogartar) Is this python specific or general VS Code?
- addedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Apr 17, 2023 Karthik Nadig (@karthiknadig) It happens only when the Python extension is enabled.
- removedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Apr 17, 2023 Please provide the logs as mentioned in the issue template. Set
python.logging.leveltodebugin User settings, reload window, then perform the steps to reproduce before providing the logs.Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)XXX- addedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Apr 17, 2023 Kartik Raj (@karrtikr) how do I tell vscode to log to a file without buffering? I need this since the vscode app crashes before I can copy the log from within.
- removedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Apr 17, 2023 Karthik Nadig (@karthiknadig) Do we currently have a way to capture logs in a file in that manner, perhaps an environment variable?
Boian Petkantchin (@sogartar) Does the workspace folder you're working on contain a huge number of files? Perhaps you can use the following setting to exclude such directories:

- addedinfo-neededIssue requires more information from posterIssue requires more information from poster
on May 9, 2023 - addedarea-editor-*User-facing catch-allUser-facing catch-alland removedinfo-neededIssue requires more information from posterIssue requires more information from poster
on May 9, 2023 12 remaining items
Based on logs it seems you have opened several workspace folders at the same time, is that accurate?
Yes.
- removedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Jul 25, 2023 Kartik Raj (@karrtikr) and Karthik Nadig (@karthiknadig), it makes sense to change the file watcher to restrict test searching in too many places. Do we have normal set of file structures we ignore such as the image below? Want to make sure I choose ones we are confident do not apply. Thanks
Perhaps you can use the following setting to exclude such directories:

- addedinfo-neededIssue requires more information from posterIssue requires more information from poster
on Jul 31, 2023 - added a commit that references this issue
on Aug 2, 2023 This change will be out on vscode insiders tomorrow if you want to give it a chance and see if it improves your experience! Thanks
- addedbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
on Oct 25, 2023 - addedverifiedVerification succeededVerification succeeded
on Oct 25, 2023 - locked as resolved and limited conversation to collaborators
on Nov 25, 2023
Type: Bug
After several seconds vscode crashes with
Sometimes instead of a crash it freezes.
Note that with a limit of 8192 open files I did not observe the crash.
Extension version: 2023.6.0
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:52.732Z)
OS version: Linux x64 5.15.0-69-generic
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments