#29 ASSERTION

open
None
5
2004-02-08
2004-02-06
Anonymous
No

sometimes Middleman leaves the earth with the following
log message.

Sat 07 00:43:21 [17260] error: ASSERTION:
src/cache.c:586 in function cache_clean

Is it my error somewhere? Or is it an error in
Middleman? Someone out there who experienced the same
error?

Greetings, Gernot

Discussion

    • assigned_to: nobody --> mcjason
     
  • Logged In: YES
    user_id=432781

    It's definitely not your error, this is an internal check done to ensure
    the cache data structures are in a valid state. I've never hit this
    assertion myself in testing, so I'm assuming it's rare or is only triggered
    by a specific configuration. Could you reply with the <cache> section
    of your configuration so I can try to track this down? Thanks.

     
  • Logged In: NO

    OK, here is the cache part of /etc/mman/mman.config. I think
    these are the standard setting because I haven't yet
    configured as much.

    <cache>
    <enabled>true</enabled>
    <path>/var/cache/mman</path>
    <maxdisksize>250000000</maxdisksize>
    <maxmemsize>10000000</maxmemsize>
    <diskextra>10000000</diskextra>
    <memextra>2000000</memextra>
    <maxage>2592000</maxage>
    <validate>1800</validate>
    <agepercent>10</agepercent>
    <maxsize>5000000</maxsize>
    <minage>3600</minage>
    <minsize>0</minsize>
    <maxwaitsize>500000</maxwaitsize>
    <prefetchwindow>10</prefetchwindow>