Results 1 to 3 of 3

Thread: IceStorm publisher and subscriber in the same process

  1. #1
    istvan is offline Registered User
    Name: Istvan Buki
    Organization: Fedex
    Project: just experimenting
    Join Date
    Mar 2003
    Location
    Brussels, Belgium
    Posts
    18

    Question IceStorm publisher and subscriber in the same process

    Hello Ice experts,

    I would like to know if there is anything special about having a publisher and a subscriber for the same topic within the same process. I'm asking the question because when my subscriber is in a different process it receives the events and the process containing the publisher is behaving correctly. On the other hand when the subscriber is within the same process as the publisher and the following property is set (the endpoint for the subscriber):

    Code:
    DbSynch.Subscriber.Endpoints=tcp
    then the process starts behaving strangely: the publisher never returns from the call he made to send the event and new client applications can not make a connection to this process.

    I'm using Ice version 2.1.0 on linux.

    Thank you for any help you could provide on this.

    Istvan

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi,

    The most likely reason for a hang is a lack of available threads. Try increasing the size of your server thread pool and let us know whether that solves the problem.

    Take care,
    - Mark

  3. #3
    istvan is offline Registered User
    Name: Istvan Buki
    Organization: Fedex
    Project: just experimenting
    Join Date
    Mar 2003
    Location
    Brussels, Belgium
    Posts
    18

    Thumbs up

    Hi Mark,

    You were right, increasing the size of the server thread pool solved the problem. It works like a charm now.

    Thank you very much,

    Istvan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. publisher/Subscriber functionnalitywith IceE
    By prettyMan in forum Help Center
    Replies: 8
    Last Post: 02-08-2010, 11:43 AM
  2. Replies: 12
    Last Post: 01-15-2009, 05:17 PM
  3. Publisher and Subscriber
    By slypete in forum Help Center
    Replies: 6
    Last Post: 08-13-2008, 04:18 PM
  4. about Subscriber and Publisher
    By terminate in forum Help Center
    Replies: 1
    Last Post: 04-27-2007, 12:44 PM
  5. about publisher/subscriber
    By rellik78 in forum Help Center
    Replies: 1
    Last Post: 09-15-2006, 03:34 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
  •