That's common practice, usually people go with http://supervisord.org/ for doing that.
I would still debug the memory leak, the newer PHP versions are much better when it comes to memory handling. On what version are you on? -Alvaro On Thu, Mar 13, 2014 at 9:38 AM, <[email protected]> wrote: > Hi all, > > i use RabbitMQ for my little web site and i have a question for you: how > implement a recever? > The receiver is a program that must run forever and this is a problem: > memory leak and other error block the receiver and the queue becomes bigger > and bigger... > To resolve this problem i have a precess father that creates a child. The > child is the rabbitmq receiver and, if the child dies, the father creates a > new child that become the new rabbitmq receiver. > > Is this a correct procedure? Have you another model to suggest? > > _______________________________________________ > rabbitmq-discuss mailing list > [email protected] > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss > -- You received this message because you are subscribed to the Google Groups "rabbitmq-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rabbitmq-discuss. For more options, visit https://groups.google.com/d/optout.
