similar to: HELP!!! How to track memory usage in WEBrick

Displaying 20 results from an estimated 50000 matches similar to: "HELP!!! How to track memory usage in WEBrick"

2006 Aug 09
5
HELP!!! New to Ruby
Hi all, I am new to Ruby programming language. I know that require ''gemname'' is used for using some gems in our application. I have a sample application developed in Ruby on Rails which have the following lines of code: require ''zlib'' require ''stringio'' Can you plz help me to know what these gems are used for. It would be very helpful if
2006 Aug 08
1
Bad file descriptor - connect(2)
Hi All, I am a newbie in Ruby-Rails. Actually we are using postgre SQL and Ruby application to access the DB. I have made the controller and the model classes. My database.yml contains: development: adapter: postgresql database: test username: poc password: poc host: localhost:5000 test: adapter: postgresql database: test username: poc password: poc host: localhost:5000
2008 Sep 17
0
memory leak? shows up in mongrel, not webrick
I''ve got an app that iterates through an array of 1000+ ActiveRecords in order to support quick AJAX filtering. When the app is running on mongrel(s), this process makes the RAM usage go through the roof (i.e., adding 50MB per iteration) and the usage never goes back down. Running on webrick, the app stabilizes at around 70MB and never goes higher no matter how many times I iterate
2006 Feb 19
5
Memory use: WEBrick vs Apache
Hello, >From purely a memory consumption standpoint, is it generally more efficient to run a simple Rails app using WEBrick alongside a separate apache installation or to run Rails under FCGI and use Apache to bridge to the Web? I have looked through lots of docs and old forum posts. Most seem to center on just getting Apache+Rails running, or on speed. I am really not concerned about my
2008 Jun 19
4
Why can't I access Webrick web server from other computers?
Hi everyone, I have a rails project running on Ubuntu. When I ran it on localhost http://localhost:3000, it worked perfectly. But when I tried to access from other computers in the same network by either http://hostname:3000 or http://[ipaddress]:3000, I got a "Internet Explorer cannot display the webpage" error. I double checked my ubuntu with iptables, no rules are defined: iptables
2007 Jun 24
1
Cant test 404 pages in webrick
I tried running webrick in production mode with -e production option. I changed development database name so as to make sure webrick was running in production mode. Now I wanted to test my new 404.html page so I typed an invalid URL, I still get some routing error instead of my 404.html page. Why is this happening with webrick in production. I haven''t even changed any of the environment
2007 May 08
8
Running my app in "production" under webrick
hi, uncommenting the line ENV[''RAILS_ENV''] ||= ''production'', in environment.rb makes no difference to my rails app running under webrick, it still runs in development, and i have restarted the server. Does this line only apply to Apache? I dont have RAILS_ENV set, why is it allways running in development? Thanks -- Posted via http://www.ruby-forum.com/.
2008 Jan 11
8
How do you run WEBrick under Rails 2.x?
It appears that Mongrel is now the default development server for Rails as of 2.x. I''m assuming this because I''m unable to run Mongrel (for reasons I don''t totally understand yet - I am running Windows and I keep getting asked for MSVCR80.dll which is a _64 bit_ dll on my Win XP machine) and if I issue ruby script/server, I see the same errors that I get when I try to
2006 Sep 25
2
Managing requests for static content in WEBrick and Mongrel
All, Is there a way to set things up so that requests for static files in either WEBrick or Mongrel will just cause a regular HTTP request and not cause the dynamic routing-based invocation to occur? I had an issue where a request for a missing .js file was causing another request to be registered, thus blowing away my flash data. I tried to do this in my routing file, but I don''t
2017 Jan 11
1
memory usage and error with samba 4.4.5
Hi, do you know if this memory leaks are solved with latest 4.4.x... for our environment it is difficult to upgrade to major version.... Thanks 2017-01-11 9:34 GMT+01:00 L.P.H. van Belle <belle at bazuin.nl>: > if your up to it, upgrade to 4.5.3 . > > i had these to but they are gone now, i cant recall they bugfix nr. sorry > and as extra if you upgrade, they have fixed some
2007 Dec 15
2
Release tags in SVN?
Hi, Im just wondering what strategy I should use for checking out from your repo. I''ve seen posts here announcing BackrounDRb 1.0 RC 2, 1.0 but I don''t see any tags in the repo for these releases - I only see two old tags (release-0.2.0 & release-0.2.1). I''m assuming the HEAD code might be a bit unstable at times so should I use timestamps for checking
2006 Jun 12
2
ferret / hyperestraier indexing time
since i cant manage to get the accelerated ferret going (amd64 incompatible C code) and hyperestraier returns 0 results for everything after a reboot (despite claiming its index is every bit as big as before) i made a simple rails inverted index that essentially just does a find_or_create_by_word for each word, and then adds its id to a join table linking words and documents.. the only
2006 Oct 03
1
recipe for a myspace type clone?
loginGenrator for accounts and custom views ferret for search engine acts_as_attachment with imagick backroundRb for DB cleanup anything else one would use for a social networking site? and would the above plugins be ''good enough'' for a much smaller instance of myspace? looking to have around 1000 or so members. -- Posted via http://www.ruby-forum.com/.
2008 Mar 19
2
problem with worker status
Hi, I have a page were users can start jobs that may take several hours to run. BackgrounDrb is perfect for me and seems to be working well most of the time but some times I have the following problem: My worker is set up like this: class UploadWorker < BackgrounDRb::MetaWorker set_worker_name :upload_worker set_no_auto_load(true) def create(args = nil ) file = args[:file]
2006 Apr 29
1
Webrick can not support such a request/response?
The following procedures: 1 Browser send a http request to controller A and wait for response 2 controller A send a http request to controller B and wait for response 3 Browser will not get the response unless controller A got response from controller B btw there exist only one pc for developing. Webrick can not support such a kind of request/response? >From the log I traced i found that the
2008 Mar 15
1
my keys to google maps api only work in webrick
Hey there all,. i am developing three sites that run on the same code, just different logos, different companies, etc.. i have a config file that i believe is how it should be and it works on webrick, but i get application errors when i try to move it to the apache FCGI . looks like this development: ABQIAAAA8GzGL0c5HitzfNKYM4nk_BQODDn4SSK1uiT7GyxROHR1XtTV_RTBQrvsTtfZDFeAH2vzkOtXunHV9g
2006 Jun 09
4
WEBrick won''t start
without going into actual source code yet, here is the general scenario: i''ve pulled down a project from svn that a friend has been developing on a linux box... i''m on a windows box. if i run "ruby script/server", i get one line of output: => Booting WEBrick... then it dies and goes back to command prompt with no error messages. ...however, if i pull down the
2005 Dec 02
0
send_file method on windows and webrick
I am developing in a windows xp environment running WEBrick and MySQL, RoR 0.13.1. I am trying to retrieve the file that I uploaded via Rails using the send_file() method. Instead of returning the file, the file''s contents are being printed out to the WEBrick console, the browser hangs for a while, and then an empty file is returned from the download dialog box (Firefox 1.0.7/IE
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
An app I''ve been developing has been chugging along nicely, but around the time I added a new join model a couple of commits ago, my development environment has been acting screwy. 1. When there''s an error, the error messages and tracebacks are not being returned to the browser. The browser keeps the connection alive indefinitely. 2. Stopping the request from the browser
2006 Mar 12
2
InstantRails works with WEBrick, fails with SCGI
I have an app that I''ve been developing for some time with RADRails and WEBrick locally. I wanted to take it to Apache and following the following steps: 1) Downloaded and extracted InstantRails. 2) Started and tested cookbook with SCGI. Works great. 3) Copied my app over to rails_apps directory. 4) Added a virtual host to Apache identical to cookbook (just using port 9999 with