On Wed, Oct 01, 2008 at 09:37:17AM +0100, [EMAIL PROTECTED] wrote:
> I've occasionally had segfaults in rrdcached. I'm still investigating
> the root cause.

What SVN version are you running?  Can you send a backtrace?

> - When I try to restart rrdcached, it refuses to run because the PID
> file already exists - maybe it should check the validity of the PID
> file, and delete it if the process has gone away

I think we can do that pretty easily.  I believe kill(pid,0) is portable.

> - After deleting the PID file, I start rrdcached again.  This time, the
> socket file /var/run/rrdcached/rrdcached.sock is still present from the
> instance that segfaulted.  rrdcached deletes the socket file, but then
> aborts.  I then have to start the process again to make it run.

We could bundle this with the previous PID file cleanup...

-- 
 kevin brintnall =~ /[EMAIL PROTECTED]/

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to