Results 1 to 4 of 4

Thread: daemonization

  1. #1
    nsns is offline Registered User
    Join Date
    Jul 2004
    Location
    Padova, Italy
    Posts
    36

    daemonization

    Hi !

    My server (Ice::Service) does not want to become a daemon on some Linuxes (e.g. RH7.3).
    The first original process is not terminated.
    There is no problem on newer Linuxes.
    I don't know is it a bug/feature/"undefined_behaviour" of glibc.

    The problem is in the parent part of Ice::Service::runDaemon() which finishes with the
    'return exit_code' statement.
    Could you replace it with '_exit(exit_code)' (note underscore).

    Best regards, Nikolai

  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,445
    Hi Nikolai,

    We'll change this, thanks.

    Take care,
    - Mark

  3. #3
    nsns is offline Registered User
    Join Date
    Jul 2004
    Location
    Padova, Italy
    Posts
    36
    Hi Mark,

    I have a suspicioin that if I submit more than one question to the "Ice Support" during one day,
    I get an answer on only one question. Is it true ?

    For example, few days ago I submitted two threads and did not get any answer on one of them
    (subject "fds[1]=0", group "Bug Reports"). Of course, the problem mentioned in the thread
    "fds[1]=0" is not very important but because there was no answer (even like "We'll see")
    I suspect that it could be a problem in the Forum software.

    Best regards, Nikolai

  4. #4
    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,445
    Originally posted by nsns
    I have a suspicioin that if I submit more than one question to the "Ice Support" during one day, I get an answer on only one question. Is it true ?
    No, we don't intentionally limit our responses.

    For example, few days ago I submitted two threads and did not get any answer on one of them (subject "fds[1]=0", group "Bug Reports"). Of course, the problem mentioned in the thread "fds[1]=0" is not very important but because there was no answer (even like "We'll see") I suspect that it could be a problem in the Forum software.
    Sorry, we sometimes get distracted answering questions and simply forgot to respond to this one. There is no problem with the forum.

    Take care,
    - Mark

Thread Information

Users Browsing this Thread

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

Posting Permissions

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