Ask a Question related to Sun Solaris, Design and Development.
-
Indira #1
pthread_set_concurrency & deadlock
Hi,
We are facing a strange problem with pthread_set_concurrency. We have
spawned "n" number of threads & are setting
pthread_set_conccurrency(n). But this leads to application
hanging.(application is responsive to ctrl-c)
By increasing pthread_set_concurrency(n+10), the deadlock problem
seems to be resolved.
Our application is running on Solaris 8.
As 1:1 ratio doesn't work fine, any idea how to give a suitable value?
Regards
Indira
Indira Guest
-
Deadlock?
I have a multi-threaded http server. Sometimes, it gets into a state where it stops responding to requests, and if I press Ctrl+C at the console it... -
Deadlock
I am using DB2 v8 and JDBC type 2 driver (i.e. db2java.jar, not db2jcc.jar). I am using isolation level of CS, Cursor Stability. I hit a deadlock... -
COM Deadlock in W2k but not NT 4.0
I have ASP code that calls a COM module to perform encryption functions. The code and COM modules have been working great for two years on an two... -
Deadlock in Solaris 8
Hi, We have developed a "multi-threaded" application in Solaris 8 running in E-255 with 2 processor.The application hangs after running for... -
Sql Server Deadlock
hi, Good Morning...While i am working with SQL Server with my application. That is while iam invoking more than two transaction, with payment... -
Thomas Maslen #2
Re: pthread_set_concurrency & deadlock
In <bb2f8e50.0307240759.77d822f0@posting.google.com > [email]indira1005@yahoo.com[/email] (Indira) writes:
Does it help at all if, instead of using pthread_set_concurrency() to try>Hi,
>
>We are facing a strange problem with pthread_set_concurrency. We have
>spawned "n" number of threads & are setting
>pthread_set_conccurrency(n). But this leads to application
>hanging.(application is responsive to ctrl-c)
>
>By increasing pthread_set_concurrency(n+10), the deadlock problem
>seems to be resolved.
>
>Our application is running on Solaris 8.
>
>As 1:1 ratio doesn't work fine, any idea how to give a suitable value?
to make the Solaris two-level threading implementation behave sensibly,
you just use the Solaris 8 and 9 one-level threading implementation instead?
See "ALTERNATE IMPLEMENTATION" in "man pthreads". (On Solaris 9 it's the
default, so you don't even have to think about it; on Solaris 8 you have
to refer to it explicitly).
Thomas Maslen
[email]maslen@wedgetail.com[/email]
Thomas Maslen Guest



Reply With Quote

