Wednesday, May 30, 2007

Children crashing

I tried threading the security phase but when I checked the log file, it shows that some children are seg faulting. I suspect that since my threads and queues are global variables in the parent, the children cannot access them. It might have worked before because the request parsing and security phases may have not been necessary. I am now looking through the prefork MPM code to see if there is anywhere else I can put the threads. Another option would be to have each child contain a list of threads and then pass the threads to thread function so that it knows which thread to go on to.

No comments: