Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wetnun
wetnun / gist:9185ae7e05e0b515dfb84e2ef595adfa
Created June 3, 2019 16:23
carbon-clickhouse temp file usage
total 0
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578727355267711
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578732355379856
drwxr-xr-x. 2 clickhouse clickhouse 42 Jun 3 12:18 graphite
drwxr-xr-x. 2 clickhouse clickhouse 42 Jun 3 12:18 graphite_index
total 0
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578732355379856
drwxr-xr-x. 2 clickhouse clickhouse 6 Jun 3 12:18 graphite
drwxr-xr-x. 2 clickhouse clickhouse 6 Jun 3 12:18 graphite_index
total 0
@wetnun
wetnun / gist:c310da956c4f91437ab18ab012ace3b2
Last active March 25, 2018 06:06
Lets go shopping....
2 https://www.homedepot.com/p/1-2-in-Non-Metallic-Liquid-Tight-Push-On-Connector-NMLT5-1/202284602
4 https://www.homedepot.com/p/1-2-in-EMT-Conduit-101543/100400405
1 https://www.homedepot.com/p/Halex-1-2-in-Electrical-Metallic-Tube-EMT-1-Hole-Straps-25-Pack-26151/100172548
2 https://www.homedepot.com/p/1-2-in-Electrical-Metallic-Tube-EMT-Compression-Connectors-5-Pack-26230/100559992
1 https://www.homedepot.com/p/AFC-Cable-Systems-1-2-x-100-ft-Non-Metallic-Liquidtight-Conduit-6002-30-00/202286688
2 https://www.homedepot.com/p/BELL-1-Gang-Blank-Plastic-Cover-Gray-PBC100GY/204125641
2 https://www.homedepot.com/p/BELL-1-Gang-Weatherproof-Box-Three-1-2-in-or-3-4-in-Outlets-PSB37550GY/202284546
2 https://www.homedepot.com/p/1-2-in-Rigid-Type-LB-Threaded-Aluminum-Conduit-Body-58605/100151927
1 https://www.homedepot.com/p/Klein-Tools-6-500-ft-Pulling-Line-56110/100660172
[root@ii83-2 (16:52:31) /local/tmp/keyspace-1.4.2]# make clean
rm -f ./keyspace
rm -r -f ./build/debug
rm -f ./keyspace
rm -r -f ./build/release
rm ./bin/libkeyspaceclient.a ./bin/libkeyspaceclient.so
rm: cannot remove `./bin/libkeyspaceclient.a': No such file or directory
rm: cannot remove `./bin/libkeyspaceclient.so': No such file or directory
make: [clean-libs] Error 1 (ignored)
rm ./bin/keyspaced ./bin/clienttest ./bin/bdbtool
[root@ii83-2 (20:10:29) /local/tmp/keyspace-1.4.2]# make
make targets BUILD="release"
make[1]: Entering directory `/local/tmp/keyspace-1.4.2'
mkdir -p ./build/release \
./build/release/Application/ \
./build/release/Application/Console/ \
./build/release/Application/EchoServer/ \
./build/release/Application/HubSim/ \
./build/release/Application/TestDB/ \
./build/release/Application/Keyspace/ \
[root@localhost util]# strace -tt -vv perl -MMongoDB -eprint 2>&1 | grep ' open'
11:06:15.120557 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121079 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121495 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121889 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.122261 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.122696 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.123051 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/sse2/libpe
[root@ii83-2 (14:01:44) ~/mongodb-linux-i686-1.1.4/bin]# ./mongo
MongoDB shell version: 1.1.4
url: test
connecting to: test
type "help" for help
> use common
switched to db common
> db.createCollection("arrtest");
{ "ok" : 1 }
> j={"random":"some crap","tester":["test1","test2","test3"]}
cat t/test_server.pl>
#!/usr/bin/env perl
#
# Gearman Perl front end
# Copyright (C) 2009 Dennis Schoen
# All rights reserved.
#
# This library is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself, either Perl version 5.8.9 or,
[root@ii50-9 (11:40:39) /usr/src/redhat/SOURCES]# cp Gearman-XS-0.7.tar.gz /tmp
[root@ii50-9 (11:40:57) /usr/src/redhat/SOURCES]# cd /tmp
[root@ii50-9 (11:40:58) /tmp]# tar -xzvf Gearman-XS-0.7.tar.gz
Gearman-XS-0.7/
Gearman-XS-0.7/inc/
Gearman-XS-0.7/inc/Module/
Gearman-XS-0.7/inc/Module/Install.pm
Gearman-XS-0.7/inc/Module/Install/
Gearman-XS-0.7/inc/Module/Install/AutoInstall.pm
Gearman-XS-0.7/inc/Module/Install/Makefile.pm
[root@ii50-9 (16:39:43) /usr/src/redhat/SPECS]# gearmand -u nobody &
[1] 1254
[root@ii50-9 (16:39:45) /usr/src/redhat/SPECS]#
[root@ii50-9 (16:39:46) /usr/src/redhat/SPECS]# cpan2rpm --release=ffi2 Gearman::XS
-- cpan2rpm - Ver: 2.028 --
Signatures not set up
Upgrade check
Fetch: HTTP
[root@ii50-9 (15:58:36) ~]# which gearmand
/usr/sbin/gearmand
[root@ii50-9 (15:58:39) ~]# gdb /usr/sbin/gearmand
GNU gdb Fedora (6.8-37.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...