Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Mailbox appends incorrectly?
@ 1996-04-17  0:51 Rob Chandhok
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Chandhok @ 1996-04-17  0:51 UTC (permalink / raw)


At 3:49 PM 4/16/96, David  Mosberger wrote:
>Sounds like a locking problem.  I haven't seen this my self, but since
>I get mail through popmail only and never run more than one copy of it
>at the same time, there is no reason I'd see such locking problems.

This may be the cause.  We are currently running the 1.3.57 AXP kernel,
about to upgrade to 1.3.89 for other reasons.  Hopefully that will fix the
bug -- I am both relieved and concerned that Mattew Geier reports the same
problem in 1.3.84, however.

The problem does seem to trigger only on high-volume mailboxes (like mine,
which gets inet-access).

Thanks to all for the pointers.

Onward ho!
Rob

---------------- Within Technology, Inc. -------------
people               process                technology

phone: +1 412 852-2599
fax:   +1 412 852-2435
web:   http://snappytap.within.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Mailbox appends incorrectly?
@ 1996-04-17  0:51 Rob Chandhok
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Chandhok @ 1996-04-17  0:51 UTC (permalink / raw)


At 7:02 PM 4/16/96, ralp@db.erau.edu wrote:
>One thing I've seen from personal experience with pop servers is that sometimes
>file streams aren't flushed very well... When a user has a mailbox open the pop
>server usually copies it to a tmp file, And a problem comes up when the user
>gets new mail during the time the mailbox is opened (almost always caused by
>pop clients that use the leave on server commands and thus leaves the mailbox
>opened for extended periods of time) and the pop server goes to merge the now
>two mailboxes together...

Hmm.  I don't suspect qpopper (the version of popper we are running, from
QualComm), since it has specific compile time options for linux.  In
addition the mailbox file seems to get trashed even if you don't ever check
your mail via pop.

Thanks for the insight, however!
Rob

---------------- Within Technology, Inc. -------------
people               process                technology

phone: +1 412 852-2599
fax:   +1 412 852-2435
web:   http://snappytap.within.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Mailbox appends incorrectly?
@ 1996-04-16 22:49 David Mosberger
  0 siblings, 0 replies; 6+ messages in thread
From: David Mosberger @ 1996-04-16 22:49 UTC (permalink / raw)


Sounds like a locking problem.  I haven't seen this my self, but since
I get mail through popmail only and never run more than one copy of it
at the same time, there is no reason I'd see such locking problems.

One thing you might want to check is that your kernel has the flock
syscall.  Just search arch/alpha/kernel/entry.S for "flock".  It was
added relatively late, and I believe the first Red Hat Linux CD-ROMs
didn't have that syscall.

Since I'm not sure how well locking has been tested, it may be
worthwhile to write a small test program to make sure it really works
as advertised.

	--david
\~p

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Mailbox appends incorrectly?
@ 1996-04-16 21:39 Rob Chandhok
  1996-04-16 22:49 ` Matthew Geier
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Chandhok @ 1996-04-16 21:39 UTC (permalink / raw)


We're getting a very odd random occurance with mail (sendmail) on our UDB.
Sometimes, messages seem to get dropped into the user's spool file at a
slightly wrong offset.  The result is a malformed spool file which the
standard "popper" misreads, and the Qualcomm "qpopper" chokes on.

The bug manifests in this way (i.e., the spool file follows this form):
-------------------------------------------------------------------
Ffrom user@blah.blah.blah Mon April 15 12:12:12 1996
<rest of message from user>

rom otheruser@blah.blah.net Mon April 15 13:13:13 1996
<rest second message from otheruser>
-------------------------------------------------------------------

Note the double "F" at the beginning of the file, and the missing "F" in
front of "rom" before the second message.

Has anyone else seen this behavior before?  Could it be a seek() problem?

Thanks much,
Rob

---------------- Within Technology, Inc. -------------
people               process                technology

phone: +1 412 852-2599
fax:   +1 412 852-2435
web:   http://snappytap.within.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-04-17  0:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-17  0:51 Mailbox appends incorrectly? Rob Chandhok
  -- strict thread matches above, loose matches on Subject: below --
1996-04-17  0:51 Rob Chandhok
1996-04-16 22:49 David Mosberger
1996-04-16 21:39 Rob Chandhok
1996-04-16 22:49 ` Matthew Geier
1996-04-16 23:02   ` ralp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox