In the current Docker version, there is a default limitation on the Docker container storage of 10Gb.
As the BlazeMeter image is ~5 GB when the sample.jtl reaches ~5 GB, no more free storage will be left in the container. As there will be no more free storage, JMeter won't be able to continue writing samples to the sample.jtl and that can cause the report to be 'stuck'.
The solution is as follows:
Please run the next set of commands in all of your CentOS machines:
sudo service docker stopOR
sudo systemctl stop docker
- Create/edit the following file:
/etc/docker/daemon.jsonwith the following content:
sudo rm -rf /var/lib/docker
sudo service docker startOR
sudo systemctl start docker
- Reinstall the Agent using the regeneration method detailed in this article.
These changes will change the storage limitation in the container to 40 GB and after that, the test should run fine.
Note: You can also change the size to whatever you need (i.e. need 50 GB, enter 50G as the value for dm.basesize), as long as your system has the disk space for it. Also, you will not be able to reduce the size once set, so if you make a mistake, you will need to reinstall Docker and our on-premise Agent.