Sysadmin
I translated Gorou-san’s page for following Edge Rails (original is in japanese) – link to the edgerails page in english . For me the described method seems like a pretty smart way to stay organized, even on the cutting edge.
FastCGI is difficult to install/manage. Really it is :( Problem: DHH loves FastCGI. There is so many FastCGI-centric stuff in Rails: script/process/* the default lighttpd.conf, generated by script/server Solution: Zed Shaw First Zed gave a…
From some time I'm interested from BIG-IP like a load balancing with failover solution for our network. Found interesting post with BIG-IP features: It runs Linux kernel 2.4 in conjunction with some microkernel OS that F5 calls TMOS. Custo…
the patch exists (src/network_linux_sendfile.c): #include "log.h" #include "stat_cache.h" /* ADD THIS LINE */ /* on linux 2.4.29 + debian/ubuntu we have crashes if this is enabled */ #undef HAVE_POSIX_FADVISE
Found via Rails Tips, link point to TextDrive weblog Minimize the amount of FCGI listeners Use caching NEVER run “development” on FastCGI for more than 1-2 hours Observe your memory consumption Rotate your logs Write and run unit tests Che…
From Peter Busser's email to the RSBAC ML: I have compiled a number of RSBAC and Adamantix packages for Debian Sarge. This allows Debian Sarge users to benefit from some of the Adamantix features... Adamantix started like Hardened Debian. …
Via Stu's Diary:AccessFS from Olaf Dietsche allows the system administrator to restrict access to a network port based on uid/gui, so that daemons no longer need to run as the root user: # mount -t accessfs none /proc/access # chown www /p…
A relatively unknown webserver from LiteSpeed Technologies claims to be six times faster than Apache with a PHP interface that is 50% faster than mod_php...Litespeed webserver is available in 3 editions, the standard edition being free (fo…
Q: I am experiencing a heavy slowdown of the entire dom0 and all other domUs if *one* domU gets under heavy load.Is there any way to tighten this domU by adjusting something like scheduling? A: You can use elevator=cfq as the command line …
Lots of people on the Rails ML reported that problem on different OSes - Linux, FreeBSD and OS X. Better stay with 1.4.8
...The distribution of a file to a large number of hosts is a time consuming task, even if the size of the file is modest...Using cooperative methods where each client that already has downloaded the file serves another client, this time c…
A shell, written in Ruby, for any *nix like OS that allows you to run commands on several hosts at once using SSH. You can create your own commands very easy. Saving the whole session in YAML file.
Download the .torrent file Paste the torrent link into DumpTorrent Copy the hash ID from its output into NatCheck page
Good post in Moro-san's blog. Still I prefer lighttpd + spawn-fcgi for independent FastCGI listeners restarting.
Happy news - better support for VServer in Gentoo. Yahoooo! ...First, we have created the Gentoo VPS project, in order to concert the development of different implementations, and provide a convenient way for use with gentoo. The project p…
Great tip from the Feedmarker blogChange the following line in your dispatch.cgi (or dispatch.fcgi, depending on which you use) file: RailsFCGIHandler.process!to RailsFCGIHandler.process! nil, 1This tells Rails to run the garbage collector…
In the latest lighttpd-1.4.8 release, they removed the debian/ support:(from the changelog) removed debian/ dir from source package on request by packagerSad :( For me i solved the problem with copying the directory from the old 1.4.7 rele…
The BlackDog server turns out to be an interesting hybrid of a putting Linux on a USB flash device and putting an embedded Linux into a USB device. The actual device is around the size and weight of a pack of cards, and runs Debian Linux o…
In the development environment, evebody sees the debugging screen when something goes wrong. In the production environment, you only get a debugging screen, when operating from localhost. But because of the memory leak in the current rails…
An example config: <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /path/to/myapp/dispatch.fcgi -initial_env RAILS_ENV=production \ -processes 15 -idle-timeout 60 </IfModule>The important part is FastCgiServer. It creating static server definition - 15 fa…
lighttpd 1.4.8 was just released and next to a pile of bugfixes we added a new option to fastcgi.server to allow a simple setup of multiple rails app in one virtual host.. Go, go lighty :)
W32/Sober.Z@mm has gained wide distribution since 21 November 2005 ... Sober strikes again Technical description of W32/Sober.Z@mm
From Projecttionist tumblelog: 1. create needed tables $ cd myapp && rake create_session_table2. edit config/environment.rb config.action_controller.session_store = :active_record_store
Recently installed Xen-based system. Have already working Debian, Gentoo and Slackware domU-s. Helpful pointers: The Perfect Setup - Debian Sarge (3.1) The Perfect Xen Setup For Debian And Ubuntu How to Install Slackware Linux to a DomainU…
Ruby Web Bench (RWB) - I wanted to be able to build a weighted list of urls with which to test a website. RWB will become a little language in which you can write such lists, run tests, and build reports -- Pat Eyler
RubyGems are now being served by mirrors, not by RubyForge itself. Will be good somebody to set a gems mirror in Japan. In fact now all the mirrors listed in gemmirrors.map get randomly selected. Better will be the selection to be more cle…
Everybody's problem - upgrading Rails from 0.13.x to 0.14.x
Trying to "productize" our RoR environment. Like a first step - using SwitchTower. Here is a small stupid task to check the Rails version on the servers (railsapp/config/deploy.rb): desc "Rails version" task :rails_version do run "gem list…