Re: BlameSentansoken...

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20080814141755.GA11551@localhost>
On Thu, Aug 14, 2008 at 09:40:08AM -0400, Bill Yerazunis wrote:
>    root
>    # ls -al .crm/.deliver.zSAHL14278.crash
>    -rw------- 1 vmail vmail 6424234 Aug 14 07:15 .crm/.deliver.zSAHL14278.crash
> 
> Right there...  6,424,234 bytes is way too big for in-stream 
> processing with the default data window size.
> 
> Try a much bigger data window- say "-w 32000000" on the command line.

hm, doesn't sound right:

- standard datawindow size is 8M, so that msg fits in
- that'd be for crm itself, but .crm allocate at least 3 buffers, so for 
  a 6MB it'd bang on that ceiling, but ...
- input data length is limited in config a way lot below such
  limits
- bumping against internal limits should make crm scream & shout

A quick test to rule out datawindow problem could be (run as non root):

! crm '-{learn <osb unique microgroom> (s)}' < some email msg
! crm '-{learn <osb unique microgroom> (g)}' < some other email msg
! crm -w X '-{isolate (:s:) //
!        classify <osb unique> (g s) (:s:)
!        output /:*:s:\n/
!       }' < .crm/.deliver.zSAHL14278.crash

you'd get the usual stats, and $?=0, whatever legal 'X' you set; 
then try also eg

! crm -w 200000 '-{isolate (:s:) //
!        classify <osb unique> (g s) (:s:)
!        output /:*:_dw:/
!       }' < .crm/.deliver.zSAHL14278.crash | wc -c

and verify you get a char count of 200000 +/- 1.

As side note, looking at traces I'd say you've a dangerous PATH
(at least for root) and perhaps bogus/unset SHELL, as it looks into too 
many app dirs even for core utils and sh (!) before landing into /bin.

-- pp


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.