emacs-vm problem : movemail and local spool file
Hi, I got a problem using vm under emacs with local spool files. I fecth all my mail through fetchmail which directly send mails through procmail which filter it with spamassassin. I put only those lines in my .vm : (setq vm-primary-inbox (expand-file-name ~/mail/toto)) (setq vm-spool-files (list /usr/local/home/bruno/mail/toto.spool)) Each time I try to get new messages with g or vm-get-new-mail I get No New mail. The spool files is NOT empty (procmail did its job). When I add this line in my .vm (in order to use emacs movemail and not mailutils one) : (setq vm-movemail-program /usr/lib/emacs/21.3/powerpc-linux/movemail) Nothing change but sometime I get some strange crash box's type unrecognized : vm-gobble-crash-box: crash box /usr/local/home/bruno/INBOX.CRASH's type is unrecognized When I use imap spool files everything's fine (but I do not have any filter). Any ideas someone ? I use emacs 21.3.1, with vm 7.18 on debian-ppc sid. -- Bruno Beaufils -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
VM problem
Hi, I have installed the Debian GNU/Linux 2.2 r1 on my machine. A few days after the installation I noticed some strange messages from the kernel (samples below) concerning the virtual memory (do_try_to_free_pages failed for...). I have a second distribution on my machine (a RedHat GNU/Linux), I haven't seen these error messages (althought I'm not working a lot with this distribution). First I thought that there was a problem in the kernel version (the first one was 2.2.17). My reflex was to recompile a new kernel (new version : 2.2.18pre21) but the problem seems to endure. I have already re-formatted my swap partition. If you have an idea of where the problem comes from please tell me. Yours sincerely, Frédéric BURLET. The first time I have the problem (the day of the installation of Debian GNU/Linux with pre-compiled kernel 2.2.17): Sep 27 10:36:42 Glenn kernel: VM: do_try_to_free_pages failed for kswapd... Sep 27 10:36:44 Glenn kernel: VM: do_try_to_free_pages failed for kswapd... Recently (always the same with the new freshly compiled kernel 2.2.18) : May 29 09:27:55 Glenn kernel: VM: do_try_to_free_pages failed for rpc.mountd... May 29 09:27:55 Glenn kernel: VM: do_try_to_free_pages failed for init... May 29 09:27:55 Glenn kernel: VM: do_try_to_free_pages failed for wmsysmon... May 29 09:27:55 Glenn kernel: VM: do_try_to_free_pages failed for wmfire... May 29 09:27:55 Glenn kernel: VM: do_try_to_free_pages failed for xscreensaver... Informations about my system (/proc files) -- /proc/version Linux version 2.2.18pre21 ([EMAIL PROTECTED]) (gcc version 2.95.2 2220 (Debian GNU/Linux)) #1 Sat May 26 00:55:05 CEST 2001 /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 6 model name : AMD-K6tm w/ multimedia extensions stepping: 1 cpu MHz : 233.867 cache size : 64 KB fdiv_bug: no hlt_bug : no sep_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 sep mmx bogomips: 466.94 /proc/swaps FilenameTypeSizeUsedPriority /dev/hdb7 partition 72256 17856 -1 --- Frédéric BURLET Etudiant IIième Maitrise Info. --- Secrétaire Namur-LUG/Linux Kot url : http://www.namurlug.org/ ---
Re: VM problem
On Wed, May 30, 2001 at 05:28:18PM +0200, BURLET Frederic wrote: | Hi, | | I have installed the Debian GNU/Linux 2.2 r1 on my machine. A few days | after the installation I noticed some strange messages from the kernel | (samples below) concerning the virtual memory (do_try_to_free_pages failed | for...). ... | If you have an idea of where the problem comes from please tell me. ... | Informations about my system (/proc files) | -- | /proc/cpuinfo | | processor : 0 | vendor_id : AuthenticAMD | cpu family: 5 | model : 6 | model name: AMD-K6tm w/ multimedia extensions | cpu MHz : 233.867 I don't know what causes this, but I have seen it on one of my boxes -- the i486 with 8 MB RAM (and 32MB swap). I haven't seen it on the AMD Duron (128MB RAM) How much memory do you have on this K6? (BTW, good job of including lots of possibly relevant information. Including the /proc/cpuinfo from my box won't help because it doesn't say anything -- I don't think the 486 family supports querying) -D
Re: VM problem
On Wed, 30 May 2001, D-Man wrote: I don't know what causes this, but I have seen it on one of my boxes -- the i486 with 8 MB RAM (and 32MB swap). I haven't seen it on the AMD Duron (128MB RAM) How much memory do you have on this K6? I have 32MB RAM and 72MB swap. (BTW, good job of including lots of possibly relevant information. Including the /proc/cpuinfo from my box won't help because it doesn't say anything -- I don't think the 486 family supports querying) -D --- Frédéric BURLET Etudiant IIième Maitrise Info. --- Secrétaire Namur-LUG/Linux Kot url : http://www.namurlug.org/ ---
Re: VM problem
BF Hi, BF I have installed the Debian GNU/Linux 2.2 r1 on my machine. A few days BF after the installation I noticed some strange messages from the kernel BF (samples below) concerning the virtual memory (do_try_to_free_pages failed BF for...). BF I have a second distribution on my machine (a RedHat GNU/Linux), BF I haven't seen these error messages (althought I'm not working a lot with BF this distribution). First I thought that there was a problem in the kernel BF version (the first one was 2.2.17). My reflex was to recompile a new BF kernel (new version : 2.2.18pre21) but the problem seems to endure. BF I have already re-formatted my swap partition. BF If you have an idea of where the problem comes from please tell me. AFAIK it is a bug in kernel. 2.2.19 should fix it. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Ilya Martynov (http://martynov.org/)| | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 | | AGAVA Software Company (http://www.agava.com/) | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: VM problem
On Wed, May 30, 2001 at 05:28:18PM +0200, BURLET Frederic wrote: Hi, I have installed the Debian GNU/Linux 2.2 r1 on my machine. A few days after the installation I noticed some strange messages from the kernel (samples below) concerning the virtual memory (do_try_to_free_pages failed for...). Upgrade to kernel = 2.2.19 -- Casper Gielen [EMAIL PROTECTED], [EMAIL PROTECTED] -- People just generally like to disagree. Bill Joy
Re: VM problem
On Wed, May 30, 2001 at 08:11:26PM +0400, Ilya Martynov wrote: | | BF Hi, | BF I have installed the Debian GNU/Linux 2.2 r1 on my machine. A few days | BF after the installation I noticed some strange messages from the kernel | BF (samples below) concerning the virtual memory (do_try_to_free_pages failed | BF for...). | BF I have a second distribution on my machine (a RedHat GNU/Linux), | BF I haven't seen these error messages (althought I'm not working a lot with | BF this distribution). First I thought that there was a problem in the kernel | BF version (the first one was 2.2.17). My reflex was to recompile a new | BF kernel (new version : 2.2.18pre21) but the problem seems to endure. | BF I have already re-formatted my swap partition. | | BF If you have an idea of where the problem comes from please tell me. | | AFAIK it is a bug in kernel. 2.2.19 should fix it. Ok, I'll double check which kernel that box is running (probably Potato's default). Are there any docs that explain what apt does and doesn't do and what must be done by hand (other than reconfiguring the boot loader)? I've upgrade kernels manually before, but that was on a RH machine when I didn't know how to configure modules. Thanks, -D
Re: VM problem.
On Jul 13 2000, Marcio Rosa da Silva wrote: Jul 13 08:39:16 brain kernel: VM: do_try_to_free_pages failed for wmppp... (...) What is happening??? That is called an Out-Of-Memory (OOM) situation and happens (ideally, at least) when your system has its memory (physical + swap) exhausted. It seems that recent kernels are having problems with the memory management (reading from posts in Linux Kernel) and the code is being changed frequently now. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/nectar/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
VM problem.
Sometimes, the CPU of my machine goes up and this appears in my /var/log/messages: Jul 13 08:39:12 brain kernel: VM: do_try_to_free_pages failed for http... Jul 13 08:39:16 brain kernel: VM: do_try_to_free_pages failed for wmppp... Jul 13 08:39:16 brain kernel: VM: do_try_to_free_pages failed for wmifs... Jul 13 08:39:16 brain kernel: VM: do_try_to_free_pages failed for gpm... (the applications change, ie, it doesn't happen with the same applications) What is happening??? I'm using unstable with kernel 2.2.17 Thanks! Marcio /*** * MARCIO ROSA DA SILVAe-mail: [EMAIL PROTECTED] * Assistant Professor [EMAIL PROTECTED] * Electrical Engineering Department * Universidade do Vale do Rio dos Sinos - UNISINOS * Av. Unisinos, 950 * Sao Leopoldo - RS - Brazil * Phone: +55 51 590- R:1781/1782 * FAX: +55 51 590-8172 * http://www.eletrica.unisinos.br/~marcio ***/
Re: VM problem.
On Thu, Jul 13, 2000 at 08:47:04AM +, Marcio Rosa da Silva wrote: [...] Jul 13 08:39:12 brain kernel: VM: do_try_to_free_pages failed for http... [...] I'm using unstable with kernel 2.2.17 [...] 2.2.17? do you mean 2.2.16 or 2.2.17pre? it's a problem in 2.2.16. if you are running .16, try the latest .17pre. moritz -- /* Moritz Schulte [EMAIL PROTECTED] * http://hp9001.fh-bielefeld.de/~moritz/ * PGP-Key available, encrypted Mail is welcome. */
Re: VM problem.
On Thu, 13 Jul 2000, Moritz Schulte wrote: On Thu, Jul 13, 2000 at 08:47:04AM +, Marcio Rosa da Silva wrote: [...] Jul 13 08:39:12 brain kernel: VM: do_try_to_free_pages failed for http... [...] I'm using unstable with kernel 2.2.17 [...] 2.2.17? do you mean 2.2.16 or 2.2.17pre? it's a problem in 2.2.16. if you are running .16, try the latest .17pre. yes, I'm running 2.2.17pre. Marcio /*** * MARCIO ROSA DA SILVAe-mail: [EMAIL PROTECTED] * Assistant Professor [EMAIL PROTECTED] * Electrical Engineering Department * Universidade do Vale do Rio dos Sinos - UNISINOS * Av. Unisinos, 950 * Sao Leopoldo - RS - Brazil * Phone: +55 51 590- R:1781/1782 * FAX: +55 51 590-8172 * http://www.eletrica.unisinos.br/~marcio ***/
Re: VM problem.
On Thu, Jul 13, 2000 at 10:56:04AM +, Marcio Rosa da Silva wrote: [...] Jul 13 08:39:12 brain kernel: VM: do_try_to_free_pages failed for http... [...] I'm using unstable with kernel 2.2.17 [...] 2.2.17? do you mean 2.2.16 or 2.2.17pre? it's a problem in 2.2.16. if you are running .16, try the latest .17pre. yes, I'm running 2.2.17pre. which? pre10 or pre11? if this doesn't solve the problem, you should report it on linux kernel mailing list.. moritz -- /* Moritz Schulte [EMAIL PROTECTED] * http://hp9001.fh-bielefeld.de/~moritz/ * PGP-Key available, encrypted Mail is welcome. */
Re: VM problem.
On Thu, 13 Jul 2000, Moritz Schulte wrote: which? pre10 or pre11? if this doesn't solve the problem, you should report it on linux kernel mailing list.. No. pre6-1 which is in unstable. I just used dselect and selected the most recent avaliable there. Maybe I must download another version and compile. Thanks! Marcio /*** * MARCIO ROSA DA SILVAe-mail: [EMAIL PROTECTED] * Assistant Professor [EMAIL PROTECTED] * Electrical Engineering Department * Universidade do Vale do Rio dos Sinos - UNISINOS * Av. Unisinos, 950 * Sao Leopoldo - RS - Brazil * Phone: +55 51 590- R:1781/1782 * FAX: +55 51 590-8172 * http://www.eletrica.unisinos.br/~marcio ***/
Re: VM problem.
On Thu, Jul 13, 2000 at 04:00:36PM +0200, Moritz Schulte wrote: On Thu, Jul 13, 2000 at 10:56:04AM +, Marcio Rosa da Silva wrote: [...] Jul 13 08:39:12 brain kernel: VM: do_try_to_free_pages failed for http... [...] I'm using unstable with kernel 2.2.17 [...] 2.2.17? do you mean 2.2.16 or 2.2.17pre? it's a problem in 2.2.16. if you are running .16, try the latest .17pre. yes, I'm running 2.2.17pre. which? pre10 or pre11? if this doesn't solve the problem, you should report it on linux kernel mailing list.. pre10 is better (than previous) but didn't cure this problem. I saw this this message many times on kernel list :( Mirek
Re: VM problem
On Wed Feb 10, 1999, Daniel Elenius wrote: I have a problem with the VM mail reader that has been annoying me for a LONG time. I use an exim filter to put e.g. the debian-user mail in a ~/mail/debian folder. Then when I open this folder, there will usually be new mail coming into the folder while I read it. That makes it impossible to save the folder after I've finished reading since it's changed on disk. Can this be solved, perhaps by telling exim to keep the mail on the queue if the folder is open (lockfiles or something)? You need to tell exim to filter into a separate SPOOL file, then get VM to read from the SPOOL. This URL: http://www.cs.hmc.edu/~smikes/emacs/vm-procmail.html explains the process for procmail, but is applicable for exim, too. Noel
Re: VM problem
Petter Adsen writes: Daniel Elenius writes: | OK, thanks for the advice, I get the general idea, but I'm afraid I've | broken my .vm now. VM says Invalid read syntax: . in wrong context | when I try to start it w/ M-x vm. I'll attach my .vm and my .forward | with my exim filter here... | | | -- | -~* Daniel Elenius *~-(setq vm-spool-files (list | ;; this should be a list of triples: | ;;mail folder spool filecrash box | (list ~daniel/VM/mail/INBOX /var/spool/mail/daniel ~daniel/VM/crash/inbox.crash) ^^ Looks like you're missing something here. For peace of mind, though, you might want to look at the auto-archiving features of vm instead, the multiple spool files approach is rumoured to cause severe headaches. :( Petter Actually, I got it to work now. I had to (setq vm-crash-box-suffix nil) and (vm-spool-file-suffix nil). By auto-archiving feature, do you mean virtual folders (sorry I haven't really RTFM). In that case, I think I'll rather stick with the setup I have now. It somehow feels better to heve the filtering done outside the MUA. -- -~* Daniel Elenius *~-
Re: VM problem
BTW, are there VM variables that one can set to tell it where to look for/place spool/crash files respectively? -- -~* Daniel Elenius *~-
VM problem
I have a problem with the VM mail reader that has been annoying me for a LONG time. I use an exim filter to put e.g. the debian-user mail in a ~/mail/debian folder. Then when I open this folder, there will usually be new mail coming into the folder while I read it. That makes it impossible to save the folder after I've finished reading since it's changed on disk. Can this be solved, perhaps by telling exim to keep the mail on the queue if the folder is open (lockfiles or something)? I'd be VERY grateful for suggestions! Also, thanks to the people who helped me with my SB16 Pnp setup. I'll try all that tomorrow. -- -~* Daniel Elenius *~-