<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I started using rrdcached last week and I'm very pleased with it's performance, however I'm having problems to produce updated graphs.</div><div><br></div><div>I'm starting rrdcached with:</div><div><br></div><div>/usr/local/rrd143/bin/rrdcached -F -t 16 -s nobody -m 0666 -l unix:/tmp/rrdcached.sock -w 900 -l 127.0.0.1:12345</div><div><br></div><div>All my "rrd graph" calls, have "--daemon unix:/tmp/rrdcached.sock" on them -- and I'm sure there's no permission errors (you can see I set it to 0666 to make sure that would not be a problem).</div><div><br></div><div>Checking it via telnet, here's what I see:</div><div><br></div><div><div>STATS&nbsp;</div><div>9 Statistics follow</div><div>QueueLength: 0</div><div>UpdatesReceived: 24854</div><div>FlushesReceived: 94</div><div>UpdatesWritten: 1621</div><div>DataSetsWritten: 1621</div><div>TreeNodesNumber: 11538</div><div>TreeDepth: 16</div><div>JournalBytes: 0</div><div>JournalRotate: 0</div><div><br></div><div>After viewing a lot of graphs (all sending flush command), I see rrdcached receives the flush, but does not flush to disk (comparing&nbsp;UpdatesWritten):</div><div><br></div><div><div>STATS</div><div>9 Statistics follow</div><div>QueueLength: 0</div><div>UpdatesReceived: 24865</div><div>FlushesReceived: 140</div><div>UpdatesWritten: 1621</div><div>DataSetsWritten: 1621</div><div>TreeNodesNumber: 11538</div><div>TreeDepth: 16</div><div>JournalBytes: 0</div><div>JournalRotate: 0</div><div><br></div><div>However, if I run the flush command on the telnet, it does write to disk:</div><div><br></div><div><div>FLUSH /my/file.rrd</div><div>0 Successfully flushed /my/file.rrd.</div><div>STATS</div><div>9 Statistics follow</div><div>QueueLength: 0</div><div>UpdatesReceived: 36230</div><div>FlushesReceived: 141</div><div>UpdatesWritten: 1622</div><div>DataSetsWritten: 1624</div><div>TreeNodesNumber: 11538</div><div>TreeDepth: 16</div><div>JournalBytes: 0</div><div>JournalRotate: 0</div><div>QUIT</div><div><br></div><div>Here,&nbsp;UpdatesWritten increased by one as expected, but it does not write to disk when "rrd graph" sends the flush command.</div><div><br></div><div>According to the docs, rrdcached has a parameter -b and I thought that could be the problem:</div><div><br></div><div>"The daemon will change into a specific directory at startup. All files passed to the daemon, that are specified by a <b>relative</b> path, will be interpreted to be relative to this directory. If not given the default, <code>/tmp</code>, will be used."</div><div><br></div><div>Since I'm not using -b in my rrdcached call, I understand it's set to /tmp, but *all* my rrd graph calls are using an absolute path, so that should not be a problem and the flush command should have worked.</div><div><br></div><div>Have anyone faced similar issues with rrdcached?</div><div><br></div><div>Thanks in advance,</div><div>Eduardo Bragatto.</div></div></div></div></body></html>