Short: status for actions wrong
From: Manu Maeki
Date: 2001-10-19
Type: Bug
State: New

Hrm. Here is our 'status' currently:

Comm structures                            493120
Actions:                         3816722 106868216
Shadows:                            2958    70992
Objects:                           37259  9011306 (29071 swapped, 28979
Kbytes)
Arrays:                            12729  2178896
Mappings:                          16829  2885432
Prog blocks:                        7053  9982544 (0 swapped, 0 Kbytes)
Memory reserved:                          1000000
hash table overhead                         65536
Strings malloced                  136940  4733952 + 3810848 overhead
call out:                            580    20880 (current length 417)
Regexp cache:                        862   387798
Lexer structures                           211019
Comm structures                            493120
Other structures                           389545
                                         --------
Total:                                   142122984


I'm wondering why 'Actions' takes so much of memory (106 megs). What are
those 'actions' and why do they eat so much mem?

  - Manu M=E4ki


Date: Tue, 13 Nov 2001 16:53:41 +0200 (EET)

Hi. The problem seems to be in .354, too. Check this out:

Actions:                         3233610 90541080
                                         --------
Total:                                   127702387


Looks rather ridiculous. What stuff is included in those 'Actions' and
could it be debugged in the mud somehow? With add_action() sfun or
something.

  - Manu M=E4ki

-----------------

A memory leak in the action handling?

This is OSB, running .156 - 34M for actions??

Today is the 5th day of Early Great Heat. It is currently sunrise.
Real World time is: Thu  2-Mar-00 20:08:11 CET
Usenet time is: Thu 2375-Sep-93 20:08:11 CET
[ Time since genesis: 102 days 13 hours 28 minutes 5 seconds ]
> status
Actions:                         1456558 34957392
Shadows:                               1       20
Objects:                             990   883072 (357 swapped, 225 Kbytes)
Arrays:                             5012   244976
Mappings:                           7244   731336
Prog blocks:                         296   859376 (68 swapped, 127 Kbytes)
Memory reserved:                          1000000
hash table overhead                          4096
Strings malloced                   19765   584698 + 134974 overhead
call out:                            360    11520 (current length 12)
Regexp cache:                        275   147649
                                         --------
Total:                                   39435417
> malloc
Type                   Count      Space (bytes)
sbrk requests:         2612          48039768 (a)
large blocks:         13982          46659952 (b)
large free blocks:      998           1379708 (c)

small chunks:          2597          42570024 (d)
small blocks:       1501736          41771632 (e)
small free blocks:    33337            760520 (f)
unused from current chunk                7172 (g)
[Mateese:d-code] Hmm. Wenn ihr bei auch auf den Status schaut, habt 
ihr auch
   so irre hohe Werte unter 'Actions'?
   [Coogan@TubMud:d-code] nein ... Actions:           7433   178392
   [Freaky@UNItopia:d-code] Actions: 257878  6189072 (Gesamt: 86092935)
   [Mateese:d-code] Uptime?
   [Freaky@UNItopia:d-code] 10 Tage
   [Mateese:d-code] Hmm, wenn es ein schleichendes Leck ist, faellt es 
   nach nur
      10 Tagen wahrscheinlich noch nicht auf.

---------------
