List Info

Thread: Cherokee reaches load of 30




Cherokee reaches load of 30
country flaguser name
Netherlands
2008-04-13 09:52:53
Hi,


Today it was the second time Cherokee (0.6.1b1373) had an
extremely big
load around 30. Does anyone have an idea how to debug this
issue?

Or might know a cause of this failure?


There is currently no logging on the webserver (big traffic
eater). I'll
ask if the maintainer can make a graph of the webservers
load per 5
minutes or so.



Stefan

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Cherokee reaches load of 3030
country flaguser name
Italy
2008-04-14 17:05:23
Stefan de Konink wrote:
> 
> Hi,
> 
> Today it was the second time Cherokee (0.6.1b1373) had
an extremely big
> load around 30. Does anyone have an idea how to debug
this issue?
>
> Or might know a cause of this failure?

First of all someone should verify what kind of services
are running on that machine.

It could be useful to run a script to poll load level from
/proc
or from uptime(1) and when the load goes up it can append to
a text file
the list of processes along with the CPU usage,
i.e. (completely untested):

while sleep 5
do
	# get load average (only integer part)
	LOADAVG=`uptime | cut -d, -f 3 | cut -d: -f 2 | cut -d. -f
2`
	# poll load usage

	[ $LOADAVG -lt 4 ] && continue

	# ok load usage greater than high water mark
	# get process usage

	# get date and time
	date >> file.txt

	# get list of open sockets
	netstat -a >> file.txt

	# get process and CPU usage
	top -d 3 -n 1 -b >> file.txt
done

> There is currently no logging on the webserver (big
traffic eater). I'll
> ask if the maintainer can make a graph of the
webservers load per 5
> minutes or so.

OK, it could also be a DDoS attack, so maybe enabling
logging
could clarify what's really happening.

		Greetings.

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
E-Mail-Format: Plain Text only (please); view using font
Courier New
--
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Cherokee reaches load of 3030
country flaguser name
Italy
2008-04-14 17:27:40
"A.D.F." wrote:
> 
> Stefan de Konink wrote:
> >
> > Hi,
> >
> > Today it was the second time Cherokee (0.6.1b1373)
had an extremely big
> > load around 30. Does anyone have an idea how to
debug this issue?
> >
> > Or might know a cause of this failure?
> 
> First of all someone should verify what kind of
services
> are running on that machine.
> 
> It could be useful to run a script to poll load level
from /proc
> or from uptime(1) and when the load goes up it can
append to a text file
> the list of processes along with the CPU usage,
> i.e. (completely untested):
> 
> while sleep 5
> do
>         # get load average (only integer part)
>         LOADAVG=`uptime | cut -d, -f 3 | cut -d: -f 2 |
cut -d. -f 2`
>         # poll load usage

The right instructions are:
          LOADAVG=`uptime | cut -d, -f 3 | cut -d: -f 2 |
cut -d. -f 1`

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
E-Mail-Format: Plain Text only (please); view using font
Courier New
--
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )