QWERTY配列と決別し、Dvorak配列に移行しよう!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 第2回 Tuningathon チューニングメモ | |
このメモは @hamano が [第2回 Tuningathon][1] に参加した際に行ったチュー | |
ニングポイントと感想です。 | |
[1]: http://www.zusaar.com/event/agZ6dXNhYXJyDQsSBUV2ZW50GLmFBgw "第2弾!いろいろチューニングしてパフォーマンスを競うバトルイベント開催!「Tuningathon」2!! #tuningathon" | |
今回のお題は MediaWiki への参照性能という事でまたPHPか! とは思いました | |
が2台構成可、Web Serverの入れ替え可、という条件でしたのでチューニングの | |
範囲が大きく広がった様に感じました。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/SWIG/_evp.i b/SWIG/_evp.i | |
index 0593eed..12c8b1f 100644 | |
--- a/SWIG/_evp.i | |
+++ b/SWIG/_evp.i | |
@@ -326,9 +326,9 @@ void cipher_ctx_free(EVP_CIPHER_CTX *ctx) { | |
PyObject *bytes_to_key(const EVP_CIPHER *cipher, EVP_MD *md, | |
PyObject *data, PyObject *salt, | |
- PyObject *iv, /* Not used */ | |
int iter) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from ctypes import * | |
x86_64 = [ | |
0x48,0x81,0xec,0xa0,0x7c,0x03,0x00,# sub $0x37ca0,%rsp | |
0x66,0x0f,0xef,0xc0,# pxor %xmm0,%xmm0 | |
0x48,0x8d,0x44,0x24,0x88,# lea -0x78(%rsp),%rax | |
0x48,0x8d,0x94,0x24,0x88,0x7c,0x03,# lea 0x37c88(%rsp),%rdx | |
0x00,# | |
0x0f,0x1f,0x84,0x00,0x00,0x00,0x00,# nopl 0x0(%rax,%rax,1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A[0]=4, A[n+1]=A[n]^2-1 | |
A[0]=4 | |
A[1]=15 | |
A[2]=224 | |
A[3]=50175 | |
A[4]=2517530624 | |
A[5]=6337960442777829375 | |
A[6]=40169742574216538983356186036612890624 | |
A[7]=1613608218478824775913354216413699241125577233045500390244103887844987109375 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- notification-daemon-0.7.3.orig/src/daemon.c | |
+++ notification-daemon-0.7.3/src/daemon.c | |
@@ -44,7 +44,7 @@ | |
#include "nd-notification.h" | |
#include "nd-queue.h" | |
-#define MAX_NOTIFICATIONS 20 | |
+#define MAX_NOTIFICATIONS 200000 | |
#define IDLE_SECONDS 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPモードメールプロトコル | |
------------------------ | |
< サーバーのレスポンス | |
> クライアントのリクエスト | |
--- | |
< 220 ESMTP Server Ready | |
> EHLO mail.spmode.ne.jp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Nru bind-9.8.1/CHANGES bind-9.8.1-P1/CHANGES | |
--- bind-9.8.1/CHANGES 2011-08-24 12:17:30.000000000 +0900 | |
+++ bind-9.8.1-P1/CHANGES 2011-11-16 18:34:40.000000000 +0900 | |
@@ -1,3 +1,9 @@ | |
+ --- 9.8.1-P1 released --- | |
+ | |
+3218. [security] Cache lookup could return RRSIG data associated with | |
+ nonexistent records, leading to an assertion | |
+ failure. [RT #26590] | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/server/mpm/worker/fdqueue.c b/server/mpm/worker/fdqueue.c | |
index 6b5485b..7f3e2d6 100644 | |
--- a/server/mpm/worker/fdqueue.c | |
+++ b/server/mpm/worker/fdqueue.c | |
@@ -175,6 +175,18 @@ apr_status_t ap_queue_info_wait_for_idler(fd_queue_info_t *queue_info, | |
return rv; | |
} | |
} | |
+ while (queue_info->idlers == 0) { | |
+ rv = apr_thread_cond_wait(queue_info->wait_for_idler, |