similar to: EventMachine website down?

Displaying 20 results from an estimated 800 matches similar to: "EventMachine website down?"

2005 Jun 07
7
wrr question
Guys All the recent discussions recently, and the knowledge of a 2.6 port, of WRR has made me very keen on trying it. I had a look at the docs and examples know but my mind is not in a very receptive state. Take this simple example. Incoming internet connection of 1mbps. Shared between up to 25 users simultaneously. I know that WRR can fairly distribute the traffic amongst the currently
2008 Aug 06
6
Event loop responsiveness + client
Hello, on the application that I''m working on, we are using Thin. The server implements long polling and commands that alter its internal state. Connecting to the long poll is a very fast operation, while updating the state of the server is a relatively slow operation. The long poll connection is held open until there is a change to be sent to the connection. Here is my current
2005 Feb 16
3
How can i send the same traffic to 2 different interface
Hi! I am making some tests here, and i wanna miror all the traffic going to a ip from one interface to another ip. example: all packets going to 64.223.167.100 should be transmitted by ppp0 to internet and by eth2 to the adress 192.168.1.100. Someone know how can i do it using iptables or ip route/ip rule? Tks in advance! Fernando Favero _______________________________________________ LARTC
2007 Feb 25
6
Crash occurs where EventMachine.connect is
Hi everyone, If you subclass EventMachine::Connection and call it outside an EventMachine::run event loop, EventMachine crashes! Example: class Put < EventMachine::Connection include EventMachine::Deferrable HOST="localhost" PORT=8080 def self.request(data) EventMachine.connect(HOST, PORT, self) {|c| c.instance_eval { @data = data } } end #
2005 May 13
2
tableview.sh
netfilter and lartc members I just thought it''s time I contribute. I created this little script to help me while setting up iptables rules for firewalling, shaping or both. I hope this helps someone. Called tableview.sh, inspired by Table Mountain, Cape Town, ZA :) --- SOF ---- #!/bin/sh # ____ # /\/ \/\ # /__________\ # # Simple loop for keeping track of what is happening in
2005 May 30
2
wrr in 2.6.x
Guys Given the replies and interests lately on the WRR scheduler, and the shameless promotion of Route Hat (only kidding), my question is simple. Is there an alternative for the 2.6.x kernels? >From what I gather WRR is only available for the 2.4 kernels... Regards -- Kenneth Kalmer kenneth.kalmer@gmail.com http://opensourcery.blogspot.com
2005 May 04
2
[OT] Shaping and squid question
List Out of interest, I use transparent squid proxies for caching websites, and I shape the clients that browse the net, this all works perfectly so no questions in this regard... CLIENT <--- eth0 ----> SQUID <----- ppp0 -----> NET What I just realised was that all egress traffic on eth0 gets shaped, squid gets data from ppp0 and hence is not shaped. Does this mean that squid
2005 Apr 23
7
Spill over
List I need some help, advice or just a starting point on the following situation: Link A - 64kbps leased line Link B - 512kbps ADSL line Is it possible to have Link A saturated constantly and have the excess traffic "spill over" onto Link B? I know it''s possible to have packets sent down links in a round-robin fashion and I''ve read in the howto on load sharing
2005 Mar 30
1
Memory consumption
Hope everyone had a festive easter weekend! Is it possible to monitor how much memory iptables or kernel consumes while processing packets as they go through the firewall? The same question goes for having a large number of routes in the routing table (>700). A few reasons for asking, but the two major ones are from the following situations: 1. We provide 420 flats in a complex with
2009 May 05
4
Some POP3 questions
Hi everyone Been spending the whole day on the wiki and in the list archives on using dovecot for POP3 mail. I'd like to present my findings and ask for some feedback. Our current software setup: * Courier-IMAP running POP3/IMAP * Postfix MTA * MySQL backend for user and login info As for the system layout, it looks like this: * NFS server which is the same server that houses single
2005 Apr 21
3
NX (execshield)
I heard something about execshield in some thread on OSnews.com. Does CentOS4 have an execshield compiled kernel? kind regards, Peter
2010 Nov 09
2
AMQP and Unicorn (mq gem)
Hi all, I''m having issues with Unicorn and connecting to RabbitMQ using the tmm1-amqp gem. I''ve tried lots of approaches. The classic initializer with Thread.new { EM.run } for the Rails app and even tried using the Qusion library. (https://github.com/danielsdeleo/qusion) I''ve made a simple mod to Qusion for it to monkey patch unicorn too. The code looks
2005 May 06
7
mailling list newbie question
Hi. Why i receive this? this is not the first time i receive. "Your membership in the mailing list LARTC has been disabled due to excessive bounces The last bounce received from you was dated 29-Apr-2005." Can anybody tell me? Thanks a lot.! Marcelo
2008 Apr 23
2
Status of EventMachine.fork
Hi All, I''m currently looking into doing a bit of evented network programming in ruby and i''m currently looking into packet, eventmachine and rev. The problem is that I need to be able to fork and start a new reactor within the forked child (it also should open a socket and write status information back to the main process). I have not been able to do this with EventMachine.
2005 Feb 11
1
load sharing
Hi, I am taking my machine loaded with Mandrake 10.0 and Suse 9.1 to my friend''s place. She has 2 different ISP providing pppoe connections in her office. She has allowed me try load balancing on my machine on Sunday. I just wanted to know does lartc stand good with pppoe? I have heard conflicting opinions on the same. I do not want to patch my kernel at all for it. Is it possible
2007 Nov 09
1
EventMachine::run - How can I ensure that this
Friends, I am writing an event system which has an interface on a web site which can create events. The creation of events opens up EventMachine::run and connects to the event server, and sends messages. The problem comes if this is run inside of say, event driven mongrel, where it will crash fatally, the same as: EventMachine::run { EventMachine::run { } } The only solution that
2005 May 12
7
wanted A tool to measure bandwidth....
Hello Everybody, I have configured a Linux box that does traffic shaping. Its working wonderfully fine, just as expected...Now i want to measure the bandwidth consumed by each of my hosts....But I dont want SNMP to run on all the hosts[as required by MRTG] I used iptraf on my linux box, but it only measures the bandwidth on interface basis only.... I tried installing traffic-vis, its not working
2011 Sep 26
2
undefined method `options' for #<EventMachine::HttpClien
Hi , I am writing a rake task to consume twitter stream API. The task contains the following code: consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, :site => ''http://twitter.com'') access_token = OAuth::AccessToken.new(consumer,ACCESS_TOKEN,ACCESS_TOKEN_SECRET) oauth_params = {:consumer => consumer, :token => access_token} EventMachine.run do # now,
2007 Nov 07
4
Gracefully stopping EventMachine?
Hello all, I''ve been learning Ruby and playing with a chat server I built using GServer. After into an issue I found with GServer, that no one else seemed to notice (actually, similar to this question, GServer is hard to kill nicely, especially when you want to.), I found references to EventMachine, and rebuilt my server using it. I much prefer EventMachine''s model. The
2008 Jan 14
10
Using EventMachine to listen from non-network
I''ve actually found a way to make EventMachine listen to events from a serial port, but only by using the pure Ruby version, using Guilliame Pierronnet''s Ruby/SerialPort library. It turned out to be simpler than I thought it would be: require ''serialport'' $eventmachine_library = :pure_ruby require ''eventmachine'' module EventMachine class