Ask the Expert

When the number of threads reaches 200, the server hangs?

We are facing a peculiar problem with our server. When the number of threads reaches a number of 200 on the server, the server hangs and when we try to restart the Web server, we get the following message on the console: HTTP Waiting For thread : Thread : [15a] State : [Worker processing request] Other Info : Get /abc/def/......../?open We have agents running on 'web query open' and these fetch data from Oracle. we are using lxodbc to connect. Your suggestion would be greatly helpful.
Congratulations! You have run square into our biggest headache. You will find that these agents are not exiting cleanly or are waiting for information or the odbc queue. You'll need to figure out the cause (either not terminating cleanly or still waiting for data) and write code to work around this and free up the thread. Don't be fooled. Just because your query has come back with the data does not mean that the odbc queue has released the process and thread. Also beware of embedded images that are using Domino's conversion to gif or jpeg. Many times the conversion program does not ever complete keeping the thread open even though the image appears to have rendered. Sometimes this image problem will cause the threads to hang and you may be thinking, is it my Web query save? Just a thought.

This was first published in July 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: