OpenWrt Forum Archive

Topic: Question about thttpd

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi! After restarting my WRT54Gv2 see this in top
433 root     R        512     1 49.7  3.6 thttpd
425 root     R        512     1 49.1  3.6 thttpd

I have 2 running thttpd on different port, one for client and other for administration. Why it load device so heavy? There is no traffic to port 80 or 8080.

At the begining i've used thttpd from http://www.xs4all.nl/~rop/openwrt/thttp … mipsel.ipk <http://www.xs4all.nl/%7Erop/openwrt/tht … mipsel.ipk>, but after that i have downloaded sources and compile it. The result is the same.

Sorry for bad english ...

Today i've found solution ... My startup scripts for 2 thttpd have the same number S50... When i change it to different everythings ok ... Resolving this problem i've compile php4.4.0 smile May be someone need it ?

Maybe you have 2 thttpd threads because one is the parent one, and the other(s) is/are children ones, it is quite normal for it to behave like that when executing php scripts for instance.

No i have two separate thhtp running on different ports. clients on port 80 and admins on port 8080

The discussion might have continued from here.