Skip to content

High CPU load using the Akka.IO TCP server #1225

@evertmulder

Description

@evertmulder

The following simple program:
namespace Proto1.Client
{
using Akka.Actor;
using Akka.IO;
using System;

class Program
{
    static void Main(string[] args)
    {
        var system = ActorSystem.Create("proto1");
        var manager = system.Tcp(); //this causes 100% CPU
        Console.ReadLine();
    }
}

}

On my machine it uses around 25% CPU. Starting the console app 4 times gives me 100% CPU utilization:

2015-08-08 23_45_53-performance monitor

I am using i7 cpu:
2015-08-08 23_50_42-task manager

Using nighly build Akka 1.0.4.64-beta

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions