summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--software/mysql.page4
-rw-r--r--software/unix.page10
2 files changed, 14 insertions, 0 deletions
diff --git a/software/mysql.page b/software/mysql.page
new file mode 100644
index 0000000..5a26b2c
--- /dev/null
+++ b/software/mysql.page
@@ -0,0 +1,4 @@
+
+Faster imports:
+
+http://dba.stackexchange.com/questions/13446/slow-load-speed-of-data-from-mysqldump
diff --git a/software/unix.page b/software/unix.page
new file mode 100644
index 0000000..879d8d0
--- /dev/null
+++ b/software/unix.page
@@ -0,0 +1,10 @@
+
+File Descriptors after fork()
+-------------------------------
+
+When opening a file::
+
+ fcntl(fd, F_SETFD, FD_CLOEXEC);
+
+In python, you can pass the ``close_fds`` argument to subprocess.Popen() to
+close all file descriptors just after fork().