similar to: 100% CPU use

Displaying 20 results from an estimated 400 matches similar to: "100% CPU use"

2006 Jul 18
2
Testing which RuntimeError is raised
I am just starting to use unit testing. Way cool. But I am not finding very clear docs on assert_raise. I have managed to write a test that tells me that the destroy I am trying to test fails with a RuntimeError (as it should). However, I would really like to test that it rails for the specific reason I have in my model. How can I get more specific? Am I going to have to create my own exception
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if you are not on edge rails. But I am having trouble getting db_system storage to work. As far as I can tell in from the database, things are working, but I don''t see how my model table hooks up with the db_files table so I am having trouble altering the image_tag from the tutorial
2011 Nov 13
2
Rspec not finding my examples
I am following the examples in chapter 2 of "Rails 3 in Action" and for some reason I have to specify the full path + file name to get my specs to run. The book and rspec docs led me to believe that I should be able to just type ''rspec'' and rspec would find any spec files in a directory called spec. I even tried adding a .rspec file with "--default_path spec"
2007 Feb 05
3
Kernel panic kickstarting to CentOS 4
I have an older server I am trying to update to CentOS 4.3 but I can't get to the installer screen because the machine kernel panics when booted from the install CD. The error message I get is: Kernel panic - not syncing: include/linux/smp_lock.h:25 spin_unlock(kernel/sched.c:c035) not locked The boot messages before this point are mainly to do with acpi including: acpi_ps_parse_anl
2006 Mar 20
7
strange charecters after redcloth usage
I''m using redcloth on my blog to transform my input into html. Alot of times if I type "I''ve" I''ll wind up with "I,ve" except that it''s not a comma but a very similar charecter. This is really killing my rss feeds. What''s causing this? How do I fix it? -- Posted via http://www.ruby-forum.com/.
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2007 Nov 01
9
Mongrel + apache 2.2 + proxy error
Hi, I have a setup with apache 2.2.6 proxying requests to a cluster of 5 mongrels. Occassionally, I receive the following error in the logs: [Tue Oct 30 12:00:28 2007] [error] (70007)The timeout specified has expired: proxy: pass request body failed to 127.0.0.1:8013 (127.0.0.1) from 213.205.247.171 () [Tue Oct 30 12:00:28 2007] [error] [client 213.205.247.171] Handler for proxy-server returned
2008 May 19
2
god - start command exited with non-zero code = 1
Hi, I''m trying to use god to monitor my mongrels. When they are running everything looks OK but when a mongrel process dies and god tries to restart it I get the following error: command exited with non-zero code = 1 The weird thing is that if I try use the exact same command as god is using but on the command line then the mongrel starts back up. I''ve seen this error
2005 Nov 03
12
Installation of plugins/gems/mix-ins confusion
I''m running 0.14.2 and am a little confused as to the best way to install mix-ins. I''m specifically using "acts_as_paranoid" as an example (as it is one of the simpler implementations). It is a gem and can be "installed" as a gem, but then what''s the best way to integrate it into my app (require_gem?). I''ve seen recommendations to require it
2006 Jul 16
1
Help: migrating data from fixtures
I''m attempting to load some test data into a table , following along with AWDWR example. My migration is failing on the user connection. C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `rake_original_const_missing'': uninitialized constant User (NameError) So in this line from the migration file: f =
2006 Mar 08
8
New ajaxy CMS on Rails: adminpages
hey, i''ve created a basic content management system using rails and scriptaculous. I posted a first version last week, but I heavily extended it since then. Features: Pages are arranged in a sortable tree (sortable by drag and drop) Pages have "nice" URLS (no /index?articleid=97361496 or something) Cacheing on page basis every page has a layout with a number of columns page
2005 Dec 29
3
Storage for images: Database BLOBs or files?
I can''t decide where store images for my Rails application. -- Posted via http://www.ruby-forum.com/.
2007 Jul 30
3
validates_uniqueness_of doesn't work if value tested is numeric and column is string
Hello all, I am working through the depot example in the rails book. If I add a validates_uniqueness_of to a string column in the model, and then try to create a record with a number in this string column I get an SQL error. Looks like the SQL generated to test for uniqueness does not quote the value if it''s numeric even though it''s comparing against a varchar column. It does
2006 Jul 21
20
New version of AWDwR
Folks: I''ve uplaoded the B1.05 version of AWDwR. It fixes a number of reported errata (and a few that weren''t reported :), and adds two significant changes: 1. It now uses the new Active Record decimal -> BigDecimal conversion. I''ve personally been waiting for this for a long time, and I''m really happy it''s now part of core. However,
2017 Sep 28
0
after hard reboot, split-brain happened, but nothing showed in gluster voluem heal info command !
On Thu, Sep 28, 2017 at 11:41 AM, Zhou, Cynthia (NSB - CN/Hangzhou) < cynthia.zhou at nokia-sbell.com> wrote: > Hi, > > Thanks for reply! > > I?ve checked [1]. But the problem is that there is nothing shown in > command ?gluster volume heal <volume-name> info?. So these split-entry > files could only be detected when app try to visit them. > > I can find
2017 Sep 28
2
after hard reboot, split-brain happened, but nothing showed in gluster voluem heal info command !
Hi, Thanks for reply! I?ve checked [1]. But the problem is that there is nothing shown in command ?gluster volume heal <volume-name> info?. So these split-entry files could only be detected when app try to visit them. I can find gfid mismatch for those in-split-brain entries from mount log, however, nothing show in shd log, the shd log does not know those split-brain entries. Because there
2017 Sep 28
1
after hard reboot, split-brain happened, but nothing showed in gluster voluem heal info command !
The version I am using is glusterfs 3.6.9 Best regards, Cynthia ???? MBB SM HETRAN SW3 MATRIX Storage Mobile: +86 (0)18657188311 From: Karthik Subrahmanya [mailto:ksubrahm at redhat.com] Sent: Thursday, September 28, 2017 2:37 PM To: Zhou, Cynthia (NSB - CN/Hangzhou) <cynthia.zhou at nokia-sbell.com> Cc: Gluster-users at gluster.org; gluster-devel at gluster.org Subject: Re: [Gluster-users]
2002 Jul 09
9
Samba authenication to Window Active Directory
Has any version of Samba been tested for compatibility with the new Windows Active Directory? We will be upgrading our NT domain to 2000 and creating Active Directory. Currently our solaris samba 2.0.7 server is configured to authenicate users from our NT domain controllers. Will we encounter problems with the 2000 upgrade? Thanks in advance, Cynthia --------------------------------- Do You
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi, I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4 environment, as long as I start my mongrel_cluster via the command line: [chris at localhost ~]$ mongrel_cluster_ctl start I take a look at the two mongrel_rails processes that were just created: [chris at localhost log]$ ps -ef | grep mongrel chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field. "Show" and "Destroy" work, but "Edit" errors: /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in `select_hour'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in `select_hour'' It only happens when