# ROHTTPServer and Linux

**URL:** https://talk.remobjects.com/t/rohttpserver-and-linux/25370
**Category:** Remoting SDK
**Tags:** delphi
**Created:** [September 17, 2021, 8:57pm UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370 "2021-09-17T20:57:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![claudio.piffer](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/c/9f8e36/32.png) [@claudio.piffer](https://talk.remobjects.com/u/claudio.piffer)
#### Post date: [September 17, 2021, 8:57pm UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370/1 "2021-09-17T20:57:53Z")

</div>

Hi,

I created a service app for Linux. I use RO 10.0.0.1511

All work fine but I have a problem:

1. if I use TROHTTPServer component the process allocate always 100% (and more) of the CPU

2. if I uset TROIndyHTTPServer the use of CPU is great and very low

Are there any problems using TROHTTPServer on Linux?

Same problem with TCP Server component. With TROIndyTCPServer the use of the CPU is low.

Instead if I use TROTCPServer the use of CPU is 100 % (and more)

Best Regards

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [September 20, 2021, 11:07am UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370/2 "2021-09-20T11:07:18Z")

</div>

Logged as [bugs://D19151](https://www.remobjects.com/portal/bugs/?id=D19151).

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [September 20, 2021, 11:49am UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370/3 "2021-09-20T11:49:14Z")

</div>

Hi,

try to update `uROAsyncSocket.pas` as

```auto
procedure TROSocketWorkerThread.IntExecute;
..
      end //updated
      else sleep(5); // added
    end;
  end;
end;

```

as I can see it removed CPU load on Linux platform

---

<div class="post-metadata">

### Author: ![claudio.piffer](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/c/9f8e36/32.png) [@claudio.piffer](https://talk.remobjects.com/u/claudio.piffer)
#### Post date: [September 20, 2021, 2:23pm UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370/4 "2021-09-20T14:23:18Z")

</div>

Hi EvgenyK

Work fine!!! Thank you very much for your great support!!!

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [September 20, 2021, 2:30pm UTC](https://talk.remobjects.com/t/rohttpserver-and-linux/25370/5 "2021-09-20T14:30:52Z")

</div>

[bugs://D19151](https://www.remobjects.com/portal/bugs/?id=D19151) was closed as fixed.
