Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: rpc memory leak  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

Offline pharesim

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
    • Horizon [HZ]
rpc memory leak
« on: July 20, 2014, 04:38:59 AM »

Is anyone else experiencing a memory leak with rpc calls?
My testing system runs an ubuntu 12.04 with 16GB RAM, the (command line) client works smooth.

As soon as the rpc call is made bitsharesx takes 100% cpu and fills up memory until the machine is unusable and needs a hard reset :-\
This also happens with a wrong user/password combination.
« Last Edit: July 20, 2014, 04:48:33 AM by pharesim »
Meet you on STEEM

Offline fuzzy

Re: rpc memory leak
« Reply #1 on: July 20, 2014, 05:11:59 AM »
 +5%
BROWNIE==DKP; BitShares is our Community! 
ShareBits Welcome to  the Sharing Economy w/ BeyondBitcoin.org Partners--ShareBits.io & OpenLedger.info
TIP FORMAT: #sharebits "ForumHandleInQuotes" Quanity Token_Name

Offline pharesim

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
    • Horizon [HZ]
Re: rpc memory leak
« Reply #2 on: July 20, 2014, 09:07:30 AM »
Ok, seems I was really tired. Not sure how I managed to reproduce this all the time, there's definitely a memory leak which can be triggered by a HTTP POST. I got RPC working now though.

If you want me to try to reproduce the issue again tell me.
Meet you on STEEM

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Re: rpc memory leak
« Reply #3 on: July 20, 2014, 09:33:07 AM »

Offline pharesim

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
    • Horizon [HZ]
Re: rpc memory leak
« Reply #4 on: July 20, 2014, 10:51:19 AM »
Now I don't get the expected response from some rpc calls.
Filed an issue:
https://github.com/BitShares/bitshares_toolkit/issues/536
Meet you on STEEM

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12060
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: rpc memory leak
« Reply #5 on: July 20, 2014, 11:01:20 AM »
Just to complete that toic here a link to similar thread which also links to the memory leak:
https://bitsharestalk.org/index.php?topic=5562.new#new
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline happyshares

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: rpc memory leak
« Reply #6 on: July 20, 2014, 12:44:39 PM »
We had the same issue. A workaround for now is to use the http rpc port and add the path "/rpc" to your requests.

 

Google+