search for: poocs

Displaying 16 results from an estimated 16 matches for "poocs".

Did you mean: pocos
2007 Jul 19
1
one mongrel with hundreds of CLOSE_WAIT tcp connections
Hi, I''m running into a strange issue where one mongrel will sometimes develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I think -- see sample lsof output below). I haven''t had a chance to get the mongrel with this behavior into USR1 debug mode yet. I didn''t catch it in time. This happens a couple times a day on average at seemingly random times.
2006 May 17
8
How to implement full-text search with OR just like google?
The current full-text search will return the AND collection results,for example,if we use Article.search("aa bb"),then the articles that include "aa" and "bb" in the fields will be returned,how to return the articles that include "aa" OR "bb" effectly? A stumb method is to setup two queries respectly and collect them together with remove the
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone, I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind Apache 2 on RHEL 3. My fcgi process (I''m only using one right now) always hangs after some time, which is something I haven''t experienced before (e.g., I''ve run this same app. on a TextDrive account and it works fine there). So ... any ideas on what could be causing this?
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP? -- Posted via http://www.ruby-forum.com/.
2006 Aug 29
1
Large scale Rails deployments
Hi, I''m currently helping out with a large scale rails application deployment. The idea is to have an apache 2.2 with mod_proxy serving out to a farm of mongrels distributed on N number of servers. We''ll also have some Starfish nodes doing processor intensive tasks distributed on N number of servers as well. I was wondering if anyone had any experience of managing and
2006 Apr 27
15
Which is faster, calling helpers or rendering a partial?
Using partials is a nice way to separate chunks of content into separate pages as opposed to building strings in helpers, but I''m wondering which is faster. It scares me when I see stuff like: Rendered users/_public (0.00051) Rendered users/_public (0.00009) Rendered users/_public (0.00008) Rendered users/_public (0.00008) Rendered users/_public (0.00008) ....50 more times Has anyone
2006 Apr 12
3
Apache 1.3 + remote FastCGI balancing
Cheers, As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I wanted to test Apache 1.3 as most of the "big" sites like 43people or BaseCamp run on it. Every example I find only talks about lokal FastCGI processes and not about remote ones and explains how the requests are balanced. Are there any good examples out there and can Apache1.3/mod_fastcgi load balance
2006 Jan 16
8
[newbie] This Month / Next Month / The One After That
What I want to do is simple. I''d like code that prints out the name of this month (January) the next month (February) and the one after that (March) I''ve been able to print this month: <% t = Time.now %> <%= t.strftime(" This Month is: %B") %> But I can''t figure out how to get the next months to print out! -- Posted via
2010 Aug 06
4
Object/Record foreign key IDs set to zero
...en''t being populated with the foreign record''s ID, but instead is simply 0 (discovered this by looking at the tables manually). The example has two models: stories and votes. One story-->many votes relationship. The stories fixture: one: name: My shiny weblog link: http://poocs.net/ two: name: SitePoint Forums link: http://www.sitepoint.com/forums/ The votes fixture: one: story_id: one two: story_id: one three: story_id: two four: story_id: two You''d expect that ''story_id'' for two of the records in the votes table would be set...
2006 Jun 07
2
Single Sign On with multiple domains
Hi, can anyone provide a way to do this with rails: I have 3 sites on different domain names. I want a unified sign on. so that, if your logged on from one site, your automatically logged on another site, allowing seamless navigation between different sites as a logged in user. I understand with cookies, you can do this for subdomains. But what about multiple different domains? Thanks. --
2006 Aug 23
2
Excessive CLOSE_WAIT sockets, pound
...grels on their individual ports. Nothing ( I could see ) shows up in the mongrel log and the Rails logs all show it completing requests in a very timely manner. Therefore I don''t think its a code issue or resource issue. But it''s very odd and disturbing. One other person ( http://poocs.net/articles/2006/03/27/the-adventures-of-scaling-stage-3 ) had a similar problem with lighttpd and FastCGI, so I''m not sure if the problem is Mongrel or maybe just Ruby. That person just set up something to restart the plagued FastCGI processes, and that''s what I''m doing...
2006 Jul 19
13
MySQL Replication as Load Balancing
Hello: We will be setting up MySQL replication for a load balanced environment, but we have to separate reads and writes. How can we modify rails to do so? Has anyone done this already? Thank you in advance! Dan -- Posted via http://www.ruby-forum.com/.
2006 Mar 31
7
Recommended search library?
I''m at a point where I''d like to start adding search capability to my app, so I thought I''d ask: Anyone have any recommendations for a good Rails search library/plugin/etc? There seem to be quite a few different ones out there, but I don''t have much context on any of them. What is the difference between using Ferret, or a SearchGenerator, SimpleSearch,
2006 Aug 29
28
Stability of Rails
I''ve seen a lot of issue regarding the stability of Rails apps. I''m charged with investigation of Rails for my company and I''ve looked at numerous fourms, groups, etc. (Textdrive, here, etc.) and it *seems* like there is a stability problem with Rails (ie: crashes, etc.) Is this as common as it looks, or is this tied to things like Lighttpd (web server) or Typo
2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2005 Feb 09
85
Introduce yourself and your project -- Round 2
On December 14th, 2004 David Heinemeier Hansson sent this to the mailing list: I''m seeing a lot of new names on the list. Could we perhaps do a round of introductions? That would also be a great first post, if you haven''t had a chance to contribute yet. The basics should include your name, your organization, your country and city, and the project you''re