Hello Romain,

It seems the problems i mention about pid deletion doesn't work and pid 
is created late in the process haven't been fixed yet, though i haven't 
tested it during the last week. I've decided to use another systemd 
approach which eliminates the need of using liquidsoap as a daemon as 
well as creating pid files.

Leonard

On 5/3/2013 20:16, Romain Beauxis wrote:
> Hi,
>
> sorry late response, I was away on vacation.
>
> What's up for you on this issue?
>
> R.
>
> 2013/4/26 Leonard de Ruijter <[email protected]>:
>> Romain,
>>
>> On 4/26/2013 11:38, Romain Beauxis wrote:
>>> If you compile with the latest ocaml-dtools and use the internal
>>> daemonization option, it should.
>>>
>>> Make sure you do "git pull" from within ocaml-dtools to catch the
>>> latest git there.
>>>
>>> I will add a log message to see when pid file is created soon. Or you
>>> could do it yourself and test, just look for the line where pid file
>>> is created and add:
>>>     Printf.printf "Pid file created\n"%!";
>>> right after!
>>>
>> I did a new clone from the liquidsoap-full.git, including make init and
>> .bootstrap. Then changed the dtools source and installed. Here are my
>> findings.
>> 1. The pidfile in /var/run/liquidsoap isn't being removed after closing
>> the program
>> 2. When i use sudo -u liquidsoap liquidsoap foo.liq --daemon, sometimes
>> the bash prompt returns before printing the pidfile created message.
>> Like this:
>> root@elles:~# sudo -u liquidsoap liquidsoap /etc/liquidsoap/foo.liq --daemon
>> root@elles:~# Pid file created
>>
>> In other words, it seems forking starts too late, or the start process
>> which is exited after forking exits too early. I can't check where the
>> pidfile created message pops up in the log, as printing the log to
>> stdout doesn't work when daemonizing.
>>
>> I'll try some more things and might come back later today.
>>
>> Leonard
>>
>> ------------------------------------------------------------------------------
>> Try New Relic Now & We'll Send You this Cool Shirt
>> New Relic is the only SaaS-based application performance monitoring service
>> that delivers powerful full stack analytics. Optimize and monitor your
>> browser, app, & servers with just a few lines of code. Try New Relic
>> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to