Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Zookeeper log files cleanup

Hi,

 

In the runtime version 6.2.1 the zookeeper log files folder keeps on growing so I added the config tags (.../conf/zoo.cfg):

autopurge.snapRetainCount=4
autopurge.purgeInterval=1

And restarted the runtime, my hope was that zookeeper would also clean the old log files.This is not the case and the cleanup script is sh-shell based and the server is Windows based in our case. Anybody a good pointer to a script which I can run to clean the old files? Or can I just remove them when I shutdown the runtime?

 

Kind regards.

Labels (3)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

I do not know about bash from Microsoft for windows server (same as they make for Windows 10), but cygwin  do this work for You

 

C:\TOS_ESB\Runtime_ESBSE_6.3\zookeeper\bin>sh zkCleanup.sh c:\tmp\zookeeper\ -n 3

 

0683p000009Ltz0.png

View solution in original post

2 Replies
vapukov
Master II
Master II

I do not know about bash from Microsoft for windows server (same as they make for Windows 10), but cygwin  do this work for You

 

C:\TOS_ESB\Runtime_ESBSE_6.3\zookeeper\bin>sh zkCleanup.sh c:\tmp\zookeeper\ -n 3

 

0683p000009Ltz0.png

Anonymous
Not applicable
Author

Nice way around it, I forgot about cygwin.

I solved the problem on the test server for now, by stopping the Runtime and removing the content of the log folder. So far no issues.