Hello

On 23/09/2011 22:10, Fábio Costa wrote:
> Hello guys i need some sugestion.
>
> I have liquidsoap+icecast2+java+php running on a server
>
> I use java to dynamically create new liq file and put them to start running
> (because it seems that when PHP dies all child proccess running by him are
> closed as well).

It 'cleanly' dies, indeed. But is it expected that your master process dies?

> I use PHP because Java doesn't suport AF_UNIX socket and i need it for
> communication with running applications.

Sure, and it never will, since it's not cross-platform. But as usual 
great libraries exist:
https://github.com/mcfunley/juds

>
> I would like to stop using Java or PHP because there is already too much
> misc stuff in the system.

PHP + Java sounds overkill indeed.

> Is there a way to auto init a .liq file or to communicate in a way that is
> not telnet or AF_UNIX(I was thinking in using socat as in the example but
> didn't wanted to use even more 3rd part sofrwares)

socat is cool indeed, with plain Shell scripts maybe. Or Perl with the 
appropriate telnet or socket module. To my knowledge, these are the two 
lowest script language denominators on Unix.

Just my two cents.

>
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
>
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to