<< Back to previous view

[QB-4078] QuickBuild crashed due to a deadlock
Created: 05/Mar/24  Updated: 08/Mar/24

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 12.0.19
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Phong Trinh Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Linux

File Attachments: Text File QB_logs.txt    

 Description   
 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
 

 Comments   
Comment by 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>
Comment by 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
Comment by 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.
Comment by 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.
Generated at Thu May 16 19:11:33 UTC 2024 using JIRA 189.