liunx下运行jmeter报错java.io.IOException: No space left on device
Logging Error: Caught an IOException
java.io.IOException: No space left on device
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:282)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at org.apache.log.output.io.WriterTarget.write(WriterTarget.java:77)
at org.apache.log.output.AbstractOutputTarget.doProcessEvent(AbstractOutputTarget.java:78)
at org.apache.log.output.AbstractTarget.processEvent(AbstractTarget.java:108)
at org.apache.log.Logger.fireEvent(Logger.java:632)
at org.apache.log.Logger.output(Logger.java:607)
at org.apache.log.Logger.output(Logger.java:590)
at org.apache.log.Logger.info(Logger.java:168)
at org.apache.jmeter.reporters.Summariser.sampleOccurred(Summariser.java:214)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:783)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:442)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
at java.lang.Thread.run(Thread.java:662)
?????? = 21368460 in ?3259s = 6557.6/s Avg: ?2064 Min: ? ? 0 Max: 167559 Err: ? ? 0 (0.00%)
?
百度一下,磁盘空间满了,jmeter写日志量太大造成的,挪走日志,在运行就不报错了
查看磁盘占用的命令:
df -k
Filesystem ? ? ? ? ? 1K-blocks ? ? ?Used Available Use% Mounted on
/dev/sda1 ? ? ? ? ? ? ?4128448 ? 1418904 ? 2499832 ?37% /
/dev/sda6 ? ? ? ? ? ? 20381324 ?20381324 ? ? ? ? 0 100% /opt
/dev/sda5 ? ? ? ? ? ? ?5160576 ? 1487884 ? 3410548 ?31% /usr
/dev/sda2 ? ? ? ? ? ? ?4128448 ? ?320684 ? 3598052 ? 9% /var
tmpfs ? ? ? ? ? ? ? ? 66066984 ? ? ? ? 0 ?66066984 ? 0% /dev/shm