Bitcoin Forum
May 08, 2024, 03:38:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: WARNING: request rejected because http work queue depth exceeded  (Read 400 times)
ngdias (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 1


View Profile
May 12, 2018, 03:28:49 PM
Merited by ABCbits (1)
 #1

I'm getting this error message on a VPS node that I am not using for RPC calls. It's just online and I don't do anything else than let it run.

Quote
WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting

.conf is set to rpcallowip=127.0.0.1 so no outside RPC calls are allowed.

The node stops working when this happens and resumes normally after a reboot.

1. What could be triggering this error?
2. What can I do to avoid it? Settings recommended [ DO NOT POST SESC LINKS ]here[/url] fix it or just delay the problem?
3. Is there a log or a command that allows me to query and monitor the number and origin of RPC quests over time?
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715182738
Hero Member
*
Offline Offline

Posts: 1715182738

View Profile Personal Message (Offline)

Ignore
1715182738
Reply with quote  #2

1715182738
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
May 12, 2018, 05:39:27 PM
Merited by ABCbits (3), Jet Cash (1)
 #2

1. What could be triggering this error?
RPC commands are being issued faster than they can be handled.

2. What can I do to avoid it? Settings recommended [ DO NOT POST SESC LINKS ]here[/url] fix it or just delay the problem?
You can set -rpcworkqueue to a number higher than 16.

3. Is there a log or a command that allows me to query and monitor the number and origin of RPC quests over time?
Start bitcoind with -debug=rpc and -debug=http. You will see information about the RPC commands and HTTP server stuff logged to the debug.log file.

ngdias (OP)
Jr. Member
*
Offline Offline

Activity: 51
Merit: 1


View Profile
May 12, 2018, 05:57:47 PM
 #3

Thanks for the reply, but there is still something I don't fully understand... the node accepts HTTP and RPC requests during regular operation, from other nodes in the network? This means anyone can spam my IP with these sort of requests to bring the node down?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
May 12, 2018, 11:53:01 PM
 #4

the node accepts HTTP and RPC requests during regular operation, from other nodes in the network?
No, it does not.

Connections from other nodes use the peer-to-peer network protocol which uses different ports and is not HTTP.

zuki1234
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 30, 2022, 04:01:38 AM
 #5

1. What could be triggering this error?
RPC commands are being issued faster than they can be handled.

2. What can I do to avoid it? Settings recommended [ DO NOT POST SESC LINKS ]here[/url] fix it or just delay the problem?
You can set -rpcworkqueue to a number higher than 16.

3. Is there a log or a command that allows me to query and monitor the number and origin of RPC quests over time?
Start bitcoind with -debug=rpc and -debug=http. You will see information about the RPC commands and HTTP server stuff logged to the debug.log file.

I know this is an old thread, I am a total newbie in crypto currency and since bitcoin is so expensive I decided to fork litecoin instead and learn more about it, still have alot to learn. I was having the same issue and so far after adjusting the rpcworkqueue i have not received the error in the past 30 minutes ill keep running it overnight and see if I will get the error.

Thank you for posting this solution.
zuki1234
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 30, 2022, 08:44:46 PM
 #6

--snip--

I know this is an old thread, I am a total newbie in crypto currency and since bitcoin is so expensive I decided to fork litecoin instead and learn more about it, still have alot to learn. I was having the same issue and so far after adjusting the rpcworkqueue i have not received the error in the past 30 minutes ill keep running it overnight and see if I will get the error.

Thank you for posting this solution.

I'm not sure what do you mean by "fork litecoin". However, you could use Bitcoin Testnet network, so you don't need to experiment/learn with real money. You can use faucet (such as https://testnet-faucet.com/btc-testnet/) to obtain testnet Bitcoin (tBTC).

I could be wrong with my terminologies, what I meant was I downloaded a copy of the Litecoin code and modified it to create an altcoin. I know this is a Bitcoin forum but so far I am able to resolve issues with my altcoin "litecoin fork" with posts from this forum. I will look into your suggestion and set up a Bitcoin node as well to learn more about it. Thanks!
 
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7358


Farewell, Leo


View Profile
January 31, 2022, 07:56:10 AM
 #7

I could be wrong with my terminologies, what I meant was I downloaded a copy of the Litecoin code and modified it to create an altcoin. I know this is a Bitcoin forum but so far I am able to resolve issues with my altcoin "litecoin fork" with posts from this forum. I will look into your suggestion and set up a Bitcoin node as well to learn more about it. Thanks!

You can create a thread in the Altcoin Discussion and invite us to help you there.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!