Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-31-2004
nsns 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
Reply With Quote
  #2 (permalink)  
Old 11-01-2004
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: 962
Hi Nikolai,

We'll change this, thanks.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 11-02-2004
nsns 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
Reply With Quote
  #4 (permalink)  
Old 11-02-2004
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: 962
Quote:
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.

Quote:
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.