RE: TINI- how to disable dhcp(Web service shutdown automatically) (Cory Hu)

"Moore, David A. (Houston Reliability)" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <5A96E87E2BA0714ABBEA2C8F3F3F667C063B5AB0@cceexc19.americas.cpqcorp.net>
Have you checked your garbage collection? I had similar problems on an
application that was using lots of strings to create and serve a web
page. This can eventually eat up memory. One way to check this is to use
the stats command. Check memory when you first run the program, then
check it a day or so later. If you find significantly less memory, this
might be your problem. 

If you wait for system garbage collection to kick in, at 64k I think, it
can be too late. Consider performing garbage collection periodically in
your program to prevent memory from being depleted. 

David A. Moore
HP PPO/ESTC/Reliability Design Verification
[email protected] 
"...Ascian noht alyfan, ascian efne forgifenes..."

Message: 1
Date: Sat, 14 Feb 2004 09:59:15 -0800 (PST)
From: Cory Hu <cory_hu-/[email protected]>
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]TINI- how to disable dhcp(Web service shutdown
automatically)

Dear all,

I have made a demo http server in TINI. It works fine
after I started.

but it seems shut down somehow one or two days later.

I think that might be caused by DHCP in my
network,cause I know everytime the ip was renewed by
dhcp, the service shut down, actually the IP doesn't
change.

Is there any solution to this, I mean, no matter
automaticaly run the service everytime tini get IP
renewed or disable the dhcp request to the network?

your idea and solution advice are greatly appreciated,
thanks

regards

Bo



_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.