flushctl to set the high/low memory water mark not working
I'm trying to use flushctl to set the mem_low_wat and mem_high_wat params but it's giving me this error:
TypeError: set_flush_param() takes exactly 3 arguments (2 given)
-Sanjeev
Bhawana,
Our version is 1.6.0.1. As this ia production enviorment, we may not be able to test RC1 immediatly. Would the error resolve if we switch to RC1?
Following command which is giving the error:
# /opt/membase/1.6.0.1/bin/ep_engine/management/flushctl localhost:11210 set mem_high_wat 1024
Traceback (most recent call last):
File "/opt/membase/1.6.0.1/bin/ep_engine/management/flushctl", line 46, in ?
c.execute()
File "/opt/membase/1.6.0.1/bin/ep_engine/management/clitool.py", line 44, in e
xecute
getattr(mc, f[0])(args[2:])
TypeError: set_flush_param() takes exactly 3 arguments (2 given)
-Sanjeev
sanjeev,
What version of python are you using?
Bhawana
Bhawana,
Python version details...
Python 2.4.3 (#1, Jul 2 2009, 15:50:36)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Linux version details...
Linux 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 E
DT 2010 x86_64 x86_64 x86_64 GNU/Linux
-Sanjeev
Sanjeev,
We were not able to reproduce this problem on a similar environment here. We are still investigating this. It would be good to know if you are able to run other scripts like tap.py.
Bhawana
Hi Sanjeev,
Just following up... there was indeed a fix to flushctl after 1.6.0.1, related to parameter parsing. The latest & greatest release, 1.6.4.1, has this fix.
Cheers,
Steve
WONDERFUL Post.thanks for share..more wait ..
Credit Report tweedy
Sanjeev,
Can you please paste the command you are using? Alsso, what version are you using ? If you want you can try our latest release (RC).
http://forums.membase.org/thread/membase-server-164-rc1-available
Since this is a Release Candidate, it's not meant to be used in production but any new or ongoing development should definitely be using this release to get the latest and greatest.
Thanks so much and please provide us with any and all feedback!
Bhawana
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!