Zookeeper stops

2010-08-19 Thread Wim Jongman
Hi, I have a zookeeper server running that can sometimes run for days and then quits: Is there somebody with a clue to the problem? I am running 64 bit Ubuntu with java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1) OpenJDK 64-Bit Server VM (build 14.0-b16,

Re: Zookeeper stops

2010-08-19 Thread Mahadev Konar
Hi Wim, It mostly looks like that zookeeper is not able to create files on the /tmp filesystem. Is there is a space shortage or is it possible the file is being deleted as its being written to? Sometimes admins have a crontab on /tmp that cleans up the /tmp filesystem. Thanks mahadev On

Re: Zookeeper stops

2010-08-19 Thread Ted Dunning
Also, /tmp is not a great place to keep things that are intended for persistence. On Thu, Aug 19, 2010 at 7:34 AM, Mahadev Konar maha...@yahoo-inc.comwrote: Hi Wim, It mostly looks like that zookeeper is not able to create files on the /tmp filesystem. Is there is a space shortage or is it

Re: Zookeeper stops

2010-08-19 Thread Wim Jongman
Ah, thanks guys! I did not realize that this was a user setting. Will try. Best regards, Wim On Thu, Aug 19, 2010 at 4:43 PM, Ted Dunning ted.dunn...@gmail.com wrote: Also, /tmp is not a great place to keep things that are intended for persistence. On Thu, Aug 19, 2010 at 7:34 AM, Mahadev

Re: Zookeeper stops

2010-08-19 Thread Patrick Hunt
+1 on that Ted. I frequently see this issue crop up as I just rebooted my server and lost all my data ... -- many os's will cleanup tmp on reboot. :-) Patrick On 08/19/2010 07:43 AM, Ted Dunning wrote: Also, /tmp is not a great place to keep things that are intended for persistence. On Thu,

Re: Zookeeper stops

2010-08-19 Thread Wim Jongman
Hi, But zk does default to /tmp? Regards, Wim On Thursday, August 19, 2010, Patrick Hunt ph...@apache.org wrote: +1 on that Ted. I frequently see this issue crop up as I just rebooted my server and lost all my data ... -- many os's will cleanup tmp on reboot. :-) Patrick On

Re: Zookeeper stops

2010-08-19 Thread Patrick Hunt
No. You configure it in the server configuration file. Patrick On 08/19/2010 01:19 PM, Wim Jongman wrote: Hi, But zk does default to /tmp? Regards, Wim On Thursday, August 19, 2010, Patrick Huntph...@apache.org wrote: +1 on that Ted. I frequently see this issue crop up as I just