Results 1 to 2 of 2

Thread: Unix signals possibly interfering with Ice communication?

  1. #1
    iCode is offline Registered User
    Name: Laszlo Kiss
    Organization: Delta Prime, Inc.
    Project: Simplified analog of Sun's Grid Engine.
    Join Date
    Jun 2010
    Posts
    5

    Unix signals possibly interfering with Ice communication?

    I have a server app with a very simple interface who's function is to fork off processes according to client requests (rsh would not do). What I'm experiencing is that my client intermittently hangs in the code where it is trying to talk to the server. On the server side, I see all threads at the poll() function. It seems as if my client's message has been lost. Upon reconnect the interface is still hung, so I have to cycle the server.

    I'm just wondering whether SIGCHLD (or other signals) can cause this problem?

    Note that I can't employ the signal handling strategy that is in the documentation, but besides, this is a signal that is not mentioned there. Also, if I 'pace' my method calls to the server the problem is less likely, but still occurs.

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Laszlo,

    You can fork and exec with Ice, however you need to be careful; see http://www.zeroc.com/faq/fork.html for details.

    It's also possible that you could replace your forking server with IceGrid (an IceGrid node), that also starts (forks) servers according to client requests.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using Ice under Unix and Windows
    By fengshengheli in forum Help Center
    Replies: 3
    Last Post: 05-13-2010, 09:21 AM
  2. Replies: 1
    Last Post: 01-23-2009, 11:35 AM
  3. Signals masked when running under icegridnode?
    By joshmoore in forum Help Center
    Replies: 2
    Last Post: 02-01-2008, 08:32 AM
  4. A new transport over Unix sockets
    By fmoya in forum Patches
    Replies: 0
    Last Post: 06-05-2007, 05:12 AM
  5. Signals and Ice::Application
    By marksj in forum Help Center
    Replies: 2
    Last Post: 08-27-2004, 02:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •