tempesta-tech / tempesta

All-in-one solution for high performance web content delivery and advanced protection against DDoS and web attacks
https://tempesta-tech.com/
GNU General Public License v2.0
615 stars 103 forks source link

Implement new procfs stat #2234

Closed EvgeniiMekhanik closed 1 day ago

EvgeniiMekhanik commented 3 weeks ago

The problem in issue #2220 occurs because count of max concurrent streams in test exceeded a lot of times and Tempesta FW prints warning on each event. printk can hungs for a long time in console_unlock (more then 20s !), moreover Tempesta FW hold socket lock all this time. To solve this problem we change T_WARN to T_DBG for this event to not print this message for not debug build and also we impement new procfs stat (streams_reset) - count of streams which were reset by any reason. It can be useful to check why new requests dropped.

Closes #2220

ttaym commented 3 weeks ago

I can confirm, that this changes fixes #2220 in release build.