workspace folder is huge [message #1710663] |
Thu, 08 October 2015 05:16  |
Eclipse User |
|
|
|
Hi All,
I have just run the server with production configuration for about half month, and today I found that the size of the workspace size was about 45G.
Specially for following two folders:
/data/mumunion_gyrex/workspace/zookeeper/version-2
This folder includes some snapshot files about jobs.
/data/mumunion_gyrex/workspace/zookeeper/logs/version-2
This folder includes logs for jobs.
Can I change the storage way for that snapshot files, such as mongo or mysql?
Or, Can I customize the storage path for the snapshot files?
Thanks
Sean
|
|
|
|
|
|
|
Re: workspace folder is huge [message #1710763 is a reply to message #1710755] |
Fri, 09 October 2015 01:35  |
Eclipse User |
|
|
|
On 2015-10-09 01:51:58 +0000, Sean Zhang said:
> My business volume is still small, and currently it run on one cloud
> server, so I use the embedded zookeeper right now. I will follow the
> production deploy guide to setup a cloud to support the business if the
> it grows quickly.
That's fine. You can also run standalone if you like.
For now, please setup a cron job, that regulary purges old Zookeeper
transaction logs and snapshots.
Zookeeper needs some regular clean-up of its data directory. That
usually happens via a cron script after/as part of the backup story.
http://zookeeper.apache.org/doc/r3.3.1/zookeeperAdmin.html#Ongoing+Data+Directory+Cleanup
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxx
|
|
|
Powered by
FUDForum. Page generated in 0.03775 seconds