This is the hunchentoot-stuck-connection-monitor Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:26:01 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
hunchentoot-stuck-connection-monitor
Monitors hunchentoot connections and logs
the connections stuck in the same state for a long time (due to
slow or inactive clients and network stream timeouts
that hunchentoot tries to utilize not working properly).
Offers an option to shutdown the stuck connections sockets
manually or automatically, thus unblocking
the connection threads and preventing thread and socket leak.
See https://github.com/edicl/hunchentoot/issues/189
Anton Vodonosov <avodonosov@yandex.ru>
BSD-2-Clause
1.0.0
hunchentoot
(system).
bordeaux-threads
(system).
usocket
(system).
track-progress.lisp
(file).
stuck-connection-monitor.lisp
(file).
acceptor-hook.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
hunchentoot-stuck-connection-monitor/hunchentoot-stuck-connection-monitor.asd
hunchentoot-stuck-connection-monitor/track-progress.lisp
hunchentoot-stuck-connection-monitor/stuck-connection-monitor.lisp
hunchentoot-stuck-connection-monitor/acceptor-hook.lisp
hunchentoot-stuck-connection-monitor/hunchentoot-stuck-connection-monitor.asd
hunchentoot-stuck-connection-monitor
(system).
hunchentoot-stuck-connection-monitor/track-progress.lisp
hunchentoot-stuck-connection-monitor
(system).
hunchentoot-stuck-connection-monitor/stuck-connection-monitor.lisp
track-progress.lisp
(file).
hunchentoot-stuck-connection-monitor
(system).
monitoring-interval-seconds
(reader method).
(setf monitoring-interval-seconds)
(writer method).
shutdown-sockets-automatically
(reader method).
(setf shutdown-sockets-automatically)
(writer method).
shutdown-stuck-connections
(function).
start
(method).
stop
(method).
stuck-connection-monitor
(class).
stuck-timeout
(generic function).
*debug-enabled*
(special variable).
ensure-monitoring-thread-running
(function).
hunch-log
(function).
lock
(reader method).
log-debug
(function).
log-info
(function).
log-warn
(function).
monitor-thread-body
(function).
record
(class).
records-by-socket
(reader method).
(setf records-by-socket)
(writer method).
seconds-since
(function).
should-stop-p
(function).
shutdown-socket
(function).
socket-description
(function).
stop-cond-var
(reader method).
stop-requested-p
(reader method).
(setf stop-requested-p)
(writer method).
thread
(reader method).
(setf thread)
(writer method).
thread-running-p
(reader method).
(setf thread-running-p)
(writer method).
timed-out-records
(function).
track-progress
(method).
wait-for-stop
(function).
hunchentoot-stuck-connection-monitor/acceptor-hook.lisp
stuck-connection-monitor.lisp
(file).
hunchentoot-stuck-connection-monitor
(system).
process-connection
(method).
Packages are listed by definition order.
hunchentoot-stuck-connection-monitor
hunch-conn-mon
common-lisp
.
monitoring-interval-seconds
(generic reader).
(setf monitoring-interval-seconds)
(generic writer).
shutdown-sockets-automatically
(generic reader).
(setf shutdown-sockets-automatically)
(generic writer).
shutdown-stuck-connections
(function).
stuck-connection-monitor
(class).
stuck-timeout
(generic function).
*debug-enabled*
(special variable).
ensure-monitoring-thread-running
(function).
hunch-log
(function).
lock
(generic reader).
log-debug
(function).
log-info
(function).
log-warn
(function).
monitor-thread-body
(function).
record
(class).
records-by-socket
(generic reader).
(setf records-by-socket)
(generic writer).
seconds-since
(function).
should-stop-p
(function).
shutdown-socket
(function).
socket-description
(function).
stop-cond-var
(generic reader).
stop-requested-p
(generic reader).
(setf stop-requested-p)
(generic writer).
thread
(generic reader).
(setf thread)
(generic writer).
thread-running-p
(generic reader).
(setf thread-running-p)
(generic writer).
timed-out-records
(function).
wait-for-stop
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
Tells the monitor what time without progress indicates a stuck connection. NIL means no timeout.
stuck-connection-monitor
) socket) ¶hunchentoot
.
stuck-connection-monitor
)) ¶hunchentoot
.
stuck-connection-monitor
) &key soft) ¶hunchentoot
.
lock
.
(setf monitoring-interval-seconds)
.
monitoring-interval-seconds
.
process-connection
.
(setf records-by-socket)
.
records-by-socket
.
(setf shutdown-sockets-automatically)
.
shutdown-sockets-automatically
.
start
.
stop
.
stop-cond-var
.
(setf stop-requested-p)
.
stop-requested-p
.
(setf thread)
.
thread
.
(setf thread-running-p)
.
thread-running-p
.
track-progress
.
(bordeaux-threads:make-lock "hunchentoot-stuck-connection-monitor.lock")
lock
.
This slot is read-only.
hash-table
(make-hash-table :test (function eq))
boolean
:shutdown-sockets-automatically
(integer 0)
60
:monitoring-interval-seconds
(or null bordeaux-threads:thread)
boolean
boolean
(bordeaux-threads:make-condition-variable :name "hunchentoot-stuck-connection-monitor.stop-cond-var")
This slot is read-only.
Returns true if the MONINTOR’s thread should be stopped,
and false on timeout. As usually, the TIMEOUT-SECONDS can be fractional.
stuck-connection-monitor
)) ¶automatically generated reader method
lock
.
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
stuck-connection-monitor
)) ¶automatically generated reader method
stuck-connection-monitor
)) ¶automatically generated writer method
stuck-connection-monitor
)) ¶hunchentoot
.
:socket
string
:description
keyword
:state
:state-enter-realtime
bordeaux-threads:thread
:thread
(or null (integer 0))
Jump to: | (
E F G H L M P R S T W |
---|
Jump to: | (
E F G H L M P R S T W |
---|
Jump to: | *
D L M R S T |
---|
Jump to: | *
D L M R S T |
---|
Jump to: | A C F H P R S T |
---|
Jump to: | A C F H P R S T |
---|