cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
568 stars 104 forks source link

RRD update before cherokee shutdown fails #722

Open danielniccoli opened 11 years ago

danielniccoli commented 11 years ago

Original author: rng.hart...@gmail.com (September 13, 2010 08:30:00)

What steps will reproduce the problem?

  1. Enable Information Collector
  2. Create a VHost and enable graphing for it
  3. Start cherokee in the console and press CTRL-C

What is the expected output? What do you see instead? Expected: no error message Seen: Backtrace of RRD update error

What version of the product are you using? On what operating system? 1.0.8 Debian squeeze/testing

Please provide any additional information below.

There doesn't seem to be anything wrong with the graph besides throwing this error:

13/09/2010 10:23:43.162 collector_rrd.c:85 - Could not execute RRD command: update /var/lib/cherokee/graphs/server.rrd N:11:38:3:2322:105731

/usr/lib/libcherokee-base.so.0(cherokee_error_log+0xa2) [0x7fef6750cf82] /usr/lib/cherokee/libplugin_rrd.so [0x7fef66189a98] /usr/lib/cherokee/libplugin_rrd.so [0x7fef66189c4c] /lib/libpthread.so.0 [0x7fef66ea0fc7] /lib/libc.so.6(clone+0x6d) [0x7fef6667164d]

Original issue: http://code.google.com/p/cherokee/issues/detail?id=989

danielniccoli commented 11 years ago

From alobbs on September 27, 2010 04:25:06 I cannot reproduce the problem. Is there something else I should have into account?

danielniccoli commented 11 years ago

From skar...@gmail.com on September 27, 2010 08:29:01 I have the same problem on Ubuntu Sever 8.04

Cherokee Web Server 1.0.9 (Sep 9 2010): Listening on port ALL:80, TLS disabled, IPv6 disabled, using epoll, 4096 fds system limit, max. 2041 connections, caching I/O, 10 threads, 204 connections per thread, standard scheduling policy PID 15904: exited re=0 PID 32045: exited re=0 PID 26030: launched '/bin/sh -c exec /usr/bin/php-cgi -b 127.0.0.1:47990' with uid=1000, gid=33, env=custom Reopening log files.. Reopening log files.. Reopening log files.. Reopening log files.. Server is exiting.. Server is exiting.. root@xxxx:~# 27/09/2010 10:26:09.316 collector_rrd.c:85 - Could not execute RRD command: update /home/web/statistics//server.rrd N:46:67:4:32142:352777