[Neo4j] Turning Off or Configuring log rotation
peter.neubauer at neotechnology.com
Thu Sep 22 14:07:27 CEST 2011
I would suggest to do the TX log config via Gremlin for the time
being, so you can resolve it via scripting. For the exposure of the Tx
log rotate size as a configuration property (there are logs for every
XA resource participating in a transaction), please raise an issue at
https://github.com/neo4j/community/issues - good input!
For the flushing to disk, we will merge a Deferred Write feature back
into master soonish (after 1.5) which lets the OS decide when to
flush, if you can stand the risk of a lost flush if things go down.
The REST interface is waiting for the TX to be finished, which is why
it is slowing down when you have big flushes. See
https://github.com/neo4j/community/issues/18 for the ticket on this :)
Would that be ok?
Phone +46 704 106975
http://www.neo4j.org - Your high performance graph database.
http://startupbootcamp.org/ - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
On Thu, Sep 22, 2011 at 1:52 PM, Romiko Derbynew
<romiko.derbynew at readify.net> wrote:
> It's the database logging, I'm finding the transaction logs are causing the rest API to become unresponsive when it flushes to disk. Basically just want to turn it off or set the tlog size by configuration and not via code sample as it is demonstrated in the performance guide.
> The current work around without this setting is a circuit breaker pattern. But I am very concerned as the DB flush should not slow down further rest calls :(
> Sent from my iPhone
> On 22/09/2011, at 6:36 PM, "Peter Neubauer" <peter.neubauer at neotechnology.com> wrote:
>> which log files are you referring to? For the database transaction log
>> rotation, look at the neo4j.properties file to tune things, see
>> For the server, there is logging.properties to tweak stuff. Note that
>> these settings require a restart to take effect.
>> /peter neubauer
>> GTalk: neubauer.peter
>> Skype peter.neubauer
>> Phone +46 704 106975
>> LinkedIn http://www.linkedin.com/in/neubauer
>> Twitter http://twitter.com/peterneubauer
>> http://www.neo4j.org - Your high performance graph database.
>> http://startupbootcamp.org/ - Öresund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>> On Thu, Sep 22, 2011 at 1:38 AM, Romiko Derbynew
>> <romiko.derbynew at readify.net> wrote:
>>> I am using Neo4j on a Windows Server, is there any way I can configure log rotation via the configuration files? I would like to turn it off or try a different log rotation size. Since I am on windows, I am not sure how I would do it at runtime.
>>> Neo4j mailing list
>>> User at lists.neo4j.org
>> Neo4j mailing list
>> User at lists.neo4j.org
> Neo4j mailing list
> User at lists.neo4j.org
More information about the User