[hobbit] RE : [hobbit] Problems since upgrading from bbgen to Hobbit

FIGARO Nicolas nfigaro at effigie.fr
Tue Nov 29 15:11:44 CET 2005


> -----Message d'origine-----
> De : Frédéric Mangeant [mailto:frederic.mangeant at steria.com] 
> Envoyé : mardi 29 novembre 2005 14:59
> À : hobbit at hswn.dk
> Objet : Re: [hobbit] RE : [hobbit] Problems since upgrading 
> from bbgen to Hobbit
> 
> 
> Merci pour l'info Nicolas.
Avec plaisir. 
> 
> Running bb-hist.cgi returns 1000+ lines, and ends with :
> 
> read(3, " 2005 green   1121362283 877\nThu"..., 4096) = 4096
> read(3, "0:59 2005 red   1121389259 12\nFr"..., 4096) = 4096
> read(3, "2005 clear   1121415369 12\nFri J"..., 4096) = 4096
> brk(0x84c1000)                          = 0x84c1000
> read(3, "5 green   1121440956 879\nFri Jul"..., 4096) = 4096
> read(3, "2005 red   1121467928 10\nSat Jul"..., 4096) = 4096
> read(3, "08:07:14 2005 clear   1121494034"..., 4096) = 4096
> read(3, "Sat Jul 16 15:22:19 2005 green  "..., 4096) = 4096 
> read(3, "1546235 880\nSat Jul 16 22:51:55 "..., 4096) = 4096
> read(3, " red   1121573209 10\nSun Jul 17 "..., 4096) = 4096
> read(3, "1:56 2005 clear   1121599316 10\n"..., 4096) = 4096
> read(3, "Jul 17 20:37:04 2005 green   112"..., 4096) = 4096
> read(3, "520 879\nMon Jul 18 04:06:39 2005"..., 4096) = 4096
> read(3, "   1121678494 10\nMon Jul 18 11:2"..., 4096) = 4096
> read(3, "592\nMon Jul 18 18:36:50 2005 gre"..., 4096) = 4096
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> 
> This external script's color changes very frequently (I use 
> this to open 
> "fake" tickets in Computer Associates USPSD).
> The ~data/hist/cronos.AHD file is more than 4 Mb, maybe I 
> should change 
> one of the "MAXMSG_*" settings in hobbitserver.cfg ?
Or try to run a head -100 to select only the 100 most recent color changes 
and see if the SIGSEGV still occurs. 

You could certainly determine the amount of lines the cgi can handle. 

NF 
> 
> Regards,
> 
> -- 
> 
> Frédéric Mangeant
> 
> Steria EDC Sophia-Antipolis



More information about the Xymon mailing list