Question about VBCSCompiler.dll process lifetime #11010
-
I was doing some investigation of issue discussed in dotnet/sdk#44922 and found the following comment: msbuild/src/Build/BackEnd/Components/Communications/DetouredNodeLauncher.cs Lines 131 to 133 in 9c89563 but in reality, $ rm -r obj bin # evict cache
$ dotnet build
$ ps -e -o pid,ppid,args | grep -i vbcs | fold -65
71304 1 /Users/am11/.dotnet10/dotnet exec /Users/am11/.dotn
et10/sdk/10.0.100-alpha.1.24567.3/Roslyn/bincore/VBCSCompiler.dll
-pipename:_UckHksr8RUqDGzqnwgGw7cOMBqfRYBBs8oEnOvtDzY It does go away on its own after exactly 600 seconds (10 minutes). If this is by design:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Perhaps Also, The 10-minute timeout seems to be at https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/ServerDispatcher.cs#L43-L46. It would be configurable in appsettings https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/BuildServerController.cs#L64 but the configuration is only read on .NET Framework https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/VBCSCompiler.cs#L25-L30. |
Beta Was this translation helpful? Give feedback.
Perhaps
dotnet build --disable-build-servers
; I did not test.Also,
dotnet build-server shutdown --vbcscompiler
; but see dotnet/sdk#20183.The 10-minute timeout seems to be at https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/ServerDispatcher.cs#L43-L46. It would be configurable in appsettings https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/BuildServerController.cs#L64 but the configuration is only read on .NET Framework https://github.com/dotnet/roslyn/blob/9bea39d29a00719039d0d3705a15d384bdc385da/src/Compilers/Server/VBCSCompiler/VBCSCompiler.cs#L25-L30.