Server time out
0
I am trying to run a "dotnet build" from within my t2.micro server, It just hangs and never executes. What could be the issue? I have added volume to the instance, but no improvement
Topics
Tags
asked 3 months ago6 views
1 Answers
0
Hi, @Chisco-Iris
I tried to build with EC2 instance size set to t2.micro, but it didn't hang.
[root@ip-10-0-20-225 hoge]# dotnet build --diagnostics
Microsoft (R) Build Engine version 17.1.1+a02f73656 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
hoge -> /usr/bin/hoge/bin/Debug/net6.0/hoge.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.53
- Does it work properly if I change the instance size?
- Get additional information by adding some options during dotnet build.
- Does it work for dotnet restore?
Relevant questions
Issues connecting to Postgres RDS instance from within a VPC
asked 3 years agoConnection to MariaDB server gets a timeout, out of nowhere.
asked 3 years agoWindows instance takes ~18 minutes to restart
asked 9 months agoCan't connect to MySQL db from Lightsail instance. MY-010055 warning in logs.
asked 6 months agoServer time out
asked 3 months agoIs there a way to modify the existing server executable files in a running fleet?
Accepted Answerasked 2 years agoEC2 instance starting status check fails after a volume attachment and dettachment exercise to my linux instance root volume
asked a month agoHow to attach EBS volume from original EC2 instance to a new EC2 instance?
asked 2 months agoError when trying to add db instance to VS server explorer
asked 3 years agoVolume can't be detached
asked 5 months ago
We would need some more information to help. Which AMI do you use? What is your EC2 instance configuration (instance store or EBS, volume size, networking, ...) Which .NET SDK do you use? What kind of project do you build? Does it require NuGet packages? Have you tried to check with
top
how much CPU and memory the .NET SDK uses? In general, it should work. For troubleshooting your issue you'd have to identify what is causing the freeze (network, storage, CPU, ...)