Timer-2 thread is waiting on the 0x00000000e1a23398, and it's also locking the 0x00000000e1a23398. Will this situation cause Timer-2 thread deadlock? Can anybody explain it for me?
Is the TimerThread cause DeadLock happend?
241 Views Asked by Kay At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in NETTY
- WebClient apears to add headers to request on its own. Where does it happen?
- Why is the reconnection abnormal after channel inactivation in netty client BootStrap?
- WebFlux is unable to decode Chunked requests properly
- getting error for Macbook Air M1 "Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider, fallback to system defaults
- How should I handle the gRPC server shutdown during CRaC checkpointing?
- How to check for delimiter in netty tcp connection. And what's the use of delimiter
- Extract IP address from NS record using Netty
- More than the maximum allowed number of headers in Netty
- replacement for write/readXXXLE in netty 5
- I want Netty webserver instead of tomcat in my spring-boot project with webflux
- Can Netty's HAProxyMessageDecoder allow connections without HA Proxy data?
- Bad Object Array seen in Netty
- Ktor (Netty) Configuration Values for Expected Load
- How can I avoid java.net.SocketTimeoutException when debugging my endpoints in Spring Boot?
- Reactive springboot with netty server and swagger-ui
Related Questions in DEADLOCK
- Why sem_post() looks like blocked when using WinAPI and Semaphore to create a program that re-running again and again
- Understanding Potential Deadlock in Resource Pool Implementation Described in "Go in Action"
- Workaround for Micrometer deadlock
- How to detect deadlocks in a Go program?
- ORM Postgresql DeadLock?
- Deadlock occured but can't find it's origin
- Lock Acquisition Order in MYSQL
- The Philosophers dinning problem, why my threads are getting race conditions?
- How to ensure consistency in process synchronization
- custom mutex - all goroutines are asleep - deadlock
- How to prevent Deadlocks in Java using the Bakery Algorithm?
- Deadlock in Python garbage collection on exception
- COS/S3 python log handler causes deadlock
- mpi deadlock with matrix-vector multiplication
- Database Deadlock Prevention Wound-wait and wait-die
Related Questions in NSQ
- Graceful Downscale GCE Instances
- Communicate with NSQ over a Websocket
- Get notified when an NSQD node is not available
- Acknowledge messages in NSQ
- Can I use nsq_to_file uitility with docker compose?
- How to create a channel in NSQ without consuming a message
- How to do nsqd load balancing with its sticky connections?
- NSQ cluster in Kubernetes
- After nsq.run() my python script is not executing block of code in "pynsq" package
- Inject dynamically commands into a deployment
- Attempt to reconnect to NSQ after clean close
- How to get a return value of a function in python
- depth of channel showing in nsqadmin increasing fast when producer send message to same topic via different nsqd
- How to get docker generated ip port from docker-compose
- How to connect/listen to nsqd from a webserver
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

This is not evidence of a deadlock.
Timer-2 is has acquired the lock on a
TaskQueueobject and is waiting for a notify on the same object. Indeed, if the thread wasn't holding the lock at the point it calledObject.wait()it would have gotten anIllegalMonitorStateException.I am not saying that your application is not deadlocked at all. However, two threads "Timer-1" and "Timer2-" are both waiting for other threads to notify them. This is not a classic deadlock, where two threads would each be waiting for the other to release a lock.
What else can I figure out?
Well, from looking at the code of
java.util.Timer:The "Timer-2" thread is simply waiting for the next time for the timer to trigger. This is completely normal behavior for a
Timer.The "Timer-1" thread is in the process of executing a timer task. It appears to be trying to create an NSQ connection to a (presumably) remote service. If it is blocking, that presumably means that the service it is trying to connect to is inaccessible for some reason.
There is not much more that can be gleaned from the stack dumps ... without digging into the "com.trendrr.nsq" source code.