High load on newer builds

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
ro-maniak
DD-WRT User


Joined: 07 Jun 2006
Posts: 365

PostPosted: Mon Jul 03, 2006 10:13    Post subject: Reply with quote
Not a very usefull comment on high loads maybe connected with httpd: I have noticed in the past, that when I go into the router over webinterface, the load goes ans stays up to something like 0,3. It dies down slowly to the normal low values I see.

Good example is what I've tried right now: I got in, first time in some days, the load was very low. (0.00, 0.00, 0.00). But right now, while I have the page open, it is 0.44, 0.16, 0.05. So all the load has started when I logged on via http.

This happens every time. No other exciting things are done with the box; 1-2 wlan clients, 1 wired. QoS is on, no p2p at all.

WRT54GL Firmware: DD-WRT v23 SP1 Final (05/30/06) mini
Time: 12:08:47 up 13 days, 15:49, load average: 0.00, 0.00, 0.00.

Maybe this sheds a little light.

_________________
If you use DD-WRT, you HAVE to make a donation! See this topic too: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=228
Sponsor
ro-maniak
DD-WRT User


Joined: 07 Jun 2006
Posts: 365

PostPosted: Mon Jul 03, 2006 10:13    Post subject: Reply with quote
O yeah, only about 20 connections open.
_________________
If you use DD-WRT, you HAVE to make a donation! See this topic too: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=228
u3gyxap
DD-WRT User


Joined: 07 Jun 2006
Posts: 298

PostPosted: Mon Jul 03, 2006 23:15    Post subject: Reply with quote
WRTbwlog uses quite a bit CPU power acording to my readings. If you are using it - that may be the reason.
SuperG
DD-WRT User


Joined: 06 Jun 2006
Posts: 71

PostPosted: Tue Jul 04, 2006 7:14    Post subject: Reply with quote
For me, whenever the info page of the router is up, the httpd process is pretty high. Also, snmpd and syslogd, and klogd are all also high on the list when using the connection.

BS, what is the "dropbear" process. It never gets really out of control, but it is always hanging around the upper levels in the top chart. Thanks.

So basically for me, when actually using my connection, the following things get high in CPU% in no partcular order:

syslogd
klogd
snmpd
ksoftirqd_CPU0
wland
dropbear

httpd (when activated)
top (when running)

Others can post their top hogging processes as well.

SuperG
madman
DD-WRT User


Joined: 07 Jun 2006
Posts: 228
Location: Germany

PostPosted: Tue Jul 04, 2006 7:27    Post subject: Reply with quote
dropbear = sshd
BigL
DD-WRT User


Joined: 07 Jun 2006
Posts: 79

PostPosted: Tue Jul 04, 2006 7:37    Post subject: Reply with quote
Yes - I know that many things can make high load. But I just compare 2 routers - first one is WRT54GL v1.1 which is my home router for my 2 PCs and VoIp adapter (PAP2) so load should be small, and second one is WRT54G v3 used by about 10 wired clients and 10 wireless. And with exactly the same firmware WRT54G keeps load at about 0.1-0.2 when used and at 0.0 when used lightly (at nights). At the same time my WRT54GL starts with 0.0 but then after 1-2 days has about 2.0 and main problem is httpd which is used few times a day only to check load. And that's all with FWs starting from 26/06. I used many earlier FWs on both routers and they all worked well on both of them. I hope you get it now.
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 6079
Location: Dresden, Germany

PostPosted: Tue Jul 04, 2006 11:40    Post subject: Reply with quote
on the roof top of my house is a ap with 15 users it is using a very new build currently and no problems so far. no high load
_________________
one cigarette costs 2 minutes of your life.
one bottle of beer costs 4 minutes of your life.
one working day costs 8 hours of your life.

DD-WRT supported Concerts @ Bunker Dresden
03.10.2014 - Front 242 / Haujobb / Planet Myer Day
Klaus_1250
DD-WRT Novice


Joined: 04 Jul 2006
Posts: 16

PostPosted: Tue Jul 04, 2006 13:21    Post subject: Reply with quote
From what I've seen, the high load is caused by the httpd-server. It puzzeled me too at first.
dcd
DD-WRT User


Joined: 08 Jun 2006
Posts: 90

PostPosted: Tue Jul 04, 2006 19:48    Post subject: Reply with quote
I remember maybe a couple months back trying a couple builds where http process would start eating cpu like that after running a couple days. Do you have https enabled, I want to say disabling it was what made the difference on mine.. but its been a while now..

dcd
SuperG
DD-WRT User


Joined: 06 Jun 2006
Posts: 71

PostPosted: Wed Jul 05, 2006 6:11    Post subject: Reply with quote
I never really realized how much CPU using syslog actually takes. This is especially true when doing any P2P (worst probably with Bittorrent, especially with DHT). The CPU usage for syslogd at one point was 50%, and the highest thing on the list Shocked

SuperG
BigL
DD-WRT User


Joined: 07 Jun 2006
Posts: 79

PostPosted: Wed Jul 05, 2006 17:11    Post subject: Reply with quote
So here it is:

Code:
Firmware: DD-WRT v23 SP1 Final (07/02/06) vpn
Time: 19:05:16 up 2 days, 18:55, load average: 1.94, 1.86, 1.82


Code:
Mem: 12576K used, 1592K free, 0K shrd, 1396K buff, 3888K cached
Load average: 1.94, 1.86, 1.82    (State: S=sleeping R=running, W=waiting)

  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
  105 root     R        884     1 99.9  6.2 httpd
22796 root     R        500 22789  2.8  3.5 top
  102 root     S        800     1  0.0  5.6 httpd
27200 root     S        608     1  0.0  4.2 dnsmasq
22789 root     S        608 26915  0.0  4.2 sh
27279 root     S        500     1  0.0  3.5 crond
    1 root     S        488     0  0.0  3.4 init
27673 root     S        488     1  0.0  3.4 syslogd
27676 root     S        468     1  0.0  3.3 klogd
26915 root     S        432     1  0.0  3.0 telnetd
27272 root     S        368     1  0.0  2.5 process_monitor
26890 root     S        312     1  0.0  2.2 resetbutton
26935 root     S        296     1  0.0  2.0 wland
27222 root     S        276     1  0.0  1.9 inadyn
27517 root     S        272     1  0.0  1.9 udhcpc
    3 root     RWN        0     1  0.0  0.0 ksoftirqd_CPU0
   11 root     SW         0     1  0.0  0.0 mtdblockd
    2 root     SW         0     1  0.0  0.0 keventd
    5 root     SW         0     1  0.0  0.0 bdflush
    6 root     SW         0     1  0.0  0.0 kupdated
    4 root     SW         0     1  0.0  0.0 kswapd


3 hours ago all was OK (load average 0.00, 0.00, 0.00). Only VoIP adapter was running since I was at work.

HTTPD is used only to check load every few hours. It's configured to for HTTP/HTTPS on LAN annd HTTPS on WAN.

Last good FW for me was from 22/06. Then I tried FW from 26/06 and later builds. All have the same thing. I've tried standard and VPN version (but never used vpn client or server).

Syslog is disabled.
dcd
DD-WRT User


Joined: 08 Jun 2006
Posts: 90

PostPosted: Wed Jul 05, 2006 17:26    Post subject: Reply with quote
disable https and see if it acts the same
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 6079
Location: Dresden, Germany

PostPosted: Wed Jul 05, 2006 17:55    Post subject: Reply with quote
looks like someone is constantly polling the http server. or just watching the statistics. this will take the cpu power
_________________
one cigarette costs 2 minutes of your life.
one bottle of beer costs 4 minutes of your life.
one working day costs 8 hours of your life.

DD-WRT supported Concerts @ Bunker Dresden
03.10.2014 - Front 242 / Haujobb / Planet Myer Day
BigL
DD-WRT User


Joined: 07 Jun 2006
Posts: 79

PostPosted: Wed Jul 05, 2006 22:16    Post subject: Reply with quote
It's only me who can do this. But I check load only every few hours. Whole site is password-protected (also Info page) so there is no chance that someone is pooling HTTP server all the time. Or maybe someone tries to hack my router? How to check it?

And maiin question is why it doesn't happen on FW up to 22/06? Smile
BrainSlayer
Site Admin


Joined: 06 Jun 2006
Posts: 6079
Location: Dresden, Germany

PostPosted: Thu Jul 06, 2006 0:25    Post subject: Reply with quote
no its just enough of your ie is open on the statistics site
_________________
one cigarette costs 2 minutes of your life.
one bottle of beer costs 4 minutes of your life.
one working day costs 8 hours of your life.

DD-WRT supported Concerts @ Bunker Dresden
03.10.2014 - Front 242 / Haujobb / Planet Myer Day
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 2 of 4
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum