Greetings

Got something very odd going on here. I'm running my mongoose embedded app
under OpenWrt on a WRT54GL router. The startup script is below and hasn't
changed in 3 years!!

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=85

start() {
        irrigate -b -m -l 15 -t -0.1
}

stop() {
        killall irrigate
}

With the new 5.1, the app starts, I see the startup messages that report
the hardware, it puts itself into the background by forking, I see a
listen socket (using netstat), and it generally looks OK but doesn't
respond to any http requests.

If I run it directly from the command line shell (with the same
parameters) it works fine.

Any ideas? I've tried putting a '&' on the end of the startup line - no
change.

On another note though, the memory use has gone right down without the
multiple threads as illustrated by the before and after 'ps' displays
below :)

old 3.1 mongoose:
  503 root      2764 S    irrigate -b -m -l 15 -t -0.1
  505 root      2764 S    irrigate -b -m -l 15 -t -0.1
  506 root      2764 S    irrigate -b -m -l 15 -t -0.1
  507 root      2764 S    irrigate -b -m -l 15 -t -0.1
  508 root      2764 S    irrigate -b -m -l 15 -t -0.1
  510 root      2764 S    irrigate -b -m -l 15 -t -0.1
  511 root      2764 S    irrigate -b -m -l 15 -t -0.1
  512 root      2764 S    irrigate -b -m -l 15 -t -0.1

new 5.1 after startup:
  616 root       984 S    irrigate -b -m -l 15 -t -0.1

new 5.1 whilst servicing requests:
  616 root      1096 R    irrigate -b -m -l 15 -t -0.1

Cheers

-- 
Robin Gilks




-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to