similar to: recv vs. read in HTTPRequest#read_socket

Displaying 20 results from an estimated 4000 matches similar to: "recv vs. read in HTTPRequest#read_socket"

2007 Sep 07
35
multi threaded theoretically useful?
So here''s a random question: if a (Ruby) multi-threaded rails server could exist (bug free), would it be faster than using a mongrel cluster? (I.e. 10 mongrel processes versus 10 Ruby threads). I''m not sure if it would. RAM it might save, though. Any thoughts? -Roger -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Oct 30
2
WebDav Support.
Hi guys, I read that mongrel supports the webdav protocol. I need to "create" the webdav files and allow a third party app access it just for read purposes. What do you recommend? -- Fernando Lujan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071030/1527bd35/attachment.html
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
By default, Mongrel will delete the HTTP request body and short circuit calling any handlers if a request is interrupted or incomplete. Unfortunately, this breaks any attempt to correctly handle a partial PUT. (BTW, PUT is *way* more efficient for uploads compared to POST which requires a MIME parsing step.) So, about a month ago I wrote up some patches to Mongrel 0.3.18 that allowed
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC) I don''t know whether this is a mongrel issue or a monit issue. I''m trying to poke my way around a system set up by someone else. I have no more experience w/ mongrel that local Rails dev at this point, and a conceptual understanding of how monit is working. I have the Deploying Rails beta book, and I''m
2011 Mar 30
8
trouble with my virtual user setup
Hello, I''m a puppet newbie and I''m having trouble getting my virtual user setup to work. Can someone please tell me what''s wrong with this setup? # virtual.pp # class virtual_users::virtual { @group { "users": gid => "100", ensure => present } @user { "lmoore": password =>
2008 Feb 15
1
Socket read returned insufficient data
In the several months I''ve been using Mongrel, I''ve experienced two crashes. Both were immediately following a "Socket read returned insufficient data" error from HTTPRequest. Both times, the mongrel process would hang indefinitely (and not respond to requests) untill manually killed. The first instance references a line where I was using
2006 Mar 20
1
RJS & IE Woes
Hi, I''m trying to do a very simple slide_down effect with RJS templates. Basically a user selects a check box and a text box slides down. This works great in firefox, but causes IE to crash. The text box appears and slides down. Then the browser crashes. the in the partial is <div id=''forklift_div''> <label for=''incident_forklift''>Was
2008 Jan 14
3
Reading HTTP Request parameters
Hello I''ve a client which send this request to a mongrel HTTPHandler : res=Net::HTTP.post_form(URI.parse(''http://localhost:3000/test''),{"a"=>1,"b"=>2}) But in the handler I can''t read the parameters one by one, I can read the entire String only : class Serveur class MyHandler < Mongrel::HttpHandler def process(req, resp)
2013 Jan 08
4
XCP Debian 7 - Routed mode
Hi everyone, I just got a brand new server by Hetzner.de. The thing is, when you have additional IP, to use routed mode (precisely a subnet of IP, story of exposed MAC in their data center etc.) Bridged mode is NOT possible for getting connectivity in VM''s. Traditionally, I''m more confident with "standard" Xen setup, so it''s easy to switch from bridged to
2014 Feb 25
3
assigning a single IP to the guest with "typical" hosting provider
I have a server with a hosting company, Hetzner. The servers at this hosting company have a public IP, let's say, A.B.C.D/255.255.255.x. Additionally, one can order extra IPs like below: 1) additional subnet (let's say X.Y.Z.0 / 28) 2) single IP (let's say, E.F.G.H) With additional subnet, assigning the IP to libvirt guest is simple: - assign X.Y.Z.1 on the host - assign X.Y.Z.2
2010 Jan 05
4
xen domU ID and static routing
Hi, I use a EQ 4 dedicated root server by hetzner with ubuntu jaunty. I installed xen 3.3 with debian kernel and brought up 3 domUs. Now comes networking... Hetzner does not allow bridged networking so I have to use routed mode in xen. No Problem so far, but the Problem actually is: When I bring up a domU the routing table is created by the xen-script vif-routing. The network interface name
2010 Apr 27
3
[PATCH] Add worker interrogation via INFO signals
Hey all, Below is a proposed patch I worked on over the weekend. Just adding a note here to mention that I''m currently not a subscriber to the mailing list, so please CC me on any replies. Let me know what you all think. This change was made on a local topic branch off of the maint branch. If you''d like to view the change on GitHub, you can do so here:
2011 Sep 08
10
computer stalls instead of reboot
Hi, I''m still seeing a very strange issue here. First, let''s clarify that the issue has never occurred with the good old xen 3.x and the good old 2.6.18 kernel. So the issue is, that with xen 4.x (including 4.1.1) pretty much any kernel (including kernel from [1] and vanilla 3.0.0, didn''t test the 2.6.18), the machine freezes during a reboot. The machine won''t
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of the Apache mod_put [1]. It allows for the streaming upload of very large (GB) files; it also supports resumable upload. Before I get too involved, I''d like to ask if my reading of the mongrel source code is correct, i.e. what I want to do isn''t currently possible. Looking at the class
2009 Dec 29
6
Runaway problem
Hello, I installed correctly this game in wine but i can't to play because i have an error message when i launch the game. The error message told me that the game doesn't found this file : DATAVA02.001 But, this file is in the installation folder (.wine/drive_c/Program Files/PENDULO Studios/RUNAWAY - A road adventure/Datav/]DATAVA02.001) This is the error message in the console : Code:
2018 Feb 04
1
Troubleshooting glusterfs
Please help troubleshooting glusterfs with the following setup: Distributed volume without replication. Sharding enabled. [root at master-5f81bad0054a11e8bf7d0671029ed6b8 uploads]# gluster volume info Volume Name: gv0 Type: Distribute Volume ID: 1a7e05f6-4aa8-48d3-b8e3-300637031925 Status: Started Snapshot Count: 0 Number of Bricks: 27 Transport-type: tcp Bricks: Brick1:
2003 Jun 04
3
SPOOLSV and XP PRO
Hi All I recently began having issues where there would be a runaway SMBD process listed in TOP, having a Pri of around 25, and using 70 to 95% CPU indefinitely. IPTRAF reports around 600kbps constantly in and out from the subject workstation, with nothing going on - on the workstation. This traffic is parallel to the runaway SMBD process ... the traffic dies when the SMBD process is
2018 Feb 04
1
Fwd: Troubleshooting glusterfs
Please help troubleshooting glusterfs with the following setup: Distributed volume without replication. Sharding enabled. # cat /etc/centos-release CentOS release 6.9 (Final) # glusterfs --version glusterfs 3.12.3 [root at master-5f81bad0054a11e8bf7d0671029ed6b8 uploads]# gluster volume info Volume Name: gv0 Type: Distribute Volume ID: 1a7e05f6-4aa8-48d3-b8e3-300637031925 Status:
1997 Aug 15
3
Samba and AFS
I think I have come across what seems to be a bug in the interplay between Samba and AFS. I'm running 1.9.16p11 on an IBM RS/6000 (AIX 4.1.5) with the AFS support included (AFS 3.4a). The client machine is running Windows 95. I've created an AFS area which is writeable (rlidwk) to an AFS protection group. The group contains two AFS users, say user1 and user2. If user1 creates a file in
2007 May 15
9
NS_ERROR_NOT_AVAILABLE
Exception:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: prototype.js :: anonymous :: line 920" data: no] Hi, i read about this problem and i know, that calling nsIXMLHttpRequest.status causes it. prototype has a try-catch-block