From: David Jander <david.jander@protonic.nl>
To: linuxppc-embedded@ozlabs.org
Subject: Re: jffs2 freezing in gc for long time...
Date: Thu, 16 Jun 2005 15:46:53 +0200 [thread overview]
Message-ID: <200506161546.54301.david.jander@protonic.nl> (raw)
In-Reply-To: <WorldClient-F200506161512.AA12150000@t2data.se>
On Thursday 16 June 2005 15:12, Per Hallsmark wrote:
> A hot tip would be to configure either syslog to log to a logserver
> or at least mount a tmpfs filesystem on /var/log.
We do this already.... the old way, with a ramdisk mounted on /var, and the
rw-jffs2 partition mounted on /flash, then /var/log/xxx is a link to a
directory in /flash/log/, where I place "persistent" log files.
/var/log/messages and friends reside on the ramdisk only.
/tmp is a symlink to /var/tmp.
Well, the use of tmpfs is indeed easier, so thanks anyway for the tip.
> Running a syslog could wear out the flash quite quickly, especially
> during the development phases...
That's true, but we need some logfiles (logged via syslogd) to be persistent
and survive reboots at any moment, but we can't afford a system freeze just
because the GC-routine needs to run.
I still need to study syslogd, to see what it does when writing becomes
blocked for a long time. Does syslogd buffer? For how much data? Will I loose
data in the end or will the calling process hang?
If someone has experience with this, and knows the answer to some of these
questions, I'd be glad to hear it.
Greetings,
--
David Jander
prev parent reply other threads:[~2005-06-16 13:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-16 12:56 jffs2 freezing in gc for long time David Jander
2005-06-16 13:12 ` Per Hallsmark
2005-06-16 13:46 ` David Jander [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200506161546.54301.david.jander@protonic.nl \
--to=david.jander@protonic.nl \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).