コーヒーうまうま
CK/CSが凍って興味を持ってインストールし始めた勢を観測した https://twitter.com/umezou0419/status/992809867634130945
This account is not set to public on notestock.
This account is not set to public on notestock.
気に入ってたやつ。防水が破れて壊しちゃったんだよね(´・ω・`) -- Sony Ericsson Xperia active - Full phone specifications https://www.gsmarena.com/sony_ericsson_xperia_active-3998.php
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
Sidekiqのスレッド数3での24時間後のメモリ使用量は640 MB。スレッド数2の頃に比べて有意な変化はないように感じられる(記録をとっておくのを忘れたw)。glibc mallocに比べてjemallocはスレッドあたりのメモリ使用量も少ないのかな?
調子に乗ってスレッド数を4にしようw うりゃ:
$ heroku config:set SIDEKIQ_THREADS=4
@usa 使わせてもらってるホストに余計なパッケージが入ってる感じです。ffi gemとかのビルドが下記のような感じで止まります
/usr/pkg/include/pthread.h:285:42: error: conflicting types for 'pthread_t'
typedef struct pthread_st *pthread_t;
^
In file included from /usr/include/sys/types.h:360:0,
from AbstractMemory.c:32:
/usr/include/pthread_types.h:65:30: note: previous declaration of 'pthread_t' was here
typedef struct __pthread_st *pthread_t;
\ますたー/ \ますたー/
Merged tootsuite/mastodon at 2f63d52b925733520b668a2302e7e38d67251c71
Migrating to AddUriToRelationships (20180416210259)
== 20180416210259 AddUriToRelationships: migrating ============================
-- add_column(:follows, :uri, :string)
-> 0.0342s
-- add_column(:follow_requests, :uri, :string)
-> 0.0049s
-- add_column(:blocks, :uri, :string)
-> 0.0093s
== 20180416210259 AddUriToRelationships: migrated (0.0491s) ===================
むーん
WARN: NameError: undefined local variable or method `domain' for #<CustomEmoji:0x00007f677b33f740>
Did you mean? DomainName
WARN: /app/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.0/lib/active_model/attribute_methods.rb:430:in `method_missing'
/app/app/models/custom_emoji.rb:48:in `local?'
/app/app/lib/activitypub/tag_manager.rb:28:in `uri_for'
/app/app/serializers/activitypub/emoji_serializer.rb:11:in `id'
:
Redis::CommandError: OOM command not allowed when used memory > 'maxmemory'.
むーんむーん
@usa https://gist.github.com/zunda/9c33b499e137a1b08a622c2e1bee2feb こんな感じに。Google先生によるとホストの構成の問題だったという記述がどこかにありました (どこだっけ…
a mistake; problem on the host i was building on.
https://github.com/laeos/xaric/issues/3#issuecomment-162276632
むーん
2014年からつくれてなかったw
これは通った
$ gem23 install bundler --user-install
$ git clone git://github.com/ffi/ffi.git
$ cd ffi
$ git submodule update --init --recursive
$ bundle install --path=vendor/bundle
$ bundle exec rake build
うーむ
$ cd ~/.gem/ruby/2.3.0/gems/ffi-1.9.23/ext/ffi_c
$ make CFLAGS=-D_PTH_PTHREAD_H_
するとAbstractMemory.cは通るんだけど
compiling Function.c
Function.c:134:45: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a function)
static pthread_mutex_t async_cb_mutex = PTHREAD_MUTEX_INITIALIZER;
^
Function.c:135:43: error: 'PTHREAD_COND_INITIALIZER' undeclared here (not in a function)
static pthread_cond_t async_cb_cond = PTHREAD_COND_INITIALIZER;
:
じゃあ/usr/include/pthread_types.hを読まないように
$ make CFLAGS=-D_LIB_PTHREAD_TYPES_H
これはこれで矛盾が起きるなw
compiling Call.c
In file included from Call.c:47:0:
/usr/include/signal.h:69:29: error: expected ')' before 'int'
int pthread_kill(pthread_t, int);