Radium pidfile
Carter Bullard
carter at qosient.com
Fri Sep 24 14:49:03 EDT 2010
Yes, I see where the problem is, and I need to fix it.
We're creating the pid file before the fork, which of course is wrong.
We moved a lot of the initialization around, and so I'll have to move it to just
after the fork. I'll have that up maybe by Monday.
Carter
On Sep 24, 2010, at 2:15 PM, Phillip G Deneault wrote:
> Ah, so I did figure that out late last night, but what I noticed is that in the CentOS version I'm running, the pid file value is the value of radium - 2. Is this due to some double fork when its run as a daemon?
>
> Maybe this is a CentOS particularity, has anyone else noticed this?
>
> Phil
>
> On Fri, 24 Sep 2010, carter at qosient.com wrote:
>
>> Hey Phillip,
>> Pid file support is a ra* function, so turn it on in the rarc conf file. The variable is RA_SET_PID, and RA_PID_PATH.
>>
>> I just noticed that the radium manpage has an error. The radium.conf file is read using "-f radium.conf" not "-F conf", which like all ra* program, reads the rarc formatted file. I'll fix that.
>>
>> Carter
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>> -----Original Message-----
>> From: Phillip Deneault <deneault at WPI.EDU>
>> Sender: argus-info-bounces+carter=qosient.com at lists.andrew.cmu.edu
>> Date: Thu, 23 Sep 2010 16:02:36
>> To: <argus-info at lists.andrew.cmu.edu>
>> Subject: [ARGUS] Radium pidfile
>>
>> In the manpage of radium, it specifies in the 'FILES' section a PID file
>> that gets created. However, I don't see a file that is created nor do I
>> see how to create one since nothing else in the man page explicitly
>> speaks of a PID. I've tried setting one the same way argus does in its
>> config except its called 'RADIUM_SET_PID' and 'RADIUM_PID_PATH' but
>> alas, no luck. I'm running 3.0-3.17.
>>
>> Should their be one?
>>
>> Phil
>>
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3815 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20100924/30df2e78/attachment.bin>
More information about the argus
mailing list