As I starting threading the preparation phase, where I spawn a new thread for each subrequest, Apache would bring my system to a crawl.
I suspected that something was going on with threads because that was the only thing different than the previous phases.
I used this program and modified it to see if there was a limit for each process.
Seems my computer has a limit of 32,332 threads per process tree.
I am thinking of trying a thread pool next.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment