Jump to content
uniGUI Discussion Forums
Sign in to follow this  
ricardolb

Server Ran out of Threads

Recommended Posts

I'm getting this error on Apache 2.4

 

[Thu Aug 17 15:00:50.355132 2017] [mpm_winnt:error] [pid 4948:tid 9548] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting

 

when this happens Apache freezes and I have to restart the service, I already tried to increase the ThreadsPerChild setting but the problem persists, does anyone have any clue of what it

might be? Does anyone already used Apache 2.4 in an production environment.

 

I'm aware that it might be a problem in my Application I'm just looking for any similar experiences so I start looking for stuff.

 

Thank you

Share this post


Link to post
Share on other sites

To resolve this you can increase ThreadsPerChild to a number bigger than MaxRequests in uniGUI.

Recommended values are 50 for both.

 

If some requests hang in your application it can be source of your problem. You can monitor this by opening Server Monitor page and monitoring "Requests" value.

Under number operation Requests must be a value close to 1. It can go up and down depending on the server load but eventually it must show 1 when your server is idle.

Share this post


Link to post
Share on other sites

Thanks Farshad for your answer.

 

I am monitoring it on a daily basis, and I've never seen it go higher than 5 simultaneous and it drops to 1 again in a few seconds, anyway, I changed my server to IIS now to see if the problem persists, and I'm pretty sure it's something on my App that it's causing this, if anyone had a similar problem and found the solution please let me know.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×