Messages in this thread |  | | From | Matthias Urlichs <> | Subject | Re: syslog spiral death | Date | Thu, 24 Oct 1996 18:16:53 -0200 |
| |
In linux.dev.kernel, article <19961024142938.30687.qmail@hottub.caldera.com>, ron@caldera.com writes: > > I've seen a similar problem also. Running strace showed that syslogd > was doing fsync() quite often. As the log files grow, fsync() takes
For each line written to the file, to be exact.
> longer and longer to complete. I don't know whether to consider this > an inefficiency in the fsync() implementation or poor behavior on the > part of syslogd for calling fsync() so often... We avoid this problem > by keeping our log files trimmed (via chklogs). > We solved the problem by removing the fsync() call from syslogd, installing the serial console patch, and logging the crashes (assuming there are any) on another system (with an 8-port dumb serial card dedicated to that purpose).
-- Romeo wasn't bilked in a day. -- Walt Kelly, "Ten Ever-Lovin' Blue-Eyed Years With Pogo" -- Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg Schleiermacherstraße 12 \ Linux+Internet / EMail: urlichs@noris.de 90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE Click <A HREF="http://info.noris.de/~smurf/finger">here</A>. 42
|  |