9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] imap4d and upas/fs
@ 2007-12-15  9:59 Gabriel Diaz
  2007-12-15 14:39 ` erik quanstrom
  2007-12-15 16:26 ` Christian Kellermann
  0 siblings, 2 replies; 6+ messages in thread
From: Gabriel Diaz @ 2007-12-15  9:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello

is there any way of serving imaps without running upas/fs for each
mail box accessed on the server?

i'm running out of memory.

I saw that upas/fs is called from auth.c of imap4d with -np so, i
suppose it ill not use much memory (if i call it by hand it eats
268K), but when imap4d execs it, i can't see any command line options
for fs with ps -a, but i can see high memory usage (depending on the
box i open).

is upas/fs executed from other places i don't see? is anyone seeing
this or i missconfigured something?

thanks

gabi


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

* Re: [9fans] imap4d and upas/fs
  2007-12-15  9:59 [9fans] imap4d and upas/fs Gabriel Diaz
@ 2007-12-15 14:39 ` erik quanstrom
  2007-12-15 17:45   ` Gabriel Diaz
  2007-12-15 16:26 ` Christian Kellermann
  1 sibling, 1 reply; 6+ messages in thread
From: erik quanstrom @ 2007-12-15 14:39 UTC (permalink / raw)
  To: 9fans

> Hello
> 
> is there any way of serving imaps without running upas/fs for each
> mail box accessed on the server?
> 
> i'm running out of memory.
> 
> I saw that upas/fs is called from auth.c of imap4d with -np so, i
> suppose it ill not use much memory (if i call it by hand it eats
> 268K), but when imap4d execs it, i can't see any command line options
> for fs with ps -a, but i can see high memory usage (depending on the
> box i open).
> 
> is upas/fs executed from other places i don't see? is anyone seeing
> this or i missconfigured something?
> 
> thanks
> 
> gabi

unfortunately, this is the expected behavior.
the only current solution is to have a smaller mailbox.

- erik


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

* Re: [9fans] imap4d and upas/fs
  2007-12-15  9:59 [9fans] imap4d and upas/fs Gabriel Diaz
  2007-12-15 14:39 ` erik quanstrom
@ 2007-12-15 16:26 ` Christian Kellermann
  2007-12-15 16:32   ` erik quanstrom
  1 sibling, 1 reply; 6+ messages in thread
From: Christian Kellermann @ 2007-12-15 16:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

* Gabriel Diaz <gabidiaz@gmail.com> [071215 11:05]:
> Hello
> 
> is there any way of serving imaps without running upas/fs for each
> mail box accessed on the server?
> 
> i'm running out of memory.
> 
> I saw that upas/fs is called from auth.c of imap4d with -np so, i
> suppose it ill not use much memory (if i call it by hand it eats
> 268K), but when imap4d execs it, i can't see any command line options
> for fs with ps -a, but i can see high memory usage (depending on the
> box i open).
> 
> is upas/fs executed from other places i don't see? is anyone seeing
> this or i missconfigured something?

Russ has rewritten p9p's upas/fs to address this problem. p9's
upas/fs could be patched accordingly IIRC. Russ will know more...

Regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: [9fans] imap4d and upas/fs
  2007-12-15 16:26 ` Christian Kellermann
@ 2007-12-15 16:32   ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2007-12-15 16:32 UTC (permalink / raw)
  To: 9fans

> 
> Russ has rewritten p9p's upas/fs to address this problem. p9's
> upas/fs could be patched accordingly IIRC. Russ will know more...
> 
> Regards,
> 
> Christian

p9p upas/fs is quite a different program.  it does not handle
locally-stored mail.

- erik


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

* Re: [9fans] imap4d and upas/fs
  2007-12-15 14:39 ` erik quanstrom
@ 2007-12-15 17:45   ` Gabriel Diaz
  2007-12-15 20:08     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Diaz @ 2007-12-15 17:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hello

oh, so upas/fs is the one which transforms the mailbox format to what
imap clients expect, i thought that would be done by the imap4d. . .

thanks

gabi


On Dec 15, 2007 3:39 PM, erik quanstrom <quanstro@quanstro.net> wrote:
>
> > Hello
> >
> > is there any way of serving imaps without running upas/fs for each
> > mail box accessed on the server?
> >
> > i'm running out of memory.
> >
> > I saw that upas/fs is called from auth.c of imap4d with -np so, i
> > suppose it ill not use much memory (if i call it by hand it eats
> > 268K), but when imap4d execs it, i can't see any command line options
> > for fs with ps -a, but i can see high memory usage (depending on the
> > box i open).
> >
> > is upas/fs executed from other places i don't see? is anyone seeing
> > this or i missconfigured something?
> >
> > thanks
> >
> > gabi
>
> unfortunately, this is the expected behavior.
> the only current solution is to have a smaller mailbox.
>
> - erik
>


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

* Re: [9fans] imap4d and upas/fs
  2007-12-15 17:45   ` Gabriel Diaz
@ 2007-12-15 20:08     ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2007-12-15 20:08 UTC (permalink / raw)
  To: 9fans

On Sat Dec 15 12:47:08 EST 2007, gabidiaz@gmail.com wrote:
> hello
> 
> oh, so upas/fs is the one which transforms the mailbox format to what
> imap clients expect, i thought that would be done by the imap4d. . .
> 
> thanks
> 
> gabi

not exactly.  upas/fs turns its inport fmt into a directory containing
1 directory per message.  this is the standard format that programs
like imap4d, nedmail and acme Mail can understand.  imap4d
upas/fs's filesystem into imap4 commands.  inport fmt can be an
mbox, imap4 or pop3.  i've added support for mail directories
somewhat similar to mdir format.  unfortunately that's not quite
finished.

p9p upas/fs can only read imap4 and the directory format is somewhat
different.

- erik


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

end of thread, other threads:[~2007-12-15 20:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-15  9:59 [9fans] imap4d and upas/fs Gabriel Diaz
2007-12-15 14:39 ` erik quanstrom
2007-12-15 17:45   ` Gabriel Diaz
2007-12-15 20:08     ` erik quanstrom
2007-12-15 16:26 ` Christian Kellermann
2007-12-15 16:32   ` erik quanstrom

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).