[STOR-303] StoRM creates too many threads Created: 15/Jul/13  Updated: 30/Jan/15  Resolved: 14/Aug/13

Status: Closed
Project: StoRM
Component/s: None
Affects Version/s: 1.11.1
Fix Version/s: 1.11.2
Security Level: Public (Visbile by non-authn users.)

Type: Bug Priority: Critical
Reporter: Enrico Vianello Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://ggus.eu/ws/ticket_info.php?ticket=95700



 Description   

Under load, StoRM 1.11.1 exceeds in number of threads created.
It hits the default number of threads limit of 1024 in /etc/security/limits.conf
After increasing that value, in less than 24h, over 8000 threads have been created.
Also, performance is poor - fts logs show an 80s wait in "Src Prep Duration". Probably because of this, lcg-gt and lcg-cp commands time out.



 Comments   
Comment by Enrico Vianello [ 30/Jul/13 ]

This commit fixes the creation of a large amount of thread. This large amount of threads was generated by the high number of abort requests, generated by the operations latency due to a malformed db query.

Generated at Wed Apr 09 06:52:46 CEST 2025 using Jira 10.3.4#10030004-sha1:d6812f2d35a143c1c5fc283d2f5a72582f40aaf1.