Page 2 of 6 FirstFirst 1234 ... LastLast
Results 16 to 30 of 79

Thread: thttpd problem

  1. #16
    Of course. Now my status is the following:
    When I get also this line, everything is ok:

    thttpd/2.25b PHP/5.0.4 starting on port 8080

    then the web server is working fine, and php also.
    When I get only this:

    thttpd[196]: bind 0.0.0.0 - Address already in use

    then the web server is not working, and I keep restarting it until it starts working. It usually does after two or three restarts.

  2. #17

    thttpd processor usage

    Hi,
    I installing thttpd (using the mascat tutorial). It works fine except for the processor load it needs. If I do a 'top' after a reboot, thttpd has a load of 50-60% without that it is beeing used by me??

    Does someone recognize this problem and now how to solve this??
    Tom

  3. #18
    We need some more information:
    What router's version are you using?
    Do you have lots of clients connecting to your router on your thttpd's port?
    Can we see your configuration file?
    Is it only overloading on start-up?
    Is it maintaining a high cpu load for more than 5 minutes?

  4. #19
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    I know this problem of thttpd, too.

    Sometimes thttpd crashed during the start-up.
    Then it needs a lot of cpu time.

    kill it!
    and restart it.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  5. #20
    Join Date
    Dec 2004
    Location
    NL CheeseCity (Gouda)
    Posts
    11

    Unhappy CPU usage

    I have the same problems with my wl500g:
    - Heavy cpu usage (up to 90%)
    - Sometimes crashing at start up
    - Restarts do seem to help
    - Incidental crashes
    - Some php's that take more cpu power only work "sometimes"

    My website is only used by a very limited number of people.

    With the older version of thttpd I had none of these problems.
    I like the features of the new version very much, but with these instabilities strongly limit the possibilities to actual use it

    I was hoping somebody was able to provide a version that is tuned better for performance on the Asus.

    Cheers Peter

  6. #21
    I now just kill thttpd at reboot and then start this script (using init.d) which starts thttpd when it is not running (also to overcome the problem with random crashing). Not very elegant I know but if it works..... Tnx to rmdijkman for his help.

    -----
    <S10thttpdwatchdog>
    #! /bin/sh

    while [ `pidof thttpd` ] ; do
    sleep 10
    done

    /opt/sbin/thttpd -C /opt/etc/thttpd.conf
    /opt/etc/init.d/S10thttpdwatchdog &

  7. #22
    Join Date
    Oct 2005
    Location
    Netherlands
    Posts
    4

    thttpd webserver doen't start automatically

    Hi all, after reading in these forum's for a while I burned the latest OLEG firmware in my 4 year old WL500G. I use the ASUS as an AP, its running in AP mode.
    After that I started with the on-line manual: (http://www.macsat.com/php_web.php) to install a webserver. I connected a 512mb USB stick to the USB port where the webpages should land. Now everything is installed but the thttpd deamon doesn't start automatically. When I start thttpd manually it does not read the thttpd.conf file and therefor cannot find my index.htm.

    Does anyone know why my thttpd does not start automatically?

    Thnx,

    Rob.

  8. #23
    Join Date
    Sep 2005
    Location
    Slovakia
    Posts
    73
    for me help this

    /opt/etc/init.d/S80thttpd start

  9. #24
    And then there's another option: the daemon is started but then thttpd is killed (by itself). You wouldn't be the first to experience some stability issues with thttpd . Try to restart the service a few times

  10. #25
    Join Date
    Oct 2005
    Location
    Netherlands
    Posts
    4
    Running the /opt/etc/init.d/S80thttpd start manually works fine.
    It look likes post-boot does not run automatically.....

    Rob

  11. #26
    Join Date
    Sep 2005
    Location
    Slovakia
    Posts
    73
    after reboot
    ..root]#ps and you can see it is running or not

  12. #27
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Simmetje: Place that line not in post-boot, but in post-mount instead. Your harddisk isn't mounted yet when you try to start the webserver.

  13. #28
    Join Date
    Oct 2005
    Location
    Netherlands
    Posts
    4

    Talking

    thnx, that did it...
    creating a "post-mount" file with the "/opt/etc/init.d/S80thttpd start" in it solved the problem.
    The thttpd daemon starts automatically now.

    Great support,

    Rob.

  14. #29
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Please consider a small donation to this forum

  15. #30
    my post-mount file is always deleted, what can i do?

Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59
  2. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 12:04

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •