Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Unkillable process because of using semaphores?
Hi,

I have some code, to which I added usage of posix semaphores.  I am
working on a solaris platform.  After doing that, my process becomes
unkillable, that is it will not terminate if sent a SIGTERM signal.
I am not ignoring that signal.  Just adding this code related to
semaphores seems to be causing this problem.  None of my threads is
sleeping indefinitely on any semaphore wait.
Any help will be appreciated.
If this is not the right group for this question, it would be great if
someone could guide me to the right group.

Thanks,
Nish.

Report this thread to moderator Post Follow-up to this message
Old Post
Nish
09-30-04 09:07 PM


Re: Unkillable process because of using semaphores?
On Thu, 30 Sep 2004 10:58:14 -0700, Nish wrote:

> I have some code, to which I added usage of posix semaphores.  I am
> working on a solaris platform.  After doing that, my process becomes
> unkillable, that is it will not terminate if sent a SIGTERM signal.
> I am not ignoring that signal.  Just adding this code related to
> semaphores seems to be causing this problem.  None of my threads is
> sleeping indefinitely on any semaphore wait.

What version of Solaris are you using? What does "pflags <pid>"
and "pstack <pid>" output? How much memory is the process using
when it is ignoring you?

--
mail1dotstofanetdotdk


Report this thread to moderator Post Follow-up to this message
Old Post
Bjorn Reese
09-30-04 09:07 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:44 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.