Got it. The stresser asserted that file extension was jrb.
Thanks Ronald. Le 2 oct. 2013 à 05:16, Ronald Roskens <rosk...@elfin.net> a écrit : > It seems the tool was never updated for the logging changes earlier this > year. I've added the missing log4j2 dependencies, and bumped log4j2 version > to 2.0-beta9 to fix an error loading the log4j.xml file off the class path. > > I've fixed that so you could add something like: > -Dlog4j.configurationFile=log4j2.xml to the arguments, and use: > > <?xml version="1.0" encoding="UTF-8"?> > <!-- WARN here is just for internal log4j messages and does not effect > logging in general --> > <Configuration status="debug" verbose="true" strict="false"> > <Appenders> > <Console name="Console" target="SYSTEM_OUT"> > <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - > %msg%n"/> > </Console> > </Appenders> > <Loggers> > <Root level="trace"> > <AppenderRef ref="Console"/> > </Root> > </Loggers> > </Configuration> > > To get trace level output. > > > On Oct 1, 2013, at 6:20 AM, Fabrice Bacchella <fbacche...@spamcop.net> wrote: > >> I ran the rrd stresser with the rrd4j strategy, but the result is not very >> good : >> >> java -cp >> target/opennms-rrd-stresser-1.13.0-SNAPSHOT-jar-with-dependencies.jar:.../slf4j-simple-1.7.2.jar >> -Dorg.opennms.rrd.usetcp=false -Dstresstest.file=/var/tmp/stress/stress >> -Dorg.opennms.rrd.strategyClass=org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy >> org.opennms.tools.rrd.RrdStresser >> >> ******************************************************************** >> * OpenNMS Collection StressTest * >> * * >> * This demo creates single RRD file and tries to update it * >> * more than 600.000 times. Real data (> 20Mb) is obtained from the * >> * stress-test.txt file provided by Vadim Tkachenko * >> * (http://diy-zoning.sourceforge.net). * >> * * >> * Finally, a single PNG graph will be created from the RRD file. * >> * The stress test takes about one hour to complete on a 1.6GHz * >> * computer with 256MB of RAM. * >> ******************************************************************** >> modulus = 1000 >> fileCount = 10000 >> zeroFiles = 5000 >> threadCount = 1 >> useQueuing = true >> queueCreates = true >> rraList = [RRA:AVERAGE:0.5:1:8928, RRA:AVERAGE:0.5:12:8784, >> RRA:MIN:0.5:12:8784, RRA:MAX:0.5:12:8784] >> >> Starting demo at Tue Oct 01 12:34:00 CEST 2013 using >> org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy >> Loading update file >> Finished loading update file. Initializing data positions >> Creating 10000 RRD files >> 10000 files created, 529 creates/sec >> Will perform one update every 300.0ms >> 1000 samples stored, -30 updates/sec avg since first update 3 updates/sec >> avg for all time: >> QS: totalOperationsPending=1, significantOpsPending=0, >> filesWithSignificantWork=1, filesWithInsignificantWork=0 >> QS: , createsCompleted=0, updatesCompleted=0, errors=999, >> promotionRate=0.0, promotionCount=0 >> ^^^^^^^^^^ >> QS: , currentEnqueueRates=(0/0/0), currentDequeueRate=(0/0/0), >> currentItemDequeRate=0, currentOpsPerUpdate=1.0, >> currentPrcntSignificant=50.0%, elapsedTime=1380623962 >> QS: , overallEnqueueRate=(1/1/3), overallDequeueRate=(1/1/3), >> overallItemDequeRate=3, overallOpsPerUpdate=1.0, >> overallPrcntSignificant=50.0%, totalElapsedTime=300 >> >> But I get no error message: >> [main] INFO >> org.springframework.context.support.ClassPathXmlApplicationContext - >> Refreshing >> org.springframework.context.support.ClassPathXmlApplicationContext@66ae0840: >> startup date [Tue Oct 01 12:34:00 CEST 2013]; root of context hierarchy >> [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - >> Loading XML bean definitions from class path resource >> [org/opennms/netmgt/rrd/rrd-configuration.xml] >> [main] INFO org.opennms.netmgt.rrd.RrdConfig - rrd-configuration.properties >> not found, loading RRD configuration solely from system properties >> [main] INFO >> org.springframework.beans.factory.support.DefaultListableBeanFactory - >> Pre-instantiating singletons in >> org.springframework.beans.factory.support.DefaultListableBeanFactory@19eed1e1: >> defining beans >> [rrdConfigurationPropertiesDefaults,rrdCnfigurationProperties,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,rrdFileExtension,useQueue,useTcp,tcpRrdStrategy,basicRrdStrategy,queuingRrdStrategy,tcpAndBasicRrdStrategy,tcpAndQueuingRrdStrategy]; >> root of factory hierarchy >> [main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: >> creating RRD file /var/tmp/stress/stress0.rrd >> [main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: >> creating RRD file /var/tmp/stress/stress1.rrd >> ... >> [main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: >> creating RRD file /var/tmp/stress/stress9999.rrd >> >> How can I get more information about the errors ? ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel