History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-4078
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

QuickBuild crashed due to a deadlock

Created: 05/Mar/24 10:43 PM   Updated: 08/Mar/24 12:44 AM
Component/s: None
Affects Version/s: 12.0.19
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File QB_logs.txt (28 kb)

Environment: Linux


 Description  « Hide
 Our QuickBuild server responded very slow and then crashed. There is a deadlock in the server logs. Any idea? I attached it here for your references.
 
Thanks!
ptrinh
 

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [06/Mar/24 12:10 AM]
How many database connections you've configured in "<QB server>/conf/hibernate.properties". Also please get me a stack trace when server responds slowly:

/path/to/jdk/bin/jstack <QB server JVM process id>

Phong Trinh [06/Mar/24 01:43 AM]
 Thank you for promptly resonse, Robin!
 We use PostgreSQL datbase. and hibernate.c3p0.max_size=50. I will provide you the trace if this issue happens again.

 Thanks,
ptrinh

Phong Trinh [08/Mar/24 12:41 AM]
 I checked the database connections in one month, the connection never reached the max.There was a build which was looping and wrote a lot of data to the log file. I am wonder if it caused the deadlock and brought the server down.

Robin Shen [08/Mar/24 12:44 AM]
This can be a problem. You may change the log level of the configuration to WARNING (can be defined in general setting of the configuration) to suppress logs.