Hi, Can you run the server by trying a combination of these options (edit bin/server.sh, last line)?
-Djna.disable.system.library=true -Dmemory.useUnsafe=false Lvc@ Lvc@ On 12 May 2014 18:06, Sfinx <[email protected]> wrote: > Hi, > > Ok, for the Oracle java version ["1.7.0_55" Java(TM) SE Runtime > Environment (build 1.7.0_55-b13) Java HotSpot(TM) Client VM (build > 24.55-b03, mixed mode)] I have the following results : > > - graph-example-2.xml insert time is *154536ms *- nearly the same as at > 1.8.0 > - the fault error still present : > ....... > [proto]:root:/opt/orientdb/benchmarks # ab -n1000 -A root:root_pass -k > -c10 -p post.txt http://127.0.0.1:2480/document/demo/9:1 > This is ApacheBench, Version 2.3 <$Revision: 1528965 $> > Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ > Licensed to The Apache Software Foundation, http://www.apache.org/ > > Benchmarking 127.0.0.1 (be patient) > Completed 100 requests > apr_pollset_poll: The timeout specified has expired (70007) > Total of 124 requests completed > [proto]:root:/opt/orientdb/benchmarks # > ........ > 2014-05-12 15:56:42:308 INFO OrientDB Server v1.7-SNAPSHOT is active. > [OServer] > 2014-05-12 15:56:57:053 INFO - Rebuilding index demo.dictionary... > [OIndexRebuildOutputListener] > 2014-05-12 15:56:57:066 INFO --> OK, indexed 0 items in 14 ms > [OIndexRebuildOutputListener] > 2014-05-12 15:57:05:450 INFO Created database 'demo' of type 'plocal' > [ONetworkProtocolBinary] > 2014-05-12 15:58:40:951 SEVE Internal server error: > java.lang.InternalError: a fault occurred in a recent unsafe memory access > operation in compiled Java code [ONetworkProtocolHttpDb] > ........ > > I see that fault error happens sporadically even when using low "ab -n" > numbers, but using high (>= 1000) will hang the server immediatly. > > > Rus > > понедельник, 12 мая 2014 г., 18:41:27 UTC+3 пользователь Lvc@ написал: >> >> Hi, >> That errors seems caused by JVM as internal... To understand if it's >> Java8 or new snapshot, can you run new 1.7-snapshot against JDK7? >> >> Lvc@ >> >> >> Lvc@ >> >> >> On 12 May 2014 17:33, Sfinx <[email protected]> wrote: >> >>> the fault message never appears if I use "ab -n 100". using "ab -n >>> 200" and higher immediatly triggers server hang. >>> >>> >>>> ....... >>>> ab -n1000 -A root:root_pass -k -c2 -p post.txt http://127.0.0.1:2480/ >>>> document/demo/9:1 >>>> This is ApacheBench, Version 2.3 <$Revision: 1528965 $> >>>> Copyright 1996 Adam Twiss, Zeus Technology Ltd, >>>> http://www.zeustech.net/ >>>> Licensed to The Apache Software Foundation, http://www.apache.org/ >>>> >>>> Benchmarking 127.0.0.1 (be patient) >>>> Completed 100 requests >>>> apr_pollset_poll: The timeout specified has expired (70007) >>>> Total of 184 requests completed >>>> ...... >>>> 2014-05-12 14:56:14:208 SEVE Internal server error: >>>> java.lang.InternalError: a fault occurred in a recent unsafe memory >>>> access operation in compiled Java code [ONetworkProtocolHttpDb] >>>> ...... >>>> >>>> The OrientDB server have been hunged, so restart needed. >>>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OrientDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
