Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set #66

Open
karimahlafi opened this issue Aug 3, 2022 · 0 comments
Open

/jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set #66

karimahlafi opened this issue Aug 3, 2022 · 0 comments

Comments

@karimahlafi
Copy link

karimahlafi commented Aug 3, 2022

Hello,

I took the entrypoint.sh to set up a docker image, i have created the dockerfile for jmeter, with the entrypoint.sh that you've provided.

the image build passes successfully, as following :

docker build -f Dockerfile-jmeter --build-arg <proxy> -t alpine.jmeter .

and i get my image

REPOSITORY                                    TAG       IMAGE ID       CREATED          SIZE
alpine.jmeter                                 latest    ae5d190b10fc   26 minutes ago   889MB

how ever, in the moment when i want to run the image in a contianer, using command line

docker run --name alpine.jmeter -it alpine.jmeter

i get the following issue

/jmeter-entrypoint.sh: line 13: JVM_XMN: parameter not set

and its these parameter right here

[[ -z ${JVM_XMN} ]] && JVM_XMN=$(($freeMem/10*2))
[[ -z ${JVM_XMS} ]] && JVM_XMS=$(($freeMem/10*8))
[[ -z ${JVM_XMX} ]] && JVM_XMX=$(($freeMem/10*8))

can you help ?

thank you in advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant