* 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
* Re: Mailbox appends incorrectly?
1996-04-16 21:39 Rob Chandhok
@ 1996-04-16 22:49 ` Matthew Geier
1996-04-16 23:02 ` ralp
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Geier @ 1996-04-16 22:49 UTC (permalink / raw)
>
>
> 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?
>
A user on my home system complained yesterday about their pop client
bailing out. When I looked at thier mailbox, the above was exactly
what I saw.
It has been working for a couple of months with out problem, and
Linux 1.3.84 has been up for over a week, and its only the last
few days that any one has reported a problem.
--
Matthew Geier, | Australian Public Access Network Association
matthew@sleeper.apana.org.au | (+61) 2 588 4615 (Data) 587 9773 (voice)
matthew@law.usyd.edu.au | An APANA Sydney hub. 018 977356 (mobile)
'There are worlds out there where the sky is burning, the seas
sleep, and the rivers dream; people made of smoke, and cities made of
song. Somewhere there's danger, somewhere there's injustice, and somewhere
else the tea is getting cold. Come on Ace, we've got work to do!'
(Last words of the last Dr Who)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Mailbox appends incorrectly?
1996-04-16 22:49 ` Matthew Geier
@ 1996-04-16 23:02 ` ralp
0 siblings, 0 replies; 6+ messages in thread
From: ralp @ 1996-04-16 23:02 UTC (permalink / raw)
Heya...
> > 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?
> >
> A user on my home system complained yesterday about their pop client
> bailing out. When I looked at thier mailbox, the above was exactly
> what I saw.
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...
For debugging fun try attaching a debugger to a pop server process while this
is happening and watch the streams when it tries to merge new mail with an
exhisting mailbox...
+-------------------------------------------+--------------------------+
| | Embry-Riddle Aero. Univ. |
| Ralph E. Bugg, Jr. | Network Admin. |
| ralp@db.erau.edu | Daytona Bch., Fl. |
| | (904)226-6687 |
+-------------------------------------------+--------------------------+
Don't ask me, I'm just a mushroom.
^ 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