crossroadlabs / Express

Swift Express is a simple, yet unopinionated web application server written in Swift
GNU General Public License v3.0
848 stars 47 forks source link

100%+ CPU Usage #15

Closed Bunn closed 8 years ago

Bunn commented 8 years ago

When running the Getting Started guide the CPU usage stays constant on 100%+ CPU usage

cpu

dileping commented 8 years ago

Hi @Bunn,

thanks for reporting the issue. Could you, please, provide some more details. Like what command exactly have you executed, etc. This way I could help you better.

Thanks, Daniel

Bunn commented 8 years ago

Hi, @dileping I just did the step by step instructions on the Getting Started guide.

Right after running swift-express run the CPU spikes to 100%+ and stays there.

swift-express run
Building HelloExpress in Debug mode...
Running HelloExpress...
Express was successfully launched on port 9999
dileping commented 8 years ago

@Bunn ,

thanks for reporting the details! I can reproduce it now. We will fix it as soon as possible and let you know once done.

dileping commented 8 years ago

@Bunn ,

thanks again for reporting the bug. It was very helpful and now it's fixed in the new major release of Express Command Line: 0.2.0.

To update to the new version, please, run:

brew update
brew upgrade swift-express

Keep in mind, that the API of command line has evolved and is slightly different now. Consider taking a look at original project page documentation: Express Command Line.

Will be very glad to hear some feedback on the new version.

Regards, Daniel

Bunn commented 8 years ago

CPU Usage is now at 0.3% :)

dileping commented 8 years ago

@Bunn Great! Thanks for reporting back!