Hi Erlend, If you could obtain a thread dump from the agents process when MCF hangs that would also be very helpful.
IN GENERAL, when something hangs in Java, it's essential to get a thread dump in order to diagnose the problem. Thanks, Karl On Tue, Sep 16, 2014 at 5:06 AM, Erlend Garåsen <[email protected]> wrote: > On 16.09.14 10:53, lalit jangra wrote: > >> Hi Erlend, >> >> Can you please elaborate on how you have configured zookeeper based >> synchronization, is it in stand alone mode or clustered mode? How many >> zookeeper nodes are you running for each of node and how many agents are >> you running? >> > > I'm not very familiar with Zookeeper, so I have just followed the examples > inside the multiprocess-zk-example folder, i.e.: > $MCF_HOME/../runzookeeper.sh > /dev/null 2>&1 & > # Reading global properties: > $MCF_HOME/../setglobalproperties.sh > /dev/null 2>&1 & > # Starting Agent process: > $MCF_HOME/processes/executecommand.sh > org.apache.manifoldcf.agents.AgentRun \ > 1>>$LOGDIR/mcf_agent.stdout.log 2>>$LOGDIR/mcf_agent.stderr.log & > pid=$! > > The above lines are from my startup script. I see now that I haven't > specified "-Dorg.apache.manifoldcf.processid=A", I'm not sure this is > important, but I can of course try to include that into my script and > restart everything. > > So to the question about how many zookeeper nodes I'm using, the answer is > one. The same applies to the number of running agents. > > Erlend >
