Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@biosphere ]# uname -a
- Linux biosphere 3.6.9-2.fc17.x86_64 #1 SMP Tue DEC 4 13:26:04 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
- [root@biosphere ]# cat /etc/issue
- Fedora release 17 (Beefy Miracle)
- Kernel \r ON an \m (\l)
- [root@biosphere ]# rpm -qa | grep -i monetdb
- MonetDB5-server-11.13.9-20130127.fc17.x86_64
- MonetDB-stream-devel-11.13.9-20130127.fc17.x86_64
- MonetDB-stream-11.13.9-20130127.fc17.x86_64
- MonetDB-11.13.9-20130127.fc17.x86_64
- MonetDB-SQL-server5-11.13.9-20130127.fc17.x86_64
- MonetDB-geom-MonetDB5-11.13.9-20130127.fc17.x86_64
- MonetDB-testing-11.13.9-20130127.fc17.x86_64
- MonetDB-client-11.13.9-20130127.fc17.x86_64
- MonetDB-jaql-11.13.9-20130127.fc17.x86_64
- [brian@biosphere ]$ mclient -u monetdb -d myschema
- password:
- Welcome TO mclient, the MonetDB/SQL interactive terminal (Oct2012-SP3)
- DATABASE: MonetDB v11.13.9 (Oct2012-SP3), 'mapi:monetdb://biosphere:50000/myschema'
- TYPE \q TO quit, \? FOR a list OF available commands
- auto commit mode: ON
- sql>SELECT COUNT(*) AS num FROM "myschema".tablea;
- +----------+
- | num |
- +==========+
- | 10153768 |
- +----------+
- 1 tuple (4.106ms)
- sql>SELECT COUNT(*) AS num FROM "myschema".tableb;
- +---------+
- | num |
- +=========+
- | 8726980 |
- +---------+
- 1 tuple (4.509ms)
- sql>SELECT COUNT(*) AS num FROM "myschema".tablec;
- +--------+
- | num |
- +========+
- | 931376 |
- +--------+
- 1 tuple (3.579ms)
- sql>SELECT a.ip_dst AS ip_dst, b.tcp_dport AS tcp_dport, COUNT(*) AS num FROM "myschema".tablea a LEFT JOIN "myschema".tableb b ON (a.guid = b.guid) WHERE b.tcp_dport IS NOT NULL GROUP BY a.ip_dst, b.tcp_dport ORDER BY num DESC LIMIT 20;
- +-----------------+-----------+---------+
- | ip_dst | tcp_dport | num |
- +=================+===========+=========+
- Results ommited.
- +-----------------+-----------+---------+
- 20 tuples (5.4s)
- sql>SELECT a.ip_dst AS ip_dst, b.udp_dport AS udp_dport, COUNT(*) AS num FROM "myschema".tablea a LEFT JOIN "myschema".tablec b ON (a.guid = b.guid) WHERE b.udp_dport IS NOT NULL GROUP BY a.ip_dst, b.udp_dport ORDER BY num DESC LIMIT 20
- more>;
- Connection TERMINATED
- # It crashes interesting tablec has alot less DATA than tableb but tablea joining TO tableb works fine.
- [root@biosphere ThreatmonitorDashboard]# du -h /var/monetdb5/dbfarm/ | tail -1
- 2,4G /var/monetdb5/dbfarm/
- # The Box has 6GB OF Memory
- [brian@biosphere ]$ su
- Passwort:
- [root@biosphere ]# monetdb STATUS
- name state uptime health
- myschema crashed 12%, 7m crash 2013-01-27 18:06:02
- [root@biosphere ]# tail -50 /var/log/monetdb/merovingian.log
- 2013-01-27 18:01:58 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:02:07 MSG merovingian[1138]: proxying client localhost:33976 FOR DATABASE 'myschema' TO mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock?DATABASE=myschema
- 2013-01-27 18:02:07 MSG merovingian[1138]: target connection IS ON LOCAL UNIX DOMAIN socket, passing ON filedescriptor instead OF proxying
- 2013-01-27 18:02:18 MSG discovery[1138]: NEW DATABASE mapi:monetdb://biosphere:50000/myschema (ttl=660s)
- 2013-01-27 18:02:19 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:02:21 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:02:57 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:02:57 MSG merovingian[1138]: sending process 3212 (DATABASE 'myschema') the TERM signal
- 2013-01-27 18:03:57 ERR merovingian[1138]: timeout OF 60 seconds expired, sending process 3212 (DATABASE 'myschema') the KILL signal
- 2013-01-27 18:03:57 MSG control[1138]: (LOCAL): stopped DATABASE 'myschema'
- 2013-01-27 18:03:57 MSG merovingian[1138]: DATABASE 'myschema' (3212) was killed BY signal SIGKILL
- 2013-01-27 18:04:05 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:04:05 MSG merovingian[1138]: DATABASE 'myschema' has crashed after START ON 2013-01-27 17:58:56, attempting restart, up MIN/avg/MAX: 4s/7m/18m, crash average: 1.00 0.90 0.70 (24-3=21)
- 2013-01-27 18:04:05 MSG control[1138]: (LOCAL): started 'myschema'
- 2013-01-27 18:04:05 MSG myschema[3612]: arguments: /usr/bin/mserver5 --set gdk_dbfarm=/var/monetdb5/dbfarm --dbname=myschema --set merovingian_uri=mapi:monetdb://biosphere:50000/myschema --set mapi_open=false --set mapi_port=0 --set mapi_usock=/var/monetdb5/dbfarm/myschema/.mapi.sock --set monet_vault_key=/var/monetdb5/dbfarm/myschema/.vaultkey --set gdk_nr_threads=2 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
- 2013-01-27 18:04:05 MSG myschema[3612]: # MonetDB 5 server v11.13.9 "Oct2012-SP3"
- 2013-01-27 18:04:05 MSG myschema[3612]: # Serving DATABASE 'myschema', USING 2 threads
- 2013-01-27 18:04:05 MSG myschema[3612]: # Compiled FOR x86_64-unknown-linux-gnu/64bit WITH 64bit OIDs dynamically linked
- 2013-01-27 18:04:05 MSG myschema[3612]: # Found 5.800 GiB available main-memory.
- 2013-01-27 18:04:05 MSG myschema[3612]: # Copyright (c) 1993-July 2008 CWI.
- 2013-01-27 18:04:05 MSG myschema[3612]: # Copyright (c) August 2008-2013 MonetDB B.V., ALL rights reserved
- 2013-01-27 18:04:05 MSG myschema[3612]: # Visit http://www.monetdb.org/ FOR further information
- 2013-01-27 18:04:05 MSG myschema[3612]: # Listening FOR UNIX DOMAIN connection requests ON mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock
- 2013-01-27 18:04:05 MSG myschema[3612]: # MonetDB/GIS module loaded
- 2013-01-27 18:04:05 MSG myschema[3612]: # MonetDB/JAQL module loaded
- 2013-01-27 18:04:05 MSG myschema[3612]: # MonetDB/SQL module loaded
- 2013-01-27 18:04:36 MSG merovingian[1138]: proxying client localhost:33977 FOR DATABASE 'myschema' TO mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock?DATABASE=myschema
- 2013-01-27 18:04:36 MSG merovingian[1138]: target connection IS ON LOCAL UNIX DOMAIN socket, passing ON filedescriptor instead OF proxying
- 2013-01-27 18:04:42 MSG merovingian[1138]: DATABASE 'myschema' (3612) was killed BY signal SIGSEGV
- 2013-01-27 18:06:02 MSG control[1138]: (LOCAL): served STATUS list
- 2013-01-27 18:06:02 MSG merovingian[1138]: DATABASE 'myschema' has crashed after START ON 2013-01-27 18:04:05, attempting restart, up MIN/avg/MAX: 4s/7m/18m, crash average: 1.00 0.90 0.73 (25-3=22)
- 2013-01-27 18:06:03 MSG control[1138]: (LOCAL): started 'myschema'
- 2013-01-27 18:06:03 MSG myschema[3753]: arguments: /usr/bin/mserver5 --set gdk_dbfarm=/var/monetdb5/dbfarm --dbname=myschema --set merovingian_uri=mapi:monetdb://biosphere:50000/myschema --set mapi_open=false --set mapi_port=0 --set mapi_usock=/var/monetdb5/dbfarm/myschema/.mapi.sock --set monet_vault_key=/var/monetdb5/dbfarm/myschema/.vaultkey --set gdk_nr_threads=2 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
- 2013-01-27 18:06:03 MSG myschema[3753]: # MonetDB 5 server v11.13.9 "Oct2012-SP3"
- 2013-01-27 18:06:03 MSG myschema[3753]: # Serving DATABASE 'myschema', USING 2 threads
- 2013-01-27 18:06:03 MSG myschema[3753]: # Compiled FOR x86_64-unknown-linux-gnu/64bit WITH 64bit OIDs dynamically linked
- 2013-01-27 18:06:03 MSG myschema[3753]: # Found 5.800 GiB available main-memory.
- 2013-01-27 18:06:03 MSG myschema[3753]: # Copyright (c) 1993-July 2008 CWI.
- 2013-01-27 18:06:03 MSG myschema[3753]: # Copyright (c) August 2008-2013 MonetDB B.V., ALL rights reserved
- 2013-01-27 18:06:03 MSG myschema[3753]: # Visit http://www.monetdb.org/ FOR further information
- 2013-01-27 18:06:03 MSG myschema[3753]: # Listening FOR UNIX DOMAIN connection requests ON mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock
- 2013-01-27 18:06:03 MSG myschema[3753]: # MonetDB/GIS module loaded
- 2013-01-27 18:06:03 MSG myschema[3753]: # MonetDB/JAQL module loaded
- 2013-01-27 18:06:03 MSG myschema[3753]: # MonetDB/SQL module loaded
- 2013-01-27 18:06:13 MSG merovingian[1138]: proxying client (LOCAL) FOR DATABASE 'myschema' TO mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock?DATABASE=myschema
- 2013-01-27 18:06:13 MSG merovingian[1138]: target connection IS ON LOCAL UNIX DOMAIN socket, passing ON filedescriptor instead OF proxying
- 2013-01-27 18:06:13 MSG merovingian[1138]: proxying client (LOCAL) FOR DATABASE 'myschema' TO mapi:monetdb:///var/monetdb5/dbfarm/myschema/.mapi.sock?DATABASE=myschema
- 2013-01-27 18:06:13 MSG merovingian[1138]: target connection IS ON LOCAL UNIX DOMAIN socket, passing ON filedescriptor instead OF proxying
- 2013-01-27 18:07:05 MSG merovingian[1138]: DATABASE 'myschema' (3753) was killed BY signal SIGSEGV
- 2013-01-27 18:07:23 MSG control[1138]: (LOCAL): served STATUS list
- [root@biosphere ]# dmesg | tail -20
- [4083107.484892] device p6p1 LEFT promiscuous mode
- [4083426.553995] mserver5[27459]: segfault at 0 ip 00007f12b1276fc0 sp 00007f1257b5d830 error 4 IN libbat.so.8.0.1[7f12b125d000+2a3000]
- [4084889.430916] mserver5[16741]: segfault at 7fa33941fff8 ip 00007fa39be6177c sp 00007fa341c1e780 error 4 IN libbat.so.8.0.3[7fa39bd6a000+349000]
- [4085893.283501] mserver5[16803]: segfault at 7f6d24d7dff8 ip 00007f6d819d277c sp 00007f6d27b5d780 error 4 IN libbat.so.8.0.3[7f6d818db000+349000]
- [4085999.862580] mserver5[16857]: segfault at 7f9e0cefeff8 ip 00007f9e85aa777c sp 00007f9e774b4780 error 4 IN libbat.so.8.0.3[7f9e859b0000+349000]
- [4087710.447023] mserver5[17150]: segfault at 7fac9919eff8 ip 00007fad4c1f177c sp 00007fad3ddff780 error 4 IN libbat.so.8.0.3[7fad4c0fa000+349000]
- [4098766.959341] mserver5[22047]: segfault at 7f5a302bfff8 ip 00007f5a77a4977c sp 00007f5a17bfc780 error 4 IN libbat.so.8.0.3[7f5a77952000+349000]
- [4137069.542054] device p6p1 entered promiscuous mode
- [4138409.252642] mserver5[1130]: segfault at 7fae01d1dff8 ip 00007fae8eb0a77c sp 00007fae805177e0 error 4 IN libbat.so.8.0.3[7fae8ea13000+349000]
- [4138409.390857] device p6p1 LEFT promiscuous mode
- [4139227.439936] mserver5[2362]: segfault at 7f235e3b3ff8 ip 00007f23c07667cc sp 00007f235b311790 error 4 IN libbat.so.8.0.3[7f23c04ab000+349000]
- [4139244.212386] mserver5[2391]: segfault at 7fa8e141fff8 ip 00007fa94f58d7cc sp 00007fa8eaade790 error 4 IN libbat.so.8.0.3[7fa94f2d2000+349000]
- [4139469.413760] mserver5[2687]: segfault at 7fc18d41fff8 ip 00007fc1f8c697cc sp 00007fc194bdd790 error 4 IN libbat.so.8.0.3[7fc1f89ae000+349000]
- [4139487.063208] mserver5[2720]: segfault at 7f1db141fff8 ip 00007f1e12bd977c sp 00007f1db989e780 error 4 IN libbat.so.8.0.3[7f1e12ae2000+349000]
- [4139636.146238] mserver5[2887]: segfault at 7fa89cbbdff8 ip 00007fa8f9cc477c sp 00007fa89fb9e780 error 4 IN libbat.so.8.0.3[7fa8f9bcd000+349000]
- [4139649.070083] mserver5[2912]: segfault at 7fc96d41fff8 ip 00007fc9d056577c sp 00007fc9c2173780 error 4 IN libbat.so.8.0.3[7fc9d046e000+349000]
- [4139747.088153] mserver5[3076]: segfault at 7f3138cdfff8 ip 00007f319caea77c sp 00007f3143b9e780 error 4 IN libbat.so.8.0.3[7f319c9f3000+349000]
- [4139836.092259] mserver5[3197]: segfault at 7f1d60bbdff8 ip 00007f1dbdbac77c sp 00007f1d63b9e780 error 4 IN libbat.so.8.0.3[7f1dbdab5000+349000]
- [4140194.902851] mserver5[3667]: segfault at 7f07a4bbdff8 ip 00007f0800bf377c sp 00007f07a7b9e780 error 4 IN libbat.so.8.0.3[7f0800afc000+349000]
- [4140337.563514] mserver5[3834]: segfault at 7fb43e6beff8 ip 00007fb4b72d077c sp 00007fb4a8cdd780 error 4 IN libbat.so.8.0.3[7fb4b71d9000+349000]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement