How does the traveler decide to create a new process, and I can configure in any meaningful way How much processing should be handled (except in addition to the "smart" and "orthodox" flag in the configuration?) Alternatively, is there any way to debug whether the Rail applications running under Fusion will freeze?
Background:
I am using Fusion Traveler with Apache2 server, and for the most part, things are sorting I I'm less worried about and more worried about blocking: if it hits a long controlling system (a method that sleeps for ten seconds) then the whole app will need to be added regularly, and no one Other web pages can not be run until the method is complete The passenger, I can hit the same method, and still I can open a new browser and a faster pages loading the same app with no problem.
Some time
And that "sometimes" is a problem. If a method takes longer (in my case, an external network call that never comes back), the whole application will hang again, even with all the spief thread forking, or whatever. .
My understanding is that the way the traveler works, it is that whenever it is needed every time, it closes completely new examples of railways, generally But many people connecting at once In Ndrb.
It works for a long time, but ... but I can not find any reference to how or why (or more importantly, how to zoom in or configure this process ) Or even to know how the problem might be (Do I need to remove the fusion thorn from the thread, does it not work with a long period of a certain period?)
Whenever a request occurs in a Fusion passenger, it decides which process is forwarded to the request and that process is marked as busy once the process is handled by the request After it is marked as non-busy.
If all existing processes are busy, then fusion passenger creates a new process, as long as the maximum power size does not reach the limit, wait until a process becomes non-busy Will do
What exactly do you want to optimize? What do you mean by "freeze up"? Are you referring to the "slow-queued queue problem"? Fusion is a feature of passenger that is called global quaking, which resolves the problem, along with its solution is in Fusion passenger manual and since version 3.0.0 beta this option is turned on by default.
Comments
Post a Comment