ckolivas
|
0ab5f4c0a1
|
Do not reconnect to an instance that still holds a reference
|
10 years ago |
ckolivas
|
2574d44385
|
Every common use of the share lock uses only the write lock so convert it to a mutex
|
10 years ago |
Con Kolivas
|
cf516c96e7
|
Refuse auth attempts for progressively longer periods on failed attempts up to a maximum of 10mins
|
10 years ago |
Con Kolivas
|
44c990a589
|
Handle present but drop tagged client properly and don't leak the smsg ram
|
10 years ago |
Con Kolivas
|
c9c6f1175d
|
Don't try to add a new stratum instance for a client already on one of the dropped lists
|
10 years ago |
Con Kolivas
|
52b81dfe22
|
Match to existing worker instance from the userlist, not the client list which gets emptied
|
10 years ago |
Con Kolivas
|
ad622680cb
|
Rename user instance user in generate_user for clarity
|
10 years ago |
Con Kolivas
|
0c1fd0c865
|
Do not create unnecessary ckdbqueue in standalone mode.
|
10 years ago |
Con Kolivas
|
f261569922
|
Revert "Add message about lost ram in block solve and reject."
This reverts commit 99dc8947d2 .
|
10 years ago |
Con Kolivas
|
5534bc9919
|
Remove delete_init usage which was an unnecessary attempt at fixing other issues
|
10 years ago |
Con Kolivas
|
f01bb374b7
|
Dump the user stats to log in statsupdate outside of lock
|
10 years ago |
Con Kolivas
|
96280964ee
|
Read user and workerstats from logs on standalone mode outside of lock
|
10 years ago |
Con Kolivas
|
923eb44796
|
Cache value of ssends
|
10 years ago |
Con Kolivas
|
102ed8748b
|
Cache and use value of current_workbase in __stratum_notify
|
10 years ago |
Con Kolivas
|
309079238a
|
Differentiate lock contention from failing to get a response in failed auth message
|
10 years ago |
Con Kolivas
|
15a4fd91a6
|
Add ckdbq entries outside of the instance lock in update_workerstats
|
10 years ago |
Con Kolivas
|
6c2582fa3c
|
Remove use of logdebug within __add_dead
|
10 years ago |
Con Kolivas
|
d7417e9460
|
Move use of LOGINFO out of __stratum_add_instance
|
10 years ago |
Con Kolivas
|
9396a8d39e
|
Remove use of LOGDEBUG within locks in del dead/disconnected
|
10 years ago |
Con Kolivas
|
603306739e
|
Move log usage out of lock in drop_client
|
10 years ago |
Con Kolivas
|
fd2369921a
|
Move possible LOGINFO use out of lock usage in drop_client
|
10 years ago |
Con Kolivas
|
6b30cfc9d0
|
Move possible LOGERR usage ouf ot lock in __drop_client
|
10 years ago |
Con Kolivas
|
4e6612be31
|
Move logging out of lock in add_base
|
10 years ago |
Con Kolivas
|
a102827cf9
|
Sanity test
|
10 years ago |
Con Kolivas
|
7b450f16b6
|
Add client reference from moment we receive a message
|
10 years ago |
Con Kolivas
|
404e43ebe4
|
Deauth client when asked to drop it
|
10 years ago |
Con Kolivas
|
aa0086079f
|
Use HASH_ITER in update_diff for clarity
|
10 years ago |
Con Kolivas
|
f8e644e959
|
Optimise new_share for the common case where shares are new, minimising time under wlock
|
10 years ago |
Con Kolivas
|
61576761ba
|
Avoid taking recursive locks in new_enonce1 in proxy mode
|
10 years ago |
Con Kolivas
|
b40b47efb4
|
Age shares whose workbase id matches the one being aged
|
10 years ago |
Con Kolivas
|
3bbce63302
|
Generate connector stats on command
|
10 years ago |
Con Kolivas
|
e64db6bb40
|
Fix memleak on each reject reason message
|
10 years ago |
Con Kolivas
|
3c3621cc43
|
Use delete_init on the DL lists used in stratifier for thoroughness
|
10 years ago |
Con Kolivas
|
0f9e594dba
|
Change dead instance linked list to doubly linked for O(1) removal
|
10 years ago |
Con Kolivas
|
8ec6f3ce11
|
Add ckmsgq stats to stratifierstats.
|
10 years ago |
Con Kolivas
|
b188ec8a9c
|
Add share stats to stratifierstats
|
10 years ago |
Con Kolivas
|
0e5c5af1e6
|
Create basic stratifier stats reporting on command
|
10 years ago |
Con Kolivas
|
39fcdb8848
|
Change stratifier disconnect/drop message to not appear to be the server doing the disconnecting
|
10 years ago |
Con Kolivas
|
c317588c6d
|
Change ckdb userstats to update every minute instead of every 10 minutes
|
10 years ago |
Con Kolivas
|
0bd96f22e6
|
Don't queue workerstats while ckdb is offline
|
10 years ago |
Con Kolivas
|
1624d527b9
|
Use a portable boolean to tell us when ckdb is offline and change it under lock
|
10 years ago |
Con Kolivas
|
e11cb5c57e
|
Drop clients that are holding a reference count only after they've dropped it
|
10 years ago |
Con Kolivas
|
c68b30c08e
|
Grab the caller of dec_instance_ref for debugging
|
10 years ago |
Con Kolivas
|
e0528a5fb2
|
Add error message if ref count drops below zero
|
10 years ago |
Con Kolivas
|
83455ef06c
|
Fix minor memleak in send_recv_auth
|
10 years ago |
Con Kolivas
|
ee58990b05
|
Generically dealloc instead of freeing share pointer in purge_share_hashtable
|
10 years ago |
Con Kolivas
|
01ce6a65a0
|
Revert wrongly implicated linked list freeing workaround
|
10 years ago |
Con Kolivas
|
e009db5dc5
|
Add information when disconnecting a client
|
10 years ago |
Con Kolivas
|
f34516bd4d
|
Free buffer used for authorisation message
|
10 years ago |
Con Kolivas
|
f11250dd2d
|
Do not move clients from hash/linked lists while they hold a ref count
|
10 years ago |