#18711 closed bug (duplicate)

WebPositive over 4000 threads

Reported by: smallstepforman Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/beta4
Keywords: Cc:
Blocked By: #12614 Blocking:
Platform: All

Description

With hrev57458, I've noticed app_server lockup complete where the machine appeared frozen (media server was still playing in background, and ssh from external machine was still possible). PS showed that WebPositive had over 4000 threads active. This was with google maps open. After rebooting the machine, and accessing WebPositive (google maps), I can see via process controller that there are several thousand of offscreen windows active. Obviously a BLooper is created for each offscreen window, which would explain where the threads were created.

I am making the assumption that the hard lockup I experienced was due to system thread exhaustion. Does WebPositive really need thousands of threads for a single webpage?

Coincidently, PS shows that dbus-daemon also has over 1800 threads.

Neither of these can be good for system performance.

Change History (2)

comment:1 by smallstepforman, 11 months ago

Process controller would show thousands of w:2397-offscreen, which belongs to a:2397 Haiku Webpositive. All I did was start WebPositive and navigate to google maps.

comment:2 by pulkomandy, 11 months ago

Blocked By: 12614 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.